SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components

Answered
0
0

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.

Version
2.0.2139
  • You must to post comments
Best Answer
2
0

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

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.