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 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
I hope you enjoyed learning about how to change zOrder of chart series dynamically.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!