Package org.jCharts.properties
Class BarChartProperties
- java.lang.Object
-
- org.jCharts.properties.ChartTypeProperties
-
- org.jCharts.properties.AxisChartTypeProperties
-
- org.jCharts.properties.BarChartProperties
-
- All Implemented Interfaces:
HTMLTestable
- Direct Known Subclasses:
ClusteredBarChartProperties
,StackedBarChartProperties
public class BarChartProperties extends AxisChartTypeProperties
-
-
Field Summary
Fields Modifier and Type Field Description private ChartStroke
barOutlineStroke
private boolean
showOutlines
private float
widthPercentage
-
Constructor Summary
Constructors Constructor Description BarChartProperties()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChartStroke
getBarOutlineStroke()
float
getPercentage()
boolean
getShowOutlinesFlag()
void
setBarOutlineStroke(ChartStroke barOutlineStroke)
void
setShowOutlinesFlag(boolean showOutlines)
void
setWidthPercentage(float widthPercentage)
void
toHTML(HTMLGenerator htmlGenerator)
Enables the testing routines to display the contents of this Object.void
validate(IAxisPlotDataSet iAxisPlotDataSet)
Validates the properties.-
Methods inherited from class org.jCharts.properties.AxisChartTypeProperties
addPostRenderEventListener, addPreRenderEventListener, firePostRender, firePreRender
-
-
-
-
Field Detail
-
widthPercentage
private float widthPercentage
-
showOutlines
private boolean showOutlines
-
barOutlineStroke
private ChartStroke barOutlineStroke
-
-
Method Detail
-
setShowOutlinesFlag
public void setShowOutlinesFlag(boolean showOutlines)
-
getShowOutlinesFlag
public boolean getShowOutlinesFlag()
-
setWidthPercentage
public void setWidthPercentage(float widthPercentage)
-
getPercentage
public float getPercentage()
-
getBarOutlineStroke
public ChartStroke getBarOutlineStroke()
-
setBarOutlineStroke
public void setBarOutlineStroke(ChartStroke barOutlineStroke)
-
toHTML
public void toHTML(HTMLGenerator htmlGenerator)
Enables the testing routines to display the contents of this Object.- Parameters:
htmlGenerator
-
-
validate
public void validate(IAxisPlotDataSet iAxisPlotDataSet) throws PropertyException
Validates the properties.- Specified by:
validate
in classAxisChartTypeProperties
- Parameters:
iAxisPlotDataSet
-- Throws:
PropertyException
-
-