interface GridStyle {
    color: string;
    dash?: number[];
    horz?: GridAxisStyle;
    lineWidth: number;
    vert?: GridAxisStyle;
}

Properties

color: string
dash?: number[]

Optional dash pattern (device px already applied by the caller's dpr).

Horizontal-line overrides; each field falls back to the flat pair above.

lineWidth: number

Vertical-line overrides; each field falls back to the flat pair above.