public class BarDataset extends BackgroundBorderHoverDataset<BarDataset,BigDecimal>
backgroundColor, borderColor, borderWidth, hoverBackgroundColor, hoverBorderColor, hoverBorderWidth
Constructor and Description |
---|
BarDataset() |
Modifier and Type | Method and Description |
---|---|
BarDataset |
addBorderSkipped(BorderSkipped borderSkipped) |
BarDataset |
addData(double data)
Add the data point to this
Dataset |
BarDataset |
addData(int data)
Add the data point to this
Dataset |
List<BorderSkipped> |
getBorderSkipped() |
String |
getLabel() |
String |
getXAxisID() |
String |
getYAxisID() |
BarDataset |
setBorderSkipped(List<BorderSkipped> borderSkipped)
Which edge to skip drawing the border for.
|
BarDataset |
setData(double... data)
Sets the backing data list to the argument, replacing any data already
added or set
|
BarDataset |
setData(int... data)
Sets the backing data list to the argument, replacing any data already
added or set
|
BarDataset |
setLabel(String label)
The label for the dataset which appears in the legend and tooltips
|
BarDataset |
setXAxisID(String xAxisID)
The ID of the x axis to plot this dataset on
|
BarDataset |
setYAxisID(String yAxisID)
The ID of the y axis to plot this dataset on
|
addBackgroundColor, addBackgroundColors, addBorderColor, addBorderColors, addBorderWidth, addHoverBackgroundColor, addHoverBorderColor, addHoverBorderWidth, getBackgroundColor, getBorderColor, getBorderWidth, getHoverBackgroundColor, getHoverBorderColor, getHoverBorderWidth, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setBorderWidth, setBorderWidth, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBorderColor, setHoverBorderColor, setHoverBorderWidth, setHoverBorderWidth
public String getLabel()
setLabel(String)
public BarDataset setLabel(String label)
public String getXAxisID()
setXAxisID(String)
public BarDataset setXAxisID(String xAxisID)
public String getYAxisID()
setYAxisID(String)
public BarDataset setYAxisID(String yAxisID)
public List<BorderSkipped> getBorderSkipped()
setBorderSkipped(List)
public BarDataset addBorderSkipped(BorderSkipped borderSkipped)
setBorderSkipped(List)
public BarDataset setBorderSkipped(List<BorderSkipped> borderSkipped)
public BarDataset setData(int... data)
data
- The data to plot in a linepublic BarDataset setData(double... data)
data
- The data to plot in a linepublic BarDataset addData(int data)
Dataset
Dataset.setData(Collection)
public BarDataset addData(double data)
Dataset
Dataset.setData(Collection)
Copyright © 2017. All rights reserved.