mm-jsr
    Preparing search index...

    Interface ModuleGridSettings

    interface ModuleGridSettings {
        color: string;
        fontFamily: string;
        fontSize: number;
        formatter: (realValue: number) => string;
        getLinesCount: (opt: ModuleGridGetLinesCountParams) => number;
        height: number;
        shouldShowLabel: (params: ModuleGridShouldShowLabelParams) => boolean;
        textPadding: number;
    }
    Index

    Properties

    color: string

    Color of grid text and lines. Can be any CSS valid color string

    fontFamily: string

    Font family of grid text (should be supported by the browser)

    fontSize: number

    Font size of grid text (in pixels, no unit)

    formatter: (realValue: number) => string

    Formatter used to format values before rendering them as text

    getLinesCount: (opt: ModuleGridGetLinesCountParams) => number

    Returns count of lines, that should be rendered for grid

    height: number

    Height of grid lines (in pixels, no unit)

    shouldShowLabel: (params: ModuleGridShouldShowLabelParams) => boolean

    Function that determines whether line label should be drawn or not

    textPadding: number

    Vertical distance between text and lines (in pixels, no unit)