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

    Interface DataLabels

    interface DataLabels {
        align: Position;
        anchor: Position;
        backgroundColor: string;
        borderColor: string;
        borderRadius: number;
        borderWidth: number | ((ctx: DataLabelsContext) => number);
        color: string | ((ctx: DataLabelsContext) => string);
        display: boolean | ((ctx: DataLabelsContext) => boolean);
        formatter: (value: any, ctx: DataLabelsContext) => string | number;
        textShadowBlur: number;
        textShadowColor: string;
        textStrokeColor: string | ((ctx: DataLabelsContext) => string);
        textStrokeWidth: number | ((ctx: DataLabelsContext) => number);
    }
    Index

    Properties

    align: Position
    anchor: Position
    backgroundColor: string
    borderColor: string
    borderRadius: number
    borderWidth: number | ((ctx: DataLabelsContext) => number)
    color: string | ((ctx: DataLabelsContext) => string)
    display: boolean | ((ctx: DataLabelsContext) => boolean)
    formatter: (value: any, ctx: DataLabelsContext) => string | number
    textShadowBlur: number
    textShadowColor: string
    textStrokeColor: string | ((ctx: DataLabelsContext) => string)
    textStrokeWidth: number | ((ctx: DataLabelsContext) => number)