|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.googlecode.charts4j.AxisLabelsFactory
public final class AxisLabelsFactory
Static factory class for AxisLabels
.
Method Summary | |
---|---|
static AxisLabels |
newAxisLabels(List<? extends String> labels)
Labels will be placed uniformly along the axis. |
static AxisLabels |
newAxisLabels(List<? extends String> labels,
List<? extends Number> positions)
Labels are placed on the axis according to the positions argument. |
static AxisLabels |
newAxisLabels(String... labels)
Labels will be placed uniformly along the axis. |
static AxisLabels |
newAxisLabels(String label,
double position)
This method is useful for placing a label along the axis at a specific location. |
static AxisLabels |
newNumericAxisLabels(double... values)
This method takes an arbitrary list of numbers that will be placed proportionally along the axis. |
static AxisLabels |
newNumericAxisLabels(List<? extends Number> values)
This method takes an arbitrary list of numbers that will be placed proportionally along the axis. |
static AxisLabels |
newNumericRangeAxisLabels(double minRange,
double maxRange)
Define a range on the axis. |
static RadialAxisLabels |
newRadialAxisLabels(List<? extends String> labels)
Labels will be placed uniformly around a radar chart. |
static RadialAxisLabels |
newRadialAxisLabels(String... labels)
Labels will be placed uniformly around a radar chart. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static AxisLabels newAxisLabels(List<? extends String> labels, List<? extends Number> positions)
labels
- Labels that will be displayed along side the axis. Cannot be
null or contain a null.positions
- Positions of labels expressed between 0 and 100.
public static AxisLabels newAxisLabels(List<? extends String> labels)
labels
- Labels that will be displayed along side the axis.
public static AxisLabels newAxisLabels(String... labels)
labels
- Labels that will be displayed along side the axis.
public static RadialAxisLabels newRadialAxisLabels(List<? extends String> labels)
labels
- Labels that will be displayed around a radar chart.
RadarChart
public static RadialAxisLabels newRadialAxisLabels(String... labels)
labels
- Labels that will be displayed around a radar chart.
RadarChart
public static AxisLabels newAxisLabels(String label, double position)
label
- Label that will be displayed along side the axis. Cannot be
null.position
- Position of label. Must be between 0 and 100.
public static AxisLabels newNumericAxisLabels(List<? extends Number> values)
values
- Values along the start and end range. Cannot be null or
contain a null.
public static AxisLabels newNumericAxisLabels(double... values)
values
- Values along the start and end range. Cannot be null or
contain a null.
public static AxisLabels newNumericRangeAxisLabels(double minRange, double maxRange)
minRange
- The start of the range.maxRange
- The end of the range.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |