public class IlvAxis
extends java.lang.Object
IlvAxis
instances are created by the IlvChart
class for each coordinate axis. These instances can be retrieved using the
IlvChart#getXAxis
and IlvChart#getYAxis
methods. The following
figure represents the x- and y-axis of a chart:
An IlvAxis
object holds the following information:
#setDataRange
method.
To toggle the automatic calculation of the data range, use the
#setAutoDataRange
method.
dataMin <= visibleMin <= visibleMax <= dataMaxThe visible range can be synchronized with the data range, using the
#setAutoVisibleRange
method. In that case, the visible
range is updated each time the data range is modified.
IlvAxisTransformer
class. The #setTransformer
method lets you modify the
transformer associated with an axis.
AxisListener
objects that are notified whenever
the axis changes.
ilvAxis {
class : "ilog.views.chart.IlvAxis";
autoDataRange : "false";
autoVisibleRange : "false";
dataMax : "3.0";
dataMin : "3.0";
reversed : "false";
transformer : "@#ilvAffineAxisTransformer";
visibleMax : "3.0";
visibleMin : "3.0";
}
Modifier and Type | Property and Description |
---|---|
boolean |
autoDataRange
Toggles the automatic calculation of the data range. |
boolean |
autoVisibleRange
Toggles the automatic mode of the visible range. |
java.lang.String |
class
Default constructor. |
double |
dataMax
Sets the maximum value of the data range. |
double |
dataMin
Sets the minimum value of the data range. |
boolean |
reversed
Sets the reversed property of the axis. |
IlvAxisTransformer |
transformer
Sets the transformer applied to this axis. |
double |
visibleMax
Sets the maximum visible value along this axis. |
double |
visibleMin
Sets the minimum visible value along this axis. |
public java.lang.String class
class : "ilog.views.chart.IlvAxis";
public boolean autoDataRange
Note: The bean property "autoDataRange" must not be specified
together with the bean properties "dataMin" or "dataMax".
CSS example:
autoDataRange : "false";
public boolean autoVisibleRange
Note: The bean property "autoVisibleRange" must not be specified
together with the bean properties "visibleMin" or "visibleMax".
CSS example:
autoVisibleRange : "false";
public double dataMax
Note: The bean property "dataMin" must not be specified
together with the bean property "autoDataRange".
CSS example:
dataMax : "3.0";
public double dataMin
Note: The bean property "dataMin" must not be specified
together with the bean property "autoDataRange".
CSS example:
dataMin : "3.0";
public boolean reversed
reversed
property of the axis.
The values along a reversed axis are considered in reverse order.
This means for example that the minimum and maximum value will
be swapped during data projection.
reversed : "false";
public IlvAxisTransformer transformer
transformer : "@#ilvAffineAxisTransformer";
IlvAffineAxisTransformer
for an example of implementing a transformer.public double visibleMax
Note: The bean property "visibleMax" must not be specified
together with the bean property "autoVisibleRange".
CSS example:
visibleMax : "3.0";
autoVisibleRange
public double visibleMin
Note: The bean property "visibleMin" must not be specified
together with the bean property "autoVisibleRange".
CSS example:
visibleMin : "3.0";
autoVisibleRange
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.