Pre loader

SCI chart Multiple Instance Issue

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

Multiple instances of sci chart any appearance changes reflecting on other instances. When I changed the background of one instance the same is reflected in the other instance. I have updated with createSingle to resolve this issue, But i am getting one alert when using createSingle.

Version
1.2.1413
Images
  • You must to post comments
1
0

Hi Arun,

Sorry for the long reply. I reproduced the bug. It happened when I applied the theme for more than one SciChartSurface on the same page, like this:

export const drawExample1 = async () => {
    const { sciChartSurface, wasmContext } = await SciChartSurface.create(divElementId);
    sciChartSurface.applyTheme(new SciChartJSDarkTheme());
    ...
}
export const drawExample2 = async () => {
    const { sciChartSurface, wasmContext } = await SciChartSurface.create(divElementId2);
    sciChartSurface.applyTheme(new SciChartJSLightTheme());
    ...
}

We fixed it in the version 1.2.1431. Please update scichart.js and let us know if it helps. If it does not please provide the example code.

Best regards,
Michael

  • You must to post comments
0
0

Hi Arun

Can you share some code that causes this issue?

We did have another customer with the same issue but turned out to be a problem in their code.

Can you share with us the code that you use to initialise the charts? If you can reproduce the issue in a sample and send it to us, we will be able to advise.

Best regards,
Andrew

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies