Package org.pepstock.charba.client
Interface IsDatasetCreator<D extends Dataset>
-
- Type Parameters:
D
- type of dataset to create
- All Known Implementing Classes:
AreaChart
,AreaChartWidget
,BarChart
,BarChartWidget
,BubbleChart
,BubbleChartWidget
,BubbleMapChart
,BubbleMapChartWidget
,ChoroplethChart
,ChoroplethChartWidget
,DoughnutChart
,DoughnutChartWidget
,GaugeChart
,GaugeChartWidget
,HorizontalBarChart
,HorizontalBarChartWidget
,LineChart
,LineChartWidget
,MatrixChart
,MatrixChartWidget
,MeterChart
,MeterChartWidget
,PieChart
,PieChartWidget
,PolarAreaChart
,PolarAreaChartWidget
,RadarChart
,RadarChartWidget
,SankeyChart
,SankeyChartWidget
,ScatterChart
,ScatterChartWidget
,StackedAreaChart
,StackedAreaChartWidget
,StackedBarChart
,StackedBarChartWidget
,StackedLineChart
,StackedLineChartWidget
,TimeSeriesBarChart
,TimeSeriesBarChartWidget
,TimeSeriesLineChart
,TimeSeriesLineChartWidget
,TreeMapChart
,TreeMapChartWidget
,VerticalLineChart
,VerticalLineChartWidget
public interface IsDatasetCreator<D extends Dataset>
Defines the methods for creating datasets pof a specific type.
This is used by chart instances to create datasets relatedo to the chart type.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default D
newDataset()
Creates a new dataset related to chart type.D
newDataset(boolean hidden)
Creates a new dataset related to chart type.
-
-
-
Method Detail
-
newDataset
default D newDataset()
Creates a new dataset related to chart type.- Returns:
- a new dataset related to chart type.
-
newDataset
D newDataset(boolean hidden)
Creates a new dataset related to chart type.- Parameters:
hidden
- iftrue
, it will be initially hidden.- Returns:
- a new dataset related to chart type.
-
-