MAIDR JavaScript API
    Preparing search index...

    The resolved chart options in w.config, as far as the adapter reads them.

    ApexCharts mutates these while drawing — xaxis.categories is emptied on a line chart and a collapsed series loses its data — so values are read from ApexGlobals and only settings are read from here.

    interface ApexConfig {
        chart: {
            type?: string;
            stacked?: boolean;
            stackType?: string;
            width?: string | number;
            animations?: {
                enabled?: boolean;
                speed?: number;
                dynamicAnimation?: { enabled?: boolean; speed?: number };
            };
            accessibility?: {
                enabled?: boolean;
                keyboard?: { enabled?: boolean; navigation?: { enabled?: boolean } };
            };
        };
        series: ApexSeriesOption[];
        title?: ApexTextOption;
        subtitle?: ApexTextOption;
        xaxis?: ApexAxisOption;
        yaxis?: ApexAxisOption
        | ApexAxisOption[];
        stroke?: { curve?: string | string[]; show?: boolean };
        markers?: { size?: number | number[] };
        plotOptions?: {
            bar?: { horizontal?: boolean; isFunnel?: boolean };
            pie?: { startAngle?: number; endAngle?: number };
        };
    }
    Index

    Properties

    chart: {
        type?: string;
        stacked?: boolean;
        stackType?: string;
        width?: string | number;
        animations?: {
            enabled?: boolean;
            speed?: number;
            dynamicAnimation?: { enabled?: boolean; speed?: number };
        };
        accessibility?: {
            enabled?: boolean;
            keyboard?: { enabled?: boolean; navigation?: { enabled?: boolean } };
        };
    }

    Chart-wide settings.

    Type Declaration

    • Optionaltype?: string

      The default series type.

    • Optionalstacked?: boolean

      Whether bars or areas are stacked.

    • OptionalstackType?: string

      'normal' or '100%'.

    • Optionalwidth?: string | number

      The chart's width: a number of pixels, or a string such as '100%'.

    • Optionalanimations?: {
          enabled?: boolean;
          speed?: number;
          dynamicAnimation?: { enabled?: boolean; speed?: number };
      }

      Animation settings.

    • Optionalaccessibility?: {
          enabled?: boolean;
          keyboard?: { enabled?: boolean; navigation?: { enabled?: boolean } };
      }

      ApexCharts 7's own accessibility layer.

    The series, possibly mutated by ApexCharts.

    The chart title.

    subtitle?: ApexTextOption

    The chart subtitle.

    The x axis.

    The y axes; ApexCharts always normalises this to an array.

    stroke?: { curve?: string | string[]; show?: boolean }

    Line and area stroke settings.

    Type Declaration

    • Optionalcurve?: string | string[]

      'straight', 'smooth', 'stepline', 'linestep' or 'monotoneCubic', or one per series.

    • Optionalshow?: boolean

      Whether strokes are drawn at all.

    markers?: { size?: number | number[] }

    Marker settings for line, area and radar charts.

    Type Declaration

    • Optionalsize?: number | number[]

      Marker size, or one per series. 0 means no per-point markers.

    plotOptions?: {
        bar?: { horizontal?: boolean; isFunnel?: boolean };
        pie?: { startAngle?: number; endAngle?: number };
    }

    Per-type drawing options.