org.jCharts.properties
Class DataAxisProperties
java.lang.Object
|
+--org.jCharts.properties.Properties
|
+--org.jCharts.properties.AxisTypeProperties
|
+--org.jCharts.properties.LabelAxisProperties
|
+--org.jCharts.properties.DataAxisProperties
- All Implemented Interfaces:
- HTMLTestable, java.io.Serializable
- public final class DataAxisProperties
- extends LabelAxisProperties
- implements HTMLTestable
- See Also:
- Serialized Form
Methods inherited from class org.jCharts.properties.AxisTypeProperties |
getAxisStroke, getAxisTickMarkPixelLength, getAxisTitleChartFont, getGridLineChartStroke, getPaddingBetweenAxisAndLabels, getPaddingBetweenAxisLabels, getPaddingBetweenAxisTitleAndLabels, getPaddingBetweenLabelsAndTicks, getScaleChartFont, getShowEndBorder, getShowGridLines, getShowTicks, getTickChartStroke, getTitleChartFont, setAxisStroke, setAxisTickMarkPixelLength, setAxisTitleChartFont, setGridLineChartStroke, setPaddingBetweenAxisAndLabels, setPaddingBetweenAxisTitleAndLabels, setPaddingBetweenLabelsAndTicks, setPaddingBetweenXAxisLabels, setScaleChartFont, setShowAxisLabels, setShowEndBorder, setShowGridLines, setShowTicks, setTickChartStroke, setTitleChartFont, showAxisLabels |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
roundToNearest
private int roundToNearest
showZeroLine
private boolean showZeroLine
zeroLineChartStroke
private ChartStroke zeroLineChartStroke
userDefinedScale
private boolean userDefinedScale
userDefinedMinimumValue
private double userDefinedMinimumValue
userDefinedIncrement
private double userDefinedIncrement
numItems
private int numItems
useDollarSigns
private boolean useDollarSigns
useCommas
private boolean useCommas
usePercentSigns
private boolean usePercentSigns
scaleCalculator
private ScaleCalculator scaleCalculator
DataAxisProperties
public DataAxisProperties()
setUserDefinedScale
public void setUserDefinedScale(double axisMinimum,
double axisIncrement)
throws PropertyException
- Parameters:
axisMinimum
- axisIncrement
-
- Throws:
PropertyException
getRoundToNearest
public int getRoundToNearest()
setRoundToNearest
public void setRoundToNearest(int roundToNearest)
showZeroLine
public boolean showZeroLine()
setShowZeroLine
public void setShowZeroLine(boolean showZeroLine)
getZeroLineChartStroke
public ChartStroke getZeroLineChartStroke()
setZeroLineChartStroke
public void setZeroLineChartStroke(ChartStroke zeroLine)
hasUserDefinedScale
public boolean hasUserDefinedScale()
getUserDefinedMinimumValue
public double getUserDefinedMinimumValue()
getUserDefinedIncrement
public double getUserDefinedIncrement()
getNumItems
public int getNumItems()
setNumItems
public void setNumItems(int numItems)
useDollarSigns
public boolean useDollarSigns()
setUseDollarSigns
public void setUseDollarSigns(boolean useDollarSigns)
useCommas
public boolean useCommas()
setUseCommas
public void setUseCommas(boolean useCommas)
usePercentSigns
public boolean usePercentSigns()
setUsePercentSigns
public void setUsePercentSigns(boolean usePercentSigns)
getScaleCalculator
public ScaleCalculator getScaleCalculator()
setScaleCalculator
public void setScaleCalculator(ScaleCalculator scaleCalculator)
- You do not have to explicitly set a ScaleCalculator implementation as jCharts will
create one, but if you do not like the way Scale ranges are created, you could
create your own implementation of ScaleCalculator and jCharts will use it!
- Parameters:
scaleCalculator
-
toHTML
public void toHTML(HTMLGenerator htmlGenerator)
- Enables the testing routines to display the contents of this Object.
- Specified by:
toHTML
in interface HTMLTestable
- Overrides:
toHTML
in class AxisTypeProperties
- Parameters:
htmlGenerator
-