SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components
I am getting an error trying to initialize chart inside the shadow root element:
sciChartInitCommon.js:224 Chart div element with the ID "my-unique-chart-id is not present in the DOM
or
sciChartInitCommon.js:43 Uncaught (in promise) Error: Check div element with id "my-unique-chart-id" exists
Is there overrides for SciChartSurface.create method to pass target html node instead of it`s ID? Or maybe I have missed any other built-in way to use SC inside shadow DOM? Thanks for the advise.
Hello Sergey,
Thanks for the example!
Please check out version 2.0.2228 of the lib.
We have added an ability to pass a div node ref instead of an id to the SciChart.create method.
Let us know if everything works fine for you and if you have this kind of issues in any other place.
Best Regards,
Ivan
Please login first to submit.