Nevron .NET Vision
Chart for .NET / User's Guide / Axes / Position / Axis Anchors Overview
In This Topic
    Axis Anchors Overview
    In This Topic

    Each axis in the control has a property called Anchor that controls the axis position in the context of its parent panel. There are three major types of anchors - dock, cross and model.

    A dock anchor will snap the axis to a side defined by the panel and will diminish the space available for the panel contents. For example when a cartesian dock anchor snaps an axis to the left side of a 2D chart it will diminish the space available for the chart series.

    Model and Cross anchors will position an axis inside the panel without decreasing the visual space available for the panel contents. For example a model cartesian anchor can be configured to cross another axis with different orientation at 50 percent from it's length. Model crossing can be cyclic, meaning that you can have two or more axes crossing each other. Cross anchors operate in the same manner except that they can cross another axis at a specified logical value.

    The following sections outline the axis anchors applicable to different panels in the control:

    Cartesian Axis Anchors

    This group of axis anchors controls the placement and orientation of cartesian axes (axes displayed by a cartesian chart). The following table shows the possible anchor types you can assign to such axes:

    Type Description
    NDockAxisAnchor Allows you to dock a Cartesian axis to one of the cartesian rectangle or box sides (depending on whether the chart operates in 2D or 3D mode). The rectangle/box sides are referred to as axis zones in the documentation.
    NCrossAxisAnchor Allows you to cross a Cartesian axis with another Cartesian axis with different orientation by value or model coordinate.
    NBestVisibilityAxisAnchor Allows for automatic docking of a Cartesian axis to one of the axis zones. This axis anchor ensures best visibility for the axis by dynamically choosing the most suitable dock zone, taking into account the current projection settings.
    NAutoSideAxisAnchor Allows for automatic docking of a Cartesian axis to one of the axis zones. This axis anchor dynamically chooses a dock zone for the axis, taking into account the current projection settings and a user specified preference for side.

    The Cartesian Axis Anchors topic describes these anchors in detail.

     

    Polar Axis Anchors

    Polar axis anchors allow you to position polar value and angle axes.  The following table shows the possible anchor types you can assign to polar axes:

    Type Description
    NDockPolarAxisAnchor Allows you to dock the polar axis attached to it to one of six polar zones.
    NCrossPolarAxisAnchor Allows you to cross a polar axis to either a value on another polar axis with different orientation, or a polar model coordinate.

    The Polar Axis Anchors topic describes these anchors in detail.

    Radar Axis Anchors

    The NRadarAxisAnchor type controls the begin / end position of a radar axe on the radar star ray.

    Gauge Anchors

    Gauge axis anchors allow you to position gauge axes in gauge linear and radial model space. The following table shows the possible anchor types you can assign to gauge axes:

    Type Description
    NDockGaugeAxisAnchor Docks a gauge axis to one of the two gauge axis dock zones (Top or Bottom), thereby reducing the space available for the gauge content.
    NModelGaugeAxisAnchor Positions a gauge axis in gauge model space, without reducing the space available for the gauge content.

    The Gauge Axis Anchors topic describes these anchors in detail.