Package org.pepstock.charba.client.data
Contains all elements to configure the datasets of a chart instance (know as chart data at instance level).
- Author:
- Andrea "Stock" Stocchero
-
Interface Summary Interface Description HasDataPoints Interface to define if a dataset can contains data points.HasDataset Interface to get a dataset instance.HasLabels Manages the LABELS properties for datasets and options which this property is required.HasPointFillStrokeStyles This is an interface to set a dataset has container of fill and stroke style based on point background and border color.
Out of the box ONLYLiningDataset
has implemented this interfaceHasTimeSeriesItems Interface to define if a dataset can contains time series items. -
Class Summary Class Description AbstractDataPoint Maps the common methods for a data point.AbstractXYDataPoint Maps the common methods for a data point with X and Y properties.ArcBorderRadius Defines the border radius for ARC data set element, applies the corner radius to all corners of the arc (outerStart, outerEnd, innerStart, and innerEnd).ArcBorderRadius.ArcBorderRadiusFactory Inner class to create arc border radius object by a native object.AreaDataset The area chart allows a number of properties to be specified for each dataset.BarBorderRadius Defines the border radius for BAR data set element, applies the corner radius to all corners of the rectangle (topLeft, topRight, bottomLeft, bottomRight).BarBorderRadius.BarBorderRadiusFactory Inner class to create bar border radius object by a native object.BarBorderWidth Defines the border width for BAR data set (left, top, right, bottom).BarBorderWidth.BarBorderWidthFactory Inner class to create bar border width object by a native object.BarDataset The bar chart allows a number of properties to be specified for each data set.BubbleDataset The chart allows a number of properties to be specified for each data set.Clip Defines how to clip relative to the chart area.
Positive value allows overflow, negative value clips that many pixels inside the chart area.
If setsfalse
, that means that CHART.JS will use chart area dimension.
Withfalse
value, the properties will be: Left is 0 Top is 0 Right is area right Bottom is area bottomData CHART.JS entity object to configure the data options of a chart.
It contains labels and data sets.DataEnvelop<T> This object is a container of hidden object to pass to other packages.
It can not be instantiated in order that public methods can be invoked in safe mode.DataPoint Used for sparse datasets, such as those in scatter charts.Dataset The chart allows a number of properties to be specified for each data set.DatasetCanvasObjectFactory Utility class which creates a canvas gradient and pattern java script objects using a Charba gradient or pattern.
A Charba gradient or pattern describes how a canvas gradient or pattern must be created.DoughnutDataset The doughnut chart allows a number of properties to be specified for each dataset.FloatingData Specifies the dataset for a bar chart as a pair of two numbers.
This will force rendering of bars with gaps between them (floating-bars).
First and second numbers will correspond the start and the end points of a bar respectively.FloatingDataFactory Factory to create a floating data from a native array, used for array container lists.
The array must contain and only 2 values.HorizontalBarDataset The horizontal bar chart allows a number of properties to be specified for each data set.
These are used to set display properties for a specific data set.
Some properties can be specified as an array.
If these are set to an array value, the first value applies to the first bar, the second value to the second bar, and so on.HoverDataset The chart allows a number of properties to be specified for each data set.
These are used to set display properties for a specific data set.HoverFlexDataset This dataset is managing some common properties related to background and border colors where every property can be set as a single value or an array.Labels Contains the labels of the chart.
Is able to manage also multi-line labels.LabelsHandler Utility to manage the LABELS on chart datasets and options.LineDataset The line chart allows a number of properties to be specified for each data set.
These are used to set display properties for a specific data set.
All point* properties can be specified as an array.
If these are set to an array value, the first value applies to the first point, the second value to the second point, and so on.LiningDataset The chart allows a number of properties to be specified for each data set.
These are used to set display properties for a specific data set.
This class collects a set of common field for Line and Radar charts.PieDataset The pie chart allows a number of properties to be specified for each dataset.PolarAreaDataset The polar area chart allows a number of properties to be specified for each dataset.RadarDataset The radar chart allows a number of properties to be specified for each dataset.ScatterDataset The scatter chart allows a number of properties to be specified for each dataset.StackedAreaDataset The stacked area chart allows a number of properties to be specified for each dataset.StackedBarDataset The stacked bar area chart allows a number of properties to be specified for each dataset.StackedHorizontalBarDataset The stacked horizontal bar area chart allows a number of properties to be specified for each dataset.StackedLineDataset The stacked line chart allows a number of properties to be specified for each dataset.
These are used to set display properties for a specific dataset.
Extends the line dataset.StackedVerticalLineDataset The stacked vertical line chart allows a number of properties to be specified for each dataset.
These are used to set display properties for a specific dataset.
Extends the line dataset.TimeSeriesBarDataset The time series bar chart allows a number of properties to be specified for each dataset.TimeSeriesHorizontalBarDataset The time series horizontal bar chart allows a number of properties to be specified for each dataset.TimeSeriesItem Default implementation for time series item interface in order to manage time series item (time and value).TimeSeriesLineDataset The time series line chart allows a number of properties to be specified for each dataset.VerticalLineDataset The vertical line chart allows a number of properties to be specified for each data set.
These are used to set display properties for a specific data set.
All point* properties can be specified as an array.
If these are set to an array value, the first value applies to the first point, the second value to the second point, and so on. -
Enum Summary Enum Description AbstractDataPoint.CharbaProperty Name of properties of native object.
No private because it is used by time series itemAbstractXYDataPoint.XYProperty Name of properties of native object.
No private because it is used by time series itemDataset.CanvasObjectProperty Name of common properties of native object related to a dataset.Dataset.CommonProperty Name of common properties of native object related to a dataset.