public class BarChartModel extends CartesianChartModel
axes| Constructor and Description |
|---|
BarChartModel() |
BarChartModel(CartesianChartModel cartesianChartModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
createAxes()
Creates the default Axes for CartesianChartModel
|
int |
getSeriesBarDistance()
Specify the distance in pixel of bars in a group
|
boolean |
isHorizontalBars()
Inverts the axes of the bar chart in order to draw a horizontal bar
chart.
|
boolean |
isStackBars()
If set to true this property will cause the series bars to be stacked and
form a total for each series point.
|
void |
setHorizontalBars(boolean horizontalBars)
Inverts the axes of the bar chart in order to draw a horizontal bar
chart.
|
void |
setSeriesBarDistance(int seriesBarDistance)
Specify the distance in pixel of bars in a group
|
void |
setStackBars(boolean stackBars)
If set to true this property will cause the series bars to be stacked and
form a total for each series point.
|
addSeries, clear, getAxes, getAxis, getHigh, getLow, getSeries, setHigh, setLowaddLabel, clearLabels, getAspectRatio, getChartPadding, getHeight, getLabels, getResponsiveOptions, getStyleClass, getWidth, isAnimateAdvanced, isAnimatePath, isReverseData, isShowTooltip, setAnimateAdvanced, setAnimatePath, setAspectRatio, setChartPadding, setHeight, setResponsiveOptions, setReverseData, setShowTooltip, setWidthpublic BarChartModel()
public BarChartModel(CartesianChartModel cartesianChartModel)
public void createAxes()
CartesianChartModelcreateAxes in class CartesianChartModelpublic int getSeriesBarDistance()
public void setSeriesBarDistance(int seriesBarDistance)
seriesBarDistance - the seriesBarDistance to setpublic boolean isStackBars()
public void setStackBars(boolean stackBars)
stackBars - the stackBars to setpublic boolean isHorizontalBars()
public void setHorizontalBars(boolean horizontalBars)
horizontalBars - the horizontalBars to setCopyright © 2016. All rights reserved.