1 /*
2 * Copyright 2014 James Pether Sörling
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *
16 * $Id$
17 * $HeadURL$
18 */
19 package com.hack23.cia.web.impl.ui.application.views.common.chartfactory.api;
20
21 import org.dussan.vaadin.dcharts.options.Options;
22 import org.dussan.vaadin.dcharts.options.Series;
23
24 /**
25 * The Interface ChartOptions.
26 */
27 public interface ChartOptions {
28
29 /**
30 * Creates the options country line chart.
31 *
32 * @param series
33 * the series
34 * @return the options
35 */
36 Options createOptionsCountryLineChart(Series series);
37
38 /**
39 * Creates the options donout chart.
40 *
41 * @return the options
42 */
43 Options createOptionsDonoutChart();
44
45 /**
46 * Creates the options donout chart with series.
47 *
48 * @param series
49 * the series
50 * @return the options
51 */
52 Options createOptionsDonoutChartWithSeries(Series series);
53
54 /**
55 * Creates the options party line chart.
56 *
57 * @param series
58 * the series
59 * @return the options
60 */
61 Options createOptionsPartyLineChart(Series series);
62
63 /**
64 * Creates the options person line chart.
65 *
66 * @param series
67 * the series
68 * @return the options
69 */
70 Options createOptionsPersonLineChart(Series series);
71
72 /**
73 * Creates the options pie chart.
74 *
75 * @return the options
76 */
77 Options createOptionsPieChart();
78
79 /**
80 * Creates the options XY date float legend outside.
81 *
82 * @param series
83 * the series
84 * @return the options
85 */
86 Options createOptionsXYDateFloatLegendOutside(Series series);
87
88 /**
89 * Creates the options XY date float log Y axis legend outside.
90 *
91 * @param series
92 * the series
93 * @return the options
94 */
95 Options createOptionsXYDateFloatLogYAxisLegendOutside(Series series);
96
97 }