Skip to content
Advertisement

Tag: echarts

Echarts.js: Detect a click on a subset of data

I want to detect a click on a particular subset in a bar chart. As I want to init a new chart after the click, with the data from the clicked subset. Currently when I click on chart bars, I get data of the whole chart and can’t retrieve data of just one bar. Here is what I have: Answer

Advertisement