Class BaseLineDataset<T extends PointDataset<T,O>,O>
java.lang.Object
software.xdev.chartjs.model.dataset.Dataset<T,O>
software.xdev.chartjs.model.dataset.PointDataset<T,O>
software.xdev.chartjs.model.dataset.BaseLineDataset<T,O>
- Direct Known Subclasses:
LineDataset
,ScatterDataset
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPointHitRadius
(Integer pointHitRadius) setPointHitRadius
(List<Integer> pointHitRadius) The pixel size of the non-displayed point that reacts to mouse eventssetShowLine
(Boolean showLine) If false, the line is not drawn for this datasetsetSpanGaps
(Boolean spanGaps) If true, lines will be drawn between points with no or null datasetStepped
(Boolean stepped) If true, the line is shown as a steeped line and 'lineTension' will be ignoredsetXAxisID
(String xAxisID) The ID of the x axis to plot this dataset on.setYAxisID
(String yAxisID) The ID of the y axis to plot this dataset on.Methods inherited from class software.xdev.chartjs.model.dataset.PointDataset
addBorderDash, addPointBackgroundColor, addPointBorderColor, addPointBorderWidth, addPointHoverBackgroundColor, addPointHoverBorderColor, addPointHoverBorderWidth, addPointHoverRadius, addPointRadius, addPointStyle, getBackgroundColor, getBorderCapStyle, getBorderColor, getBorderDash, getBorderDashOffset, getBorderJoinStyle, getBorderWidth, getFill, getLabel, getLineTension, getPointBackgroundColor, getPointBorderColor, getPointBorderWidth, getPointHoverBackgroundColor, getPointHoverBorderColor, getPointHoverBorderWidth, getPointHoverRadius, getPointRadius, getPointStyle, setBackgroundColor, setBorderCapStyle, setBorderColor, setBorderDash, setBorderDashOffset, setBorderJoinStyle, setBorderWidth, setFill, setLabel, setLineTension, setPointBackgroundColor, setPointBorderColor, setPointBorderWidth, setPointHoverBackgroundColor, setPointHoverBorderColor, setPointHoverBorderWidth, setPointHoverRadius, setPointRadius, setPointStyle
Methods inherited from class software.xdev.chartjs.model.dataset.Dataset
addData, addDataUnchecked, clearData, defaultType, getData, getData, getType, self, setData, setData, setDataUnchecked, setDataUnchecked, setType, withDefaultType
-
Constructor Details
-
BaseLineDataset
public BaseLineDataset()
-
-
Method Details
-
getXAxisID
-
setXAxisID
The ID of the x axis to plot this dataset on. The value for this property should equal the ID set atchart.options.scales.xAxes.id
-
getYAxisID
- See Also:
-
setYAxisID
The ID of the y axis to plot this dataset on. The value for this property should equal the ID set atchart.options.scales.yAxes.id
-
getPointHitRadius
- Overrides:
getPointHitRadius
in classPointDataset<T extends PointDataset<T,
O>, O> - See Also:
-
addPointHitRadius
- Overrides:
addPointHitRadius
in classPointDataset<T extends PointDataset<T,
O>, O> - See Also:
-
setPointHitRadius
The pixel size of the non-displayed point that reacts to mouse events- Overrides:
setPointHitRadius
in classPointDataset<T extends PointDataset<T,
O>, O>
-
getShowLine
- See Also:
-
setShowLine
If false, the line is not drawn for this dataset -
getSpanGaps
- See Also:
-
setSpanGaps
If true, lines will be drawn between points with no or null data -
getStepped
- See Also:
-
setStepped
If true, the line is shown as a steeped line and 'lineTension' will be ignored
-