2D Chart for WinForms | ComponentOne
Chart Area and Plot Area Objects / Plot Area
In This Topic
    Plot Area
    In This Topic

    The data is plotted in the plot area of the chart. In the PlotArea object you can customize or create styles for the PlotArea. For instance you can use the BackColor and BackColor2 to specify the back colors of the plot area. You can also set the ForeColor of the PlotArea by setting the ForeColor property.

    The table below shows the Plot area's appearance properties and their functions:

    Property Description
    AlarmZones The AlarmZones property gets the AlarmZones Collection object associated with the current PlotArea object.
    BackColor Gets or sets the back color of the PlotArea. Inherits from the ChartArea.
    BackColor2 Gets or sets the second back color.
    Boxed Gets or sets whether the PlotArea is enclosed in a box.
    ForeColor Gets or sets the ForeColor of the plot area. Inherits from the ChartArea.
    GradientStyle Gets or sets the type of gradient background filling.
    HatchStyle Gets or sets the type of hatch background filling.
    Opaque Gets or sets whether the PlotArea background is opaque.
    Size Gets the size of the PlotArea in chart control client coordinates.
    View3D Gets the View3D object.
    Visible Gets or sets the PlotArea visibility.

    C1Chart includes an AlarmZone Collection Editor that can be accessed through C1Chart's properties at design-time. The AlarmZone Collection Editor consists of a windows form which conveniently allows the users to edit/create AlarmZones. Using the editor, the user can add/remove one or many multiple alarm zones, and modify or set the properties for each alarm zone. For more information on the AlarmZone Collection Editor, see AlarmZone Collection Editor.

    The next section explains what an alarm zone is and how it is used in a chart.

    See Also