@antadesign/plot
    Preparing search index...

    Interface PlotProps<Content>

    interface PlotProps<Content = React.ReactNode> {
        className?: string;
        style?: CSSProperties;
        id?: string;
        title?: string;
        slot?: string;
        tabIndex?: number;
        key?: string | number | null;
        plotArgs: PlotArgs<Content>;
        onError?: (failure: PlotLifecycleError) => void;
        resolveTooltipContent?: (content: Content) => ReactNode;
        [key: `data-${string}`]: unknown;
        [key: `aria-${string}`]: unknown;
    }

    Type Parameters

    • Content = React.ReactNode

    Hierarchy

    • Omit<BaseProps, "children">
      • PlotProps

    Indexable

    • [key: `data-${string}`]: unknown
    • [key: `aria-${string}`]: unknown
    Index
    className?: string

    Adds CSS classes to the root element and preserves its existing classes.

    style?: CSSProperties

    Inline CSS styles on the root element.

    id?: string

    HTML id attribute.

    title?: string

    HTML title attribute, shown as a browser tooltip on hover.

    slot?: string

    Named slot in a parent web component, such as slot="header" in a <Dialog>.

    tabIndex?: number

    Tab order. Set to -1 to skip the element when tabbing.

    key?: string | number | null

    React/Preact reconciliation key when rendered inside a list. Consumed by the JSX runtime (not forwarded as a DOM attribute).

    plotArgs: PlotArgs<Content>

    Complete configuration. Replace the object to apply changes.

    onError?: (failure: PlotLifecycleError) => void

    Receives configuration, composition, and drawing failures.

    resolveTooltipContent?: (content: Content) => ReactNode

    Converts custom tooltip content into renderable nodes. Defaults to using the content directly.