Skip to content

Can't disable loader property and apply a theme when initializing SciChartSurface #1

Description

@Amalthean

Unable to reliably disable loader property when initializing SciChartSurface.
Here is an excerpt of the code when trying to initialize the SciChartSurface.

    const theme = { ...new SciChartJsNavyTheme() };

    // ...
    const { sciChartSurface, wasmContext } = await SciChartSurface.create(
      rootElement,
      {
        loader: false,  // without scichart-angular component this method works
        theme,
        disableAspect: true,
      }
    );
   // ...
   sciChartSurface.background = 'transparent'; // this also does not work, I see the `<scichart-fallback>` blink for a short time

What I can see in the browser Elements section is the following:

Image

So it seems that the <scichart-fallback> is activated for a short time.
I also don't see the theme being applied correctly during the initialization phase.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions