eapatel commented on issue #15256:
URL: https://github.com/apache/echarts/issues/15256#issuecomment-871141885


   I called this.setOption() in onChartInit() and after that getting the 
leaflet map instance.
   
       onChartInit(echarts: any) {
       this.echartsInstance = echarts;
       **this.setOptions();
       this.initMap()**; 
       this.resizeChart();
       }
   
       <div echarts
           **[options]="option"
           (chartInit)="onChartInit($event)"**>
       </div>
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to