com.googlecode.charts4j
Class AxisStyle
java.lang.Object
com.googlecode.charts4j.AxisStyle
public final class AxisStyle
- extends Object
Type for specifying axis styles.
- Author:
- Julien Chastang (julien.c.chastang at gmail dot com)
- See Also:
AxisLabels
,
AxisLabelsFactory
newAxisStyle
public static AxisStyle newAxisStyle(Color color,
int fontSize,
AxisTextAlignment alignment)
- Define an axis style.
- Parameters:
color
- color of text displayed along the axis. Cannot be null.fontSize
- font size of text displayed along the axis. Must be > 0.alignment
- alignment of text along the axis with respect to the axis tick
marks. Cannot be null.
- Returns:
- the new constructed axis style