Hi Chris,
Thanks for using Syncfusion product.
We have analyzed this and replicated the scenario shown, in our sample.
Consider the below example. This page has two div namely container1 and container2 which is used to render chart.
The below screen shot shows this.
To get the id of the div on chart load, the below code snippet is used
[JS] function onchartload(sender){ // method called on chart load alert("on load of the chart in the div: " +this._id); // to display alert box } |
We coded to display an alert box which shows the id of the div on chart load. The below screen shot shows this.
We have also attached the sample in the below location for your reference.
line.zip
Please let us know if you have any concern.
Thanks,
Jayavigneshwaran