ilog.views.chart
Class IlvTimeStepsDefinition

ilog.views.chart.IlvStepsDefinition
      extended by ilog.views.chart.IlvTimeStepsDefinition

public class IlvTimeStepsDefinition
extends IlvStepsDefinition

Implements a default numbering of time steps.

CSS example:

ilvTimeStepsDefinition {
    class : "ilog.views.chart.IlvTimeStepsDefinition";
    autoSubStepUnit : "false";
    autoUnit : "false";
    subStepCount : "2";
    unit : "MILLISECOND";
}


Property Summary
 boolean autoSubStepUnit
          
Toggles the automatic calculation of the minor ticks unit.
 boolean autoUnit
          
Toggles the automatic calculation of the step unit.
 java.lang.String class
          
Creates a new time steps definition.
 int subStepCount
          
Sets the number of substeps.
 ilog.views.chart.IlvTimeUnit unit
          
Sets the step unit.
 

Property Detail

class

public java.lang.String class

Creates a new time steps definition.

CSS example:     class : "ilog.views.chart.IlvTimeStepsDefinition";


autoSubStepUnit

public boolean autoSubStepUnit

Toggles the automatic calculation of the minor ticks unit. When this property is set to true, the minor ticks unit is automatically computed according to the major ticks unit.

Note: The bean property autoSubStepUnit must not be specified together with the bean properties subStepUnit or subStepCount.

CSS example:     autoSubStepUnit : "false";

See Also:
subStepUnit, subStepCount

autoUnit

public boolean autoUnit

Toggles the automatic calculation of the step unit. When this property is set to true, the step unit is automatically computed according to the visible range shown by the scale.

CSS example:     autoUnit : "false";

See Also:
unit

subStepCount

public int subStepCount

Sets the number of substeps. This method fixes the substep unit to match the specified number of substeps: the substep unit will be equal to the step unit divided by the number of substeps plus one.

Note: The bean property subStepCount must not be specified together with the bean properties autoSubStepUnit or subStepUnit.

CSS example:     subStepCount : "2";


unit

public ilog.views.chart.IlvTimeUnit unit

Sets the step unit. Calling this method toggles off the automatic calculation of the step unit.

CSS example:     unit : "MILLISECOND";

Allowed values:
MILLISECOND    Predefined unit for milliseconds.
SECOND    Predefined unit for seconds.
MINUTE    Predefined unit for minutes.
HOUR    Predefined unit for hours.
DAY    Predefined unit for days.
WEEK    Predefined unit for weeks.
MONTH    Predefined unit for months.
QUARTER    Predefined unit for quarters.
YEAR    Predefined unit for years.
DECADE    Predefined unit for decades.
CENTURY    Predefined unit for centuries.



Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.