@amad3v/solid-echarts - v1.0.2
    Preparing search index...

    Type Alias CreateChartOptions

    CreateChartOptions: Partial<WithMaybeAccessor<CreateChartMaybeOptions>> & Omit<
        EChartsInitOpts,
        "renderer",
    > & { onResize?: () => void; resizeDebounce?: number }

    Options for createChart.

    Type Declaration

    • OptionalonResize?: () => void

      Called after every successful chart.resize triggered by the ResizeObserver. Not called when resize is skipped (zero-sized container or unchanged dimensions on first observation). Static.

      createChart(container, {
      autoResize: true,
      onResize: () => console.log('chart resized'),
      });
    • OptionalresizeDebounce?: number

      Debounce delay in milliseconds for ResizeObserver callbacks. Defaults to 100. Set to 0 to call chart.resize on every observation without debouncing. Static.

    Reactive options (in CreateChartMaybeOptions) accept both plain values and accessors. Static options are plain values only - they are read once at init time and changes after mount have no effect.

    Reactive - updated in place after mount:

    • renderer - reinits the instance (only option that does)
    • theme - calls setTheme
    • group - updates chart.group and calls connect
    • autoResize - attaches or detaches the ResizeObserver

    Static - read at init time only:

    • locale, devicePixelRatio, useDirtyRect, resizeDebounce