@antadesign/plot
    Preparing search index...

    Type Alias RuleArgs<Row, TooltipContent>

    type RuleArgs<Row, TooltipContent = unknown> = {
        data?: Row[];
        x?: RuleValueArg<Row>;
        y?: RuleValueArg<Row>;
        color?: ColorArg<Row>;
        highlight_color?: ColorArg<Row>;
        width?: number;
        dash?: number[];
        tooltip?: true | ((data: PointData<Row>) => TooltipContent);
        on_select?: (data: PointData<Row>) => unknown;
        hoverable?: boolean;
        highlight?: boolean;
    }

    Type Parameters

    • Row
    • TooltipContent = unknown
    Index
    data?: Row[]
    x?: RuleValueArg<Row>
    y?: RuleValueArg<Row>
    color?: ColorArg<Row>
    highlight_color?: ColorArg<Row>
    width?: number
    dash?: number[]
    tooltip?: true | ((data: PointData<Row>) => TooltipContent)
    on_select?: (data: PointData<Row>) => unknown
    hoverable?: boolean
    highlight?: boolean