Nevron Open Vision Documentation
Scales / Overview
In This Topic
    Overview
    In This Topic

    Each axis in NOV (Chart of Gauge axis) has an associated scale. The scale is described by an object which derives directly or indirectly from the NScale base abstract class. The scale object attached to an axis is accessible from the axis Scale property. The following picture shows the different classes that derive from the NScale base abstract class:

    The following list shows the general features present in each type of scale:

    NScale - is the base of all scales and therefore implements only features common for all scales. This includes support for the following features:
    - major grid lines
    - scale title
    - custom value and range labels
    - ruler style
    - strips
    - scale sections
    - inverted scale

    NStandardScale - base for all common types of scales. It implements the following features:

    - support for automatic step determined by a minimum distance or max count criteria
    - single level of automatic labels
    - minor grid lines
    - minor ticks

    NNumericScale - this type of scale is the base of the NLinearScale and NLogarithmicScale classes. Both are used to scale numeric data. This class implements the following features:
    - support for custom step (with double precision)
    - support for custom steps (with double precision)
    - support for origin value for scale decoration (with double precision)
    - support for custom major ticks (with double precision)
    - support for custom minor ticks (with double precision)

    NLinearScale - represents a numeric scale with linear transform

    NLogarithmicScale - represents a numeric scale with logarithmic transform (with controllable log base).

    NOrdinalScale - this type of scale is used when you have to display ordinal (categorical) data. The class implements the following features:

    - support for custom step (with integer precision)
    - support custom steps (with integer precision)
    - support for origin value for scale decoration (with integer precision)
    - support for custom major ticks (with integer precision)
    - support for custom minor ticks (with integer precision)

    NDateTimeScale - this type of scale provides support for date time scales, date time formatting of automatic labels and date time unit sensitive formatting of automatic labels. The class exposes the following functionality:

    - support for custom step (in NDateTimeSpan format)
    - support custom steps (in NDateTimeSpan format)
    - support for origin value for scale decoration (in DateTime format)
    - support for custom major ticks (in DateTime format)
    - support for custom minor ticks (in DateTime format)

    NAngularScale - this scale is primarily used in Polar charts and is used to display angles. Angle scaling is different from normal linear scaling, because it is cyclic. This requires different algorithms for calculating the scale steps and transformations.

    NRangeTimelineScale and NValueTimelineScale - these two classes provide extended date time axis support by allowing you to decorate the axis using several date time units for decoration. This allows the user to have more precise information of the specific date time events that occur in the date time range displayed by the scale.

    NHierarchialScale - this type of scale is primarily used when you want to display grouped categorical (ordinal) data.