autumnplot-gl

Hardware-accelerated geospatial data plotting in the browser


Project maintained by tsupinie Hosted on GitHub Pages — Theme by mattgraham

autumnplot-glDocs


autumnplot-gl / ColorBarOptions

Interface: ColorBarOptions

Properties

fontface?

optional fontface: string

A font face to use for the label and tick values.

Default

'sans-serif'

Source

ColorBar.ts:34


label?

optional label: string

The label to place along the color bar

Source

ColorBar.ts:9


orientation?

optional orientation: ColorbarOrientation

The orientation for the color bar. Valid values are ‘horizontal’ and ‘vertical’.

Default

'vertical'

Source

ColorBar.ts:28


tick_direction?

optional tick_direction: ColorbarTickDirection

The direction the ticks should face. Valid values are ‘left’ and ‘right’ if orientation is ‘vertical’ and ‘top’ and ‘bottom’ if orientation is ‘horizontal’.

Default

'left' if orientation is 'vertical' and 'bottom' if orientation is 'horizontal'

Source

ColorBar.ts:22


ticklabelsize?

optional ticklabelsize: number

The font size (in points) to use for the tick labels

Default

12

Source

ColorBar.ts:40


ticks?

optional ticks: number[]

An array of numbers to use as the tick locations.

Default

Use all the levels in the color map provided to {@link makeColorBar}.

Source

ColorBar.ts:15