Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Core.v4.4 Assembly / Xceed.Chart.Core Namespace / Axis Class / ScaleMode Property
Example


In This Topic
    ScaleMode Property (Axis)
    In This Topic
    Controls the scale mode of the axis.
    Syntax
    'Declaration
     
    <CategoryAttribute("Scaling")>
    <DescriptionAttribute("Controls the scale mode of the axis")>
    Public Overridable Property ScaleMode As AxisScaleMode
    'Usage
     
    Dim instance As Axis
    Dim value As AxisScaleMode
     
    instance.ScaleMode = value
     
    value = instance.ScaleMode
    [Category("Scaling")]
    [Description("Controls the scale mode of the axis")]
    public virtual AxisScaleMode ScaleMode {get; set;}
    Remarks
    Currently the axes can operate in 4 axis modes. The vertical axes are initially operating in Numeric scale mode, while the horizontal and depth axes are operating in Dimension scale mode.

    The Logarithmic scale mode is primary used as an alternative for the vertical axes, while the DataTime is used as an alternative for the horizontal axes.

    See the Axes topic in the Users Guide for more information.

    Example
    The following code changes the scale mode of the PrimaryX axis.
    Chart.Axis(StandardAxis.PrimaryX).ScaleMode = AxisScaleMode.Numeric
    Chart.Axis(StandardAxis.PrimaryX).ScaleMode = AxisScaleMode.Numeric;
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also