Package org.pepstock.charba.client
Class VerticalLineChart
- java.lang.Object
-
- org.pepstock.charba.client.events.HandlerManager
-
- org.pepstock.charba.client.AbstractChart
-
- org.pepstock.charba.client.LineChart
-
- org.pepstock.charba.client.VerticalLineChart
-
- All Implemented Interfaces:
HasAxes,HasCartesianAxes,IsChart,IsDatasetCreator<LineDataset>
public class VerticalLineChart extends LineChart
Vertical LINE chart implementation.
A line chart is a way of plotting data points on a line.
Often, it is used to show trend data, or the comparison of two data sets.- Author:
- Andrea "Stock" Stocchero
-
-
Field Summary
-
Fields inherited from class org.pepstock.charba.client.AbstractChart
datasetReferenceFactory
-
-
Constructor Summary
Constructors Modifier Constructor Description VerticalLineChart()Builds the object.protectedVerticalLineChart(Type extendedType)Builds the chart.
This is must be extended for controller which are based on this type of chart.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VerticalLineOptionsgetOptions()Returns the options of chart.VerticalLineDatasetnewDataset()Creates a new dataset related to chart type.VerticalLineDatasetnewDataset(boolean hidden)Creates a new dataset related to chart type.-
Methods inherited from class org.pepstock.charba.client.LineChart
checkDataset
-
Methods inherited from class org.pepstock.charba.client.AbstractChart
addHandler, 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, getSortedVisibleDatasetItems, getSource, getTimer, getTooltipActiveElements, getType, getVisibleDatasetCount, getWholeOptions, hide, hide, isChartAttached, isDatasetVisible, isDataVisible, isDestroyOnDetach, isDrawOnAttach, isInitialized, isPluginEnabled, 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.HandlerManager
fireEvent, getHandlerCount, isEventHandled
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pepstock.charba.client.HasCartesianAxes
checkAxis
-
Methods inherited from interface org.pepstock.charba.client.IsChart
fireEvent, getHandlerCount, isEventHandled, toBase64Image, toBase64Image, toBase64Image
-
-
-
-
Constructor Detail
-
VerticalLineChart
public VerticalLineChart()
Builds the object.
-
VerticalLineChart
protected VerticalLineChart(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
-
getOptions
public VerticalLineOptions getOptions()
Description copied from interface:IsChartReturns the options of chart.- Specified by:
getOptionsin interfaceIsChart- Overrides:
getOptionsin classLineChart- Returns:
- the options of chart.
-
newDataset
public VerticalLineDataset newDataset()
Description copied from interface:IsDatasetCreatorCreates a new dataset related to chart type.- Returns:
- a new dataset related to chart type.
-
newDataset
public VerticalLineDataset newDataset(boolean hidden)
Description copied from interface:IsDatasetCreatorCreates a new dataset related to chart type.- Specified by:
newDatasetin interfaceIsDatasetCreator<LineDataset>- Overrides:
newDatasetin classLineChart- Parameters:
hidden- iftrue, it will be initially hidden.- Returns:
- a new dataset related to chart type.
-
-