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.
- Arun Surendran asked 3 years ago
-
Any update ??
-
Any update or any solution for this??
-
Hi Scichart Team.. are you looking on the issue??
- You must login to post comments
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
- Michael Klishevich answered 3 years ago
- You must login to post comments
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
- Andrew Burnett-Thompson answered 3 years ago
- You must login to post comments
Please login first to submit.