public class IlvDefaultStepsDefinition extends IlvStepsDefinition
IlvDefaultStepsDefinition
is the default class used
to specify the steps of a scale. It uses the following attributes, which
can be explicitly specified or automatically computed:
ilvDefaultStepsDefinition {
class : "ilog.views.chart.IlvDefaultStepsDefinition";
autoMode : "SIMPLE_MODE";
autoNumberFormat : "false";
autoStepUnit : "false";
autoSubStepUnit : "false";
numberFormat : "@#numberFormat";
stepUnit : "3.0";
subStepCount : "2";
subStepUnit : "3.0";
}
Modifier and Type | Property and Description |
---|---|
int |
autoMode
Sets the mode for the automatic calculation of the step unit. |
boolean |
autoNumberFormat
Toggles the automatic calculation of the number format. |
boolean |
autoStepUnit
Toggles the automatic calculation of the step unit. |
boolean |
autoSubStepUnit
Toggles the automatic calculation of the substep unit. |
java.lang.String |
class
Creates a new IlvDefaultStepsDefinition that automatically
computes the step and substep units. |
java.text.NumberFormat |
numberFormat
Specifies the format used to translate step values into labels. |
double |
stepUnit
Specifies the step unit. |
int |
subStepCount
Sets the number of substeps. |
double |
subStepUnit
Specifies the substep unit. |
public java.lang.String class
IlvDefaultStepsDefinition
that automatically
computes the step and substep units.
class : "ilog.views.chart.IlvDefaultStepsDefinition";
public int autoMode
autoMode : "SIMPLE_MODE";
Allowed values: | ||
SIMPLE_MODE |
Type for simple automatic mode. When this mode is set, step units are computed with a simple algorithm that does not take into account the available space for step labels. | |
COMPLEX_MODE |
Type for complex automatic mode. When this mode is set, step units are computed by taking into account the available space for step labels. |
autoStepUnit
public boolean autoNumberFormat
true
, the format used
to convert values into string is automatically computed.
Note: The bean property "autoNumberFormat" must not be specified
together with the bean property "numberFormat".
CSS example:
autoNumberFormat : "false";
public boolean autoStepUnit
true
, the step unit is
automatically computed according to the visible range shown by the
scale.
Note: The bean property "autoStepUnit" must not be specified
together with the bean property "stepUnit".
CSS example:
autoStepUnit : "false";
public boolean autoSubStepUnit
true
, the substep unit is
automatically computed according to the step unit.
Note: The bean property "autoSubStepUnit" must not be specified
together with the bean properties "subStepUnit" or "subStepCount".
CSS example:
autoSubStepUnit : "false";
public java.text.NumberFormat numberFormat
Note: setNumberFormat(null)
sets the format to a locale
dependent default format.
Note: The bean property "numberFormat" must not be specified
together with the bean property "autoNumberFormat".
CSS example:
numberFormat : "@#numberFormat";
See implementing class NumberFormat
for an example of implementing a numberFormat.
public double stepUnit
Note: The bean property "stepUnit" must not be specified
together with the bean property "autoStepUnit".
CSS example:
stepUnit : "3.0";
public int subStepCount
Note: The bean property "subStepCount" must not be specified
together with the bean properties "autoSubStepUnit" or "subStepUnit".
CSS example:
subStepCount : "2";
public double subStepUnit
Note: The bean property "subStepUnit" must not be specified
together with the bean properties "autoSubStepUnit" or "subStepCount".
CSS example:
subStepUnit : "3.0";
subStepCount
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.