Updated comment for Chart.seriesIndexByType and added an example.