stz-util Documentation - v1.5.2
    Preparing search index...

    Interface CommonCartesianLegendConfig

    interface CommonCartesianLegendConfig {
        align?: Align;
        display?: boolean;
        labels?: {
            boxHeight?: number;
            boxWidth?: number;
            color?: string;
            filter?: (item: any, data: any) => boolean;
            font?: FontSpec;
            generateLabels?: (chart: any) => any[];
            padding?: number;
            pointStyle?: string | boolean;
            sort?: (a: any, b: any, data: any) => number;
            textAlign?: "center" | "left" | "right";
            usePointStyle?: boolean;
        };
        onClick?: (e: any, legendItem: any, legend: any) => void;
        onHover?: (e: any, legendItem: any, legend: any) => void;
        onLeave?: (e: any, legendItem: any, legend: any) => void;
        position?: "center" | "left" | "right" | "top" | "bottom" | "chartArea";
    }
    Index

    Properties

    align?: Align
    display?: boolean
    labels?: {
        boxHeight?: number;
        boxWidth?: number;
        color?: string;
        filter?: (item: any, data: any) => boolean;
        font?: FontSpec;
        generateLabels?: (chart: any) => any[];
        padding?: number;
        pointStyle?: string | boolean;
        sort?: (a: any, b: any, data: any) => number;
        textAlign?: "center" | "left" | "right";
        usePointStyle?: boolean;
    }
    onClick?: (e: any, legendItem: any, legend: any) => void
    onHover?: (e: any, legendItem: any, legend: any) => void
    onLeave?: (e: any, legendItem: any, legend: any) => void
    position?: "center" | "left" | "right" | "top" | "bottom" | "chartArea"