I have a chart
I suscribe to the chart event GraphItemClickEvent
The event contains dataItem of the selected bar,
but I found no way to know exact item (which color) has been clicked.
How can I have the exact item clicked ?
Click on the first bar
Click on the bottom of the second bar
Click on the middle of the second bar
Click on the top of the second bar
pinyazhin
(Roman Pinyazhin)
3
Hello!
The GraphItemClickEvent contains ID of clicked graph, so you can try to detect what color is clicked by this ID.
You can specify an ID for every graph in XML to make more convenient handling:
<chart:graphs>
<chart:graph id="graphCars"
.../>
<chart:graph id="graphMotorcycles"
.../>
<chart:graph id="graphBicycles"
.../>
</chart:graphs>