Appearance
LevelStyle
Type: object
Visual appearance overrides for a single grid level. Any property left undefined falls back to a built-in default.
Properties
- color(optional)
stringLine or dot colour for this level. Default:'#ddd'for minor levels,'#bbb'for the coarsest. - dotRadius(optional)
numberDot radius in screen pixels. Only used whenwidthis0. Default:0(no dots). - stroke(optional)
stringSVGstroke-dasharrayvalue, e.g.'4 2'for dashed lines. Omit for solid lines. - width(optional)
numberStroke width in screen pixels (applies to line rendering only). Set to0to render dots instead. Default:1for minor levels,2for the coarsest.