java.lang.Object
omix.lang.chart.util.ChartStyleElement
omix.lang.chart.util.ChartProperties
omix.lang.chart.util.BarChartProperties
omix.lang.chart.util.ClusteredBarChartProperties
- All Implemented Interfaces:
Serializable
public class ClusteredBarChartProperties extends BarChartProperties
Properties of Bar Charts
- Since:
- Omix 1.9.0
- Author:
- Dr. Peter Droste, Omix Visualization
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ClusteredBarChartProperties()
-
Method Summary
Modifier and Type Method Description ClusteredBarChartProperties
clone()
double
getBarMargin()
Returns the bar margin as a percentage of the available space for all bars.void
set(ChartProperties chartProperties)
void
setBarMargin(double barMargin)
Sets the margin between bars.Methods inherited from class omix.lang.chart.util.BarChartProperties
getBarOutlineColor, getBarOutlineStyle, getBarOutlineWidth, getBase, getMaximumBarWidth, getMinimumBarLength, getShadowColor, getShadowXOffset, getShadowYOffset, isDrawBarOutline, isIncludeBaseInRange, isShadowsVisible, setBarOutlineColor, setBarOutlineStyle, setBarOutlineWidth, setBase, setDrawBarOutline, setIncludeBaseInRange, setMaximumBarWidth, setMinimumBarLength, setShadowColor, setShadowsVisible, setShadowXOffset, setShadowYOffset
Methods inherited from class omix.lang.chart.util.ChartStyleElement
addPropertyChangeListener, propertyChange, removePropertyChangeListener
-
Constructor Details
-
ClusteredBarChartProperties
public ClusteredBarChartProperties()
-
-
Method Details
-
set
- Overrides:
set
in classBarChartProperties
-
clone
- Overrides:
clone
in classBarChartProperties
-
getBarMargin
public double getBarMargin()Returns the bar margin as a percentage of the available space for all bars.- Returns:
- The margin percentage (where 0.10 is ten percent).
- See Also:
setBarMargin(double)
-
setBarMargin
public void setBarMargin(double barMargin)Sets the margin between bars. The value is expressed as a percentage of the available width for plotting all the bars, with the resulting amount to be distributed between all the bars evenly.- Parameters:
barMargin
- the margin (where 0.10 is ten percent).- See Also:
getBarMargin()
-