1. run the attached file 2. click the legend of the first series
event.getSeries().getIndex() returns -1
event.getSeries().getIndex() returns 0
Charts.service()