Does echarts has drill down option for all category of charts

3k views Asked by At

I am going to use baidu echarts in my project, but till now not able to find drill down option in pie, bar and line charts.

Please help me, if anyone know the drill down option.

2

There are 2 answers

1
Mijago On

Simply use an onClick-handler for the chart- and this handler then changes the content of the chart. At least this is what i am using.

chart.on("click", (param) => {
 // Magic here
});

But to answer your question: No, it does not have a drill down option for all chart types.

0
pedroflash On

I managed to implement drill down with ajax calls, using the click event on the chart and it's parameters. With the response you can init the chart and reload the options.