Package org.pepstock.charba.client
Class TimeSeriesLineChart
- java.lang.Object
- 
- org.pepstock.charba.client.events.HandlerManager
- 
- org.pepstock.charba.client.AbstractChart
- 
- org.pepstock.charba.client.TimeSeriesLineChart
 
 
 
- 
- All Implemented Interfaces:
- HasAxes,- HasCartesianAxes,- IsChart,- IsDatasetCreator<TimeSeriesLineDataset>
 
 public class TimeSeriesLineChart extends AbstractChart implements IsDatasetCreator<TimeSeriesLineDataset>, HasCartesianAxes LINE chart implementation for time series.
 A line chart is a way of plotting data points on a line.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Field Summary- 
Fields inherited from class org.pepstock.charba.client.AbstractChartdatasetReferenceFactory
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description TimeSeriesLineChart()Builds the object.protectedTimeSeriesLineChart(Type extendedType)Builds the chart.
 This is must be extended for controller which are based on this type of chart.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancheckDataset(Dataset dataset)Returnstrueif the dataset can be managed by a this chart type.TimeSeriesLineOptionsgetOptions()Returns the options of chart.TimeSeriesLineDatasetnewDataset(boolean hidden)Creates a new dataset related to chart type.- 
Methods inherited from class org.pepstock.charba.client.AbstractChartaddHandler, applyConfiguration, checkAxes, checkDatasets, clear, createAndSetTimer, destroy, draw, getActiveElements, getBaseType, getCanvas, getChartElement, getData, getDatasetAtEvent, getDatasetItem, getDatasetReferenceFactory, getDefaultChartOptions, getDrawCount, getElementAtEvent, getElementAtEvent, getElementsAtEvent, getElementsAtEvent, getId, getInitialCursor, getMaximumAxesCount, getMaximumDatasetsCount, getNode, getPlugins, getSource, getTimer, getTooltipActiveElements, getType, getVisibleDatasetCount, getWholeOptions, hide, hide, isChartAttached, isDatasetVisible, isDataVisible, isDestroyOnDetach, isDrawOnAttach, isInitialized, onAttach, onDetach, reconfigure, reconfigure, reconfigure, removeCanvasPreventDefault, render, reset, resetActiveElements, resetTooltipActiveElements, resize, resize, setActiveElements, setActiveElements, setDatasetVisibility, setDestroyOnDetach, setDrawOnAttach, setTooltipActiveElements, setTooltipActiveElements, setTooltipActiveElements, setTooltipActiveElements, show, show, stop, toBase64Image, toggleDataVisibility, update, update, update
 - 
Methods inherited from class org.pepstock.charba.client.events.HandlerManagerfireEvent, getHandlerCount, isEventHandled
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.pepstock.charba.client.HasCartesianAxescheckAxis
 - 
Methods inherited from interface org.pepstock.charba.client.IsChartfireEvent, getHandlerCount, isEventHandled, toBase64Image, toBase64Image, toBase64Image
 - 
Methods inherited from interface org.pepstock.charba.client.IsDatasetCreatornewDataset
 
- 
 
- 
- 
- 
Constructor Detail- 
TimeSeriesLineChartpublic TimeSeriesLineChart() Builds the object.
 - 
TimeSeriesLineChartprotected TimeSeriesLineChart(Type extendedType) Builds the chart.
 This is must be extended for controller which are based on this type of chart.- Parameters:
- extendedType- type of chart
 
 
- 
 - 
Method Detail- 
getOptionspublic TimeSeriesLineOptions getOptions() Description copied from interface:IsChartReturns the options of chart.- Specified by:
- getOptionsin interface- IsChart
- Returns:
- the options of chart.
 
 - 
newDatasetpublic TimeSeriesLineDataset newDataset(boolean hidden) Description copied from interface:IsDatasetCreatorCreates a new dataset related to chart type.- Specified by:
- newDatasetin interface- IsDatasetCreator<TimeSeriesLineDataset>
- Parameters:
- hidden- if- true, it will be initially hidden.
- Returns:
- a new dataset related to chart type.
 
 - 
checkDatasetprotected boolean checkDataset(Dataset dataset) Description copied from class:AbstractChartReturnstrueif the dataset can be managed by a this chart type.- Specified by:
- checkDatasetin class- AbstractChart
- Parameters:
- dataset- dataset to check
- Returns:
- trueif the dataset can be managed by a this chart type
 
 
- 
 
-