You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2021/05/26 15:16:31 UTC

[GitHub] [echarts] Thisisnarayan commented on issue #4990: Question: Dynamically change data existing data on Zoom event

Thisisnarayan commented on issue #4990:
URL: https://github.com/apache/echarts/issues/4990#issuecomment-848857545


   myChart.on('datazoom',  (evt) => {
   const option = myChart.getOption()
   console.log(option.xAxis[0].data[option.dataZoom[0].startValue],option.xAxis[0].data[option.dataZoom[0].endValue])
   });


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org