luccabimachine commented on issue #19299: URL: https://github.com/apache/echarts/issues/19299#issuecomment-1814362072
> something to experiment with > > ``` > myChart.on('click', 'series', function (p) { > if (p.selfType=='breadcrumb') { > // get the dataIndex of clicked node > console.log(p.nodeData.name+' '+p.nodeData.dataIndex) > myChart.dispatchAction({ > type: 'select', > dataIndex: p.nodeData.dataIndex > }); > } > }) > ``` thanks for the reply. i try to dispatch that action but it doesn't change anything in my chart, regardless of dataIndex value i pass. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org