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 voidcreateAxes()intgetBarMargin()intgetBarPadding()intgetBarWidth()StringgetOrientation()List<String>getTicks()booleanisStacked()voidsetBarMargin(int barMargin)voidsetBarPadding(int barPadding)voidsetBarWidth(int barWidth)voidsetStacked(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:
createAxesin 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)
-
-