My understanding of the onchartload event is that it should load when the chart is loaded for the first time right?
Here is how I am binding the load event to my vm
<div id="ejChart" ej-chart series="vm.series" e-onchartload="vm.chartLoaded()"></div>
But whenever I change any property on the vm, the event gets called. Is this expected behavior?
Thanks for using Syncfusion Products.
We have analyzed your reported query. And we wish to let you know that the “onchartload” is not an event. That is a user defined method name specified in sample level. The event which got triggered on load of chart is "load" event. The code snippet is given below.
<div id="chartContainer" style="width: 100%"
Kindly refer the help documentation in the below link for any assistance about load event.
We have prepared a sample based on your query and you can find the sample in below location
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.