x4js - v2.3.17
    Preparing search index...

    Interface ChartProps

    interface ChartProps {
        attrs?: Record<string, string | number | boolean>;
        click?: EventCallback<EvChartClick>;
        cls?: string;
        disabled?: boolean;
        dom_events?: GlobalDOMEvents;
        existingDOM?: HTMLElement;
        flex?: number | boolean;
        formatter?: (value: number) => string;
        height?: string | number;
        hidden?: boolean;
        id?: string;
        labels?: string[];
        legend?: boolean;
        ns?: string;
        series: ChartSerie[];
        stacked?: boolean;
        stretch?: boolean;
        style?: StyleProps;
        tag?: string;
        tooltip?: string;
        type?: ChartType;
        width?: string | number;
        xaxis?: ChartAxis;
        yaxis?: ChartAxis;
    }

    Hierarchy

    • Omit<SvgProps, "svg" | "viewbox" | "content">
      • ChartProps
    Index
    attrs?: Record<string, string | number | boolean>

    HTML attributes.

    cls?: string

    Additional CSS classes.

    disabled?: boolean

    Component is initialy disabled.

    dom_events?: GlobalDOMEvents

    DOM event listeners.

    existingDOM?: HTMLElement

    Existing DOM element to wrap.

    flex?: number | boolean

    Enables flex layout (boolean) or sets flex-grow (number).

    formatter?: (value: number) => string
    height?: string | number

    Height (px or string like "50%").

    hidden?: boolean

    Component is initialy hidden.

    id?: string

    Element ID.

    labels?: string[]
    legend?: boolean
    ns?: string

    Namespace for SVG/MathML elements.

    series: ChartSerie[]
    stacked?: boolean
    stretch?: boolean
    style?: StyleProps

    Inline CSS styles.

    tag?: string

    HTML tag name (default: "div").

    tooltip?: string

    Tooltip text.

    type?: ChartType
    width?: string | number

    Width (px or string like "50%" or "3em").

    xaxis?: ChartAxis
    yaxis?: ChartAxis