The zOrder property is used to arrange the series in series collection before rendering the chart. When two series overlap, the zOrder value determines the series that should appear in front. Series with lowest zOrder value is rendered first by default and series with highest zOrder value is displayed in front of all other series. This is illustrated in the following code example.
The above code changes the rendering order of the series in chart, second series renders first, then the first series.
The following screenshot illustrates the chart before changing the zOrder of the series.
Figure 1: Chart before changing the zOrder of the series
The following screenshot illustrates the chart after changing zOrder of the series.
Figure 2: Chart after changing the zOrder of the series
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
|3280||01/20/2015||01/20/2015||ASP.NET Web Forms||Chart|