com.googlecode.charts4j
Class AxisStyle

java.lang.Object
  extended by 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

Method Summary
static AxisStyle newAxisStyle(Color color, int fontSize, AxisTextAlignment alignment)
          Define an axis style.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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