Series

A series is a set of data, for example a line graph or one set of columns. All data plotted on a chart comes from the series object. The series appearance and customization can be controlled by the properties DataSeries items collection. For example the bellow code snippet set the collection alias of the bar series:

<shield:ShieldChart runat="server" ID="ShieldChart1">
    <DataSeries>
        <shield:ChartBarSeries CollectionAlias="Jan, Feb, Mar, Apr, May, Jun">
            <Items>
                <shield:ChartSeriesItem ValueY="1" />
                <shield:ChartSeriesItem ValueY="4" />
                <shield:ChartSeriesItem ValueY="2" />
                <shield:ChartSeriesItem ValueY="5" />
                <shield:ChartSeriesItem ValueY="6" />
                <shield:ChartSeriesItem ValueY="2" />
            </Items>
        </shield:ChartBarSeries>
    </DataSeries>
...

The different types of series have different settings. For example the bar series has settings for hovered state, selected state and data point text. These settings are configured via the corresponding properties:

<shield:ShieldChart runat="server" ID="ShieldChart1">
    <DataSeries>
        <shield:ChartBarSeries CollectionAlias="Jan, Feb, Mar, Apr, May, Jun">
            <Settings EnableAnimation="false">
                <ActiveSettings>
                    <PointHoveredState BorderColor="Green" />
                    <PointSelectedState BorderWidth="4" />
                </ActiveSettings>
                <DataPointText Color="Red">
                    <Style Bold="true" />
                </DataPointText>
            </Settings>
…