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 2020/04/20 21:20:42 UTC

[GitHub] [incubator-echarts] melanke commented on issue #6202: Problems when updating chart through echartsInstance.setOption()

melanke commented on issue #6202:
URL: https://github.com/apache/incubator-echarts/issues/6202#issuecomment-616815917


   ```typescript
   const option = {
         ...this.chartOptions, // stored default options (it's a getter)
         dataset: {
           source: this.value.chartData,
         },
         series,
         dataZoom: this.dataZoom,
         graphic: this.buildChartGraphics(),
       }
   
       this.echart.setOption(option, true)
   ```
   
   @Rushan4eg I am using Vue as well, but I don't think it makes any difference


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