Chart for .NET / User's Guide / Axes / Axes Overview

In This Topic
    Axes Overview
    In This Topic

    Nevron Chart for .NET features an axis model that allows you to have complete control over axis position and appearance. The following diagram shows a conceptual view of an axis object and the objects that comprise it.



    figure 1.

    As visible from the diagram, each axis consists of four components, each of them describing a different aspect of the axis behavior when placed in the chart. Following is a brief description of the axis components and their relationship with the axis.

     Axis Anchor
    The axis anchor is responsible for positioning the axis inside the chart area. There are two general types of axis anchors – dock and cross axis anchors. Docked axes appear on the edges of the chart area and typically "eat" from the available space for the chart. Crossed axes are displayed at some point which is either defined from another axis (value crossing) or defined by a model point in the chart area (model crossing). Anchors are described in detail in the Axis Anchors section.
     Axis Attributes
    Axis attributes are a set of objects displayed by the axis and some of them can optionally scale on different axes. Axis attributes differ from scale decorations (like ticks, gridlines etc.) because they are identifiable and can have relationships with other objects in the chart. For example axis cursors can be synchronized with cursors defined on another axis.
     Scale Range Control
    The scale range control of an axis is defined by a group of objects that work together to compute the range of values shown by the axis.
     Scale Control
    The scale control group comprises of two objects - Scale and Scale Configurator, that allow you to control the axis decoration.

    Nevron chart uses a declarative scale definition exposed by the scale object. It is responsible for creating and layouting the scale decorations as well as converting from Logical to Scale units. The scale can be configured using a scale configurator or programmed through code.

    The scale configurator on the other hand is responsible for updating the scale definition when the developer or user changes some of its properties. Once updated the scale works independently from the configurator.

    In most of the cases you’ll not have to directly program the scale and use only the scale configurator, however if you require greater flexibility you may also custom program the Scale.