Spread Windows Forms 13.0 Product Documentation
Spread Windows Forms 13.0 Product Documentation / Developer's Guide / Working with the Chart Control / Understanding Charts / Plot Types / Y Plot Types / Line Charts
In This Topic
    Line Charts
    In This Topic

    The line chart can be a basic one-dimensional Cartesian plot such as the one shown in this figure.

    Line Chart, example of one-dimensional plot

    You can have any of these types of line charts, which represent different ways of displaying the series data.

    Line Charts

    Each point in a line series contains a single data value. The data values are visualized as points on a line.

    A line series can be assigned a border, fill effect, or depth for the line. The line can also be jagged or smooth or display drop lines. Assigning null for the border or fill effect indicates that the property is unset. Depth is measured relative to the floor grid cell (0 = no depth, 1 = depth of floor grid cell).

    Each point in a line series can have a border or a fill effect for the line.

    Stacked Line Charts

    The stacked line chart shows the points vertically stacked:

    Stacked Line Chart

    A stacked line series is a composite series that groups together two or more line series. A stacked line series can have a border, fill effect, or depth for the lines. You can also specify whether the line is jagged or smooth and whether drop lines are displayed. Assigning null for a border or fill effect indicates that the property is unset. Depth is measured relative to the floor grid cell (0 = no depth, 1 = depth of floor grid cell).

    Each line series in a stacked line series can be assigned a border and a fill effect for the line.

    Each point in a line series in a stacked line series has a single data value. The data value is visualized as a point on a line. Each point in a line series in a stacked line series can be assigned a border and a fill effect for the line.

    Stacked 100% Line Charts

    The stacked 100% line chart shows the points vertically stacked and spread all the way to the top (100%) but spread proportionately; otherwise, it is similar to a stacked line chart:

    100% Stacked Line Chart

    For more information on the line series object in the API, refer to the LineSeries class.