Package org.primefaces.model.chart
Class BarChartModel
- java.lang.Object
-
- org.primefaces.model.chart.ChartModel
-
- org.primefaces.model.chart.CartesianChartModel
-
- org.primefaces.model.chart.BarChartModel
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
HorizontalBarChartModel
public class BarChartModel extends CartesianChartModel
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.primefaces.model.chart.CartesianChartModel
axes
-
-
Constructor Summary
Constructors Constructor Description BarChartModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createAxes()
int
getBarMargin()
int
getBarPadding()
int
getBarWidth()
String
getOrientation()
List<String>
getTicks()
boolean
isStacked()
void
setBarMargin(int barMargin)
void
setBarPadding(int barPadding)
void
setBarWidth(int barWidth)
void
setStacked(boolean stacked)
-
Methods inherited from class org.primefaces.model.chart.CartesianChartModel
addSeries, clear, getAxes, getAxis, getDatatipEditor, getDatatipFormat, getSeries, isAnimate, isShowDatatip, isShowPointLabels, isZoom, setAnimate, setDatatipEditor, setDatatipFormat, setShowDatatip, setShowPointLabels, setZoom
-
Methods inherited from class org.primefaces.model.chart.ChartModel
getDataRenderMode, getExtender, getLegendCols, getLegendLabel, getLegendPlacement, getLegendPosition, getLegendRows, getNegativeSeriesColors, getSeriesColors, getTitle, isLegendEscapeHtml, isMouseoverHighlight, isResetAxesOnResize, isShadow, setDataRenderMode, setExtender, setLegendCols, setLegendEscapeHtml, setLegendLabel, setLegendPlacement, setLegendPosition, setLegendRows, setMouseoverHighlight, setNegativeSeriesColors, setResetAxesOnResize, setSeriesColors, setShadow, setTitle
-
-
-
-
Method Detail
-
createAxes
public void createAxes()
- Overrides:
createAxes
in classCartesianChartModel
-
getOrientation
public String getOrientation()
-
getBarPadding
public int getBarPadding()
-
setBarPadding
public void setBarPadding(int barPadding)
-
getBarMargin
public int getBarMargin()
-
setBarMargin
public void setBarMargin(int barMargin)
-
getBarWidth
public int getBarWidth()
-
setBarWidth
public void setBarWidth(int barWidth)
-
isStacked
public boolean isStacked()
-
setStacked
public void setStacked(boolean stacked)
-
-