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
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.
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.
Please login first to submit.