public class BarDataset extends Dataset
Dataset| Constructor and Description |
|---|
BarDataset() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<IsColor> |
getBackgroundColor()
Returns the fill colors of the elements
|
java.util.List<java.lang.String> |
getBackgroundColorAsString()
Returns the fill colors of the elements
|
java.util.List<IsColor> |
getBorderColor()
Returns the color of the bar border
|
java.util.List<java.lang.String> |
getBorderColorAsString()
Returns the color of the bar border
|
Position |
getBorderSkipped()
Returns the edge to skip drawing the border for.
|
java.util.List<java.lang.Integer> |
getBorderWidth()
Returns the stroke width of the bar in pixels.
|
java.util.List<DataPoint> |
getDataPoints()
Returns the data property of a dataset for a chart is specified as an array of data points
|
java.util.List<IsColor> |
getHoverBackgroundColor()
Returns the fill color of the elements when hovered
|
java.util.List<java.lang.String> |
getHoverBackgroundColorAsString()
Returns the fill color of the elements when hovered
|
java.util.List<IsColor> |
getHoverBorderColor()
Returns the stroke color of the elements when hovered
|
java.util.List<java.lang.String> |
getHoverBorderColorAsString()
Returns the stroke color of the elements when hovered
|
java.util.List<java.lang.Integer> |
getHoverBorderWidth()
Returns the stroke width of the elements when hovered.
|
java.lang.String |
getXAxisID()
Returns the ID of the x axis to plot this dataset on.
|
java.lang.String |
getYAxisID()
Returns the ID of the y axis to plot this dataset on.
|
void |
setBackgroundColor(IsColor... backgroundColor)
Sets the fill colors of the elements.
|
void |
setBackgroundColor(java.lang.String... backgroundColor)
Sets the fill colors of the elements.
|
void |
setBorderColor(IsColor... borderColor)
Sets the color of the bar border
|
void |
setBorderColor(java.lang.String... borderColor)
Sets the color of the bar border
|
void |
setBorderSkipped(Position position)
Sets the edge to skip drawing the border for.
|
void |
setBorderWidth(int... borderWidth)
Sets the stroke width of the bar in pixels.
|
void |
setDataPoints(DataPoint... datapoints)
Sets the data property of a dataset for a chart is specified as an array of data points.
|
void |
setHoverBackgroundColor(IsColor... colors)
Sets the fill color of the elements when hovered
|
void |
setHoverBackgroundColor(java.lang.String... colors)
Sets the fill color of the elements when hovered
|
void |
setHoverBorderColor(IsColor... colors)
Sets the stroke color of the elements when hovered
|
void |
setHoverBorderColor(java.lang.String... colors)
Sets the stroke color of the elements when hovered
|
void |
setHoverBorderWidth(int... widths)
Sets the stroke width of the elements when hovered.
|
void |
setXAxisID(java.lang.String xAxisID)
Sets the ID of the x axis to plot this dataset on.
|
void |
setYAxisID(java.lang.String yAxisID)
Sets the ID of the y axis to plot this dataset on.
|
getData, getLabel, getType, isHidden, setData, setData, setHidden, setLabel, setTypecheckAndGetDoubleValues, checkAndGetEnumValues, checkAndGetIntegerValues, checkAndGetStringValues, checkAndSetDoubleValues, checkAndSetEnumValues, checkAndSetIntegerValues, checkAndSetStringValues, getDoubleArray, getIntegerArray, getJavaScriptObject, getObjectArray, getStringArray, getValue, getValue, getValue, getValue, getValue, getValue, getValue, has, has, hasToBeRegistered, isEmpty, keys, remove, remove, removeIfExists, setDoubleArray, setEnumValueArray, setIntegerArray, setObjectArray, setStringArray, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, typepublic void setXAxisID(java.lang.String xAxisID)
xAxisID - the ID of the x axis to plot this dataset on. If not specified, this defaults to the ID of the first found x axis.public java.lang.String getXAxisID()
public void setYAxisID(java.lang.String yAxisID)
yAxisID - the ID of the y axis to plot this dataset on. If not specified, this defaults to the ID of the first found y axis.public java.lang.String getYAxisID()
public void setBorderSkipped(Position position)
position - the edge to skip drawing the border for.public Position getBorderSkipped()
public void setDataPoints(DataPoint... datapoints)
datapoints - an array of data pointsDataPointpublic java.util.List<DataPoint> getDataPoints()
DataPointpublic void setBackgroundColor(IsColor... backgroundColor)
backgroundColor - the fill colors of the elements.public void setBackgroundColor(java.lang.String... backgroundColor)
backgroundColor - the fill colors of the elements.public java.util.List<java.lang.String> getBackgroundColorAsString()
public java.util.List<IsColor> getBackgroundColor()
public void setBorderColor(IsColor... borderColor)
borderColor - the color of the bar borderpublic void setBorderColor(java.lang.String... borderColor)
borderColor - the color of the bar borderpublic java.util.List<java.lang.String> getBorderColorAsString()
public java.util.List<IsColor> getBorderColor()
public void setBorderWidth(int... borderWidth)
borderWidth - the stroke width of the bar in pixels.public java.util.List<java.lang.Integer> getBorderWidth()
public void setHoverBackgroundColor(IsColor... colors)
colors - the fill color of the elements when hoveredpublic void setHoverBackgroundColor(java.lang.String... colors)
colors - the fill color of the elements when hoveredpublic java.util.List<java.lang.String> getHoverBackgroundColorAsString()
public java.util.List<IsColor> getHoverBackgroundColor()
public void setHoverBorderColor(IsColor... colors)
colors - the stroke color of the elements when hoveredpublic void setHoverBorderColor(java.lang.String... colors)
colors - the stroke color of the elements when hoveredpublic java.util.List<java.lang.String> getHoverBorderColorAsString()
public java.util.List<IsColor> getHoverBorderColor()
public void setHoverBorderWidth(int... widths)
widths - the stroke width of the elements when hovered.public java.util.List<java.lang.Integer> getHoverBorderWidth()