ComponentOne CandlestickChart for ASP.NET Web Forms
Candlestick Chart Elements / Axes
In This Topic
    Axes
    In This Topic

    The X and Y properties of the ChartAxes object returns ChartAxis objects that allow you to customize the appearance of the chart axes. The axes are represented by sub-properties of the ChartAxes property:ChartAxes.X and ChartAxes.Y. Each of these properties returns a ChartAxis object with the following main properties:

     

    Axis Property

    Description

    ChartAxis.Alignment

    A value that indicates the alignment of the axis text. The default value for this property is ChartAxisAlignment.Center.

    ChartAxis.AnnoFormatString

    A value that indicates the format string of annotation.

    ChartAxis.AnnoMethod

    A value that indicates the method of annotation. The default value for this property is ChartAxisAnnoMethod.Values.

    ChartAxis.AutoMajor

    A value that indicates whether the major tick mark values are calculated automatically. The default value for this property is true.

    ChartAxis.AutoMax

    A value that indicates whether the maximum axis value is calculated automatically.

    ChartAxis.AutoMin

    A value that indicates whether the minimum axis value is calculated automatically. The default value for this property is True.

    ChartAxis.AutoMinor

    A value that indicates whether the minor tick mark values are calculated automatically. The default value for this property is true.

    ChartAxis.Compass

    A value that indicates the compass of the axis. The default value for this property is ChartCompass.South.

    ChartAxis.GridMajor

    A value that provides information for the major grid line.

    ChartAxis.GridMinor

    A value that provides information for the minor grid line.

    ChartAxis.Labels

    A value that provides information for the labels.

    ChartAxis.Max

    A value that indicates the maximum value of the axis. The default value for this property is 0.

    ChartAxis.Min

    A value that indicates the minimum value of the axis. The default value for this property is 0.

    ChartAxis.Origin

    A value that indicates the origin value of the axis.

    ChartAxis.AxisStyle

    A value that indicates the style of the axis.

    ChartAxis.Text

    A value that indicates the text of the axis.

    ChartAxis.TextStyle

    A value that indicates the style of text of the axis.

    ChartAxis.TextVisible

    A value that indicates the visibility of the axis text. The default value for this property is True.

    ChartAxis.TickMajor

    A value that provides information for the major tick.

    ChartAxis.TickMinor

    A value that provides information for the minor tick.

    ChartAxis.UnitMajor

    A value that indicates the units between major tick marks. The default value for this property is 0.

    ChartAxis.UnitMinor

    A value that indicates the units between minor tick marks. The default value for this property is 0.

    ChartAxis.ValueLabelList

    A value that shows a collection of valueLabels for the axis.

    ChartAxis.Visible

    A value that indicates the visibility of the axis. The default value for this property is True.

     

    See Also