BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
Hiya,
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?
Regards,
Jonny
Hi Jonny,
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.
Code Snippet:
[JS]
<div id="chartContainer" style="width: 100%"
e-load="loadevent">
</div>
Kindly refer the help documentation in the below link for any assistance about load event.
http://help.syncfusion.com/UG/JS_CR/ejChart.html#event:load
We have prepared a sample based on your query and you can find the sample in below location
Sample: http://www.syncfusion.com/downloads/support/forum/119536/angular-1250878145.zip
Thanks,
Praveenkumar