stream-charts
    Preparing search index...
    interface LegendStyle {
        backgroundColor: string;
        backgroundOpacity: number;
        borderColor: string;
        borderOpacity: number;
        borderRadius: number;
        borderWidth: number;
        fontColor: string;
        fontFamily: string;
        fontSize: number;
        maxHeight?: number;
        padding: number;
        rowGap: number;
        swatchHeight: number;
        swatchLabelGap: number;
        swatchWidth: number;
        transitionDuration: number;
    }
    Index

    Properties

    backgroundColor: string

    Background fill color for the legend box

    backgroundOpacity: number

    Background opacity for the legend box

    borderColor: string

    Border/stroke color for the legend box

    borderOpacity: number

    Border opacity for the legend box

    borderRadius: number

    Corner radius of the legend box

    borderWidth: number

    Border width for the legend box

    fontColor: string

    Font color for the legend labels

    fontFamily: string

    Font family for the legend labels

    fontSize: number

    Font size for the legend labels

    maxHeight?: number

    Maximum height of the legend before it starts scrolling (in pixels). If not provided, defaults to the plot height.

    padding: number

    Padding inside the legend box (in pixels)

    rowGap: number

    Vertical space between legend entries

    swatchHeight: number

    Height of the color swatch next to each label

    swatchLabelGap: number

    Gap between the swatch and the label text

    swatchWidth: number

    Width of the color swatch next to each label

    transitionDuration: number

    Duration of the visibility transition in milliseconds