java.lang.Object
omix.lang.chart.util.ChartStyleElement
omix.lang.chart.util.Axis
omix.lang.chart.util.CategoryAxis
- All Implemented Interfaces:
Serializable
public class CategoryAxis extends Axis
This class represents the horizontal axis in a category chart.
- Since:
- Omix 1.8.6
- Author:
- Dr. Peter Droste
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CategoryAxis.LabelPosition
Nested classes/interfaces inherited from class omix.lang.chart.util.Axis
Axis.LabelLocation, Axis.Position
-
Constructor Summary
Constructors Constructor Description CategoryAxis()
-
Method Summary
Modifier and Type Method Description CategoryAxis
clone()
int
getCategoryLabelPositionOffset()
CategoryAxis.LabelPosition
getCategoryLabelPositions()
double
getCategoryMargin()
double
getLowerMargin()
int
getMaximumCategoryLabelLines()
double
getMaximumCategoryLabelWidthRatio()
double
getUpperMargin()
void
set(Axis axis)
void
setCategoryLabelPositionOffset(int categoryLabelPositionOffset)
void
setCategoryLabelPositions(CategoryAxis.LabelPosition categoryLabelPositions)
void
setCategoryMargin(double categoryMargin)
void
setLowerMargin(double lowerMargin)
void
setMaximumCategoryLabelLines(int maximumCategoryLabelLines)
void
setMaximumCategoryLabelWidthRatio(double maximumCategoryLabelWidthRatio)
void
setUpperMargin(double upperMargin)
Methods inherited from class omix.lang.chart.util.Axis
getAxisLineColor, getAxisLineStyle, getAxisLineWidth, getFixedDimension, getLabel, getLabelAngle, getLabelColor, getLabelFont, getLabelLocation, getMinorTickMarkInsideLength, getMinorTickMarkOutsideLength, getPosition, getTickLabelColor, getTickLabelFont, getTickMarkColor, getTickMarkInsideLength, getTickMarkOutsideLength, getTickMarkWidth, isMinorTickMarksVisible, isTickLabelsVisible, isVisible, setAxisLineColor, setAxisLineStyle, setAxisLineWidth, setFixedDimension, setLabel, setLabelAngle, setLabelColor, setLabelFont, setLabelLocation, setMinorTickMarkInsideLength, setMinorTickMarkOutsideLength, setMinorTickMarksVisible, setPosition, setTickLabelColor, setTickLabelFont, setTickLabelsVisible, setTickMarkColor, setTickMarkInsideLength, setTickMarkOutsideLength, setTickMarkWidth, setVisible
Methods inherited from class omix.lang.chart.util.ChartStyleElement
addPropertyChangeListener, propertyChange, removePropertyChangeListener
-
Constructor Details
-
CategoryAxis
public CategoryAxis()
-
-
Method Details
-
set
-
clone
-
getLowerMargin
public double getLowerMargin() -
setLowerMargin
public void setLowerMargin(double lowerMargin) -
getUpperMargin
public double getUpperMargin() -
setUpperMargin
public void setUpperMargin(double upperMargin) -
getCategoryMargin
public double getCategoryMargin() -
setCategoryMargin
public void setCategoryMargin(double categoryMargin) -
getMaximumCategoryLabelLines
public int getMaximumCategoryLabelLines() -
setMaximumCategoryLabelLines
public void setMaximumCategoryLabelLines(int maximumCategoryLabelLines) -
getCategoryLabelPositions
-
setCategoryLabelPositions
-
getMaximumCategoryLabelWidthRatio
public double getMaximumCategoryLabelWidthRatio() -
setMaximumCategoryLabelWidthRatio
public void setMaximumCategoryLabelWidthRatio(double maximumCategoryLabelWidthRatio) -
getCategoryLabelPositionOffset
public int getCategoryLabelPositionOffset() -
setCategoryLabelPositionOffset
public void setCategoryLabelPositionOffset(int categoryLabelPositionOffset)
-