2D Chart for WinForms | ComponentOne
Chart Fundamentals / Defining the ChartArea Objects
In This Topic
    Defining the ChartArea Objects
    In This Topic

    The following graphic illustrates the ChartArea element in C1Chart:


    The ChartArea object represents the area of the chart that contains data (excluding the titles and legend, but including the axes). The ChartArea property returns an Area object with the following main properties:


    Property

    Description

    AxisXAxisY,AxisY2 Each of these properties returns Axis objects that allow you to customize the appearance of the chart axes. The Axis objects are introduced in the next topic, Axes Object and they are further discussed in the Axes topic.
    Inverted Allows you to rotate the chart by 90 degrees (this is especially useful to create horizontal bar charts). For more information see the Inverted and Reversed Chart Axes topic.
    Margins Returns a Margin object that allows you to specify the distance between the chart area and the plot area. The axes labels are displayed in this space.
    PlotArea Returns a PlotArea object that controls the appearance of the area inside the axes. For more information see the Plot Area topic.
    Style Contains properties that set the color and border of the chart area.
    See Also