API / geotoolkit / axis / Axis / Axis
Type Aliases
Type Aliases
Ƭ Options: Options & OptionsBase
Ƭ OptionsBase: Object
User can pass an object OR a tickGenerator (by default AdaptiveTickGenerator is used of nothing is passed)
| Name | Type | Description |
|---|---|---|
autolabelrotation? | boolean | automatic label rotation |
autolabelrotationangle? | number | - |
baselinestyle? | Type | base line style |
bounds? | Rect | axis bounds |
dimension? | AxisMappingDimension | Options | Axis dimension to setup axis limits |
hideoverlappedtext? | boolean | hide overlapped text flag |
infinity? | boolean | infinity mode |
labelmanualsettings? | boolean | enable / disable manual settings for labels like anchor |
labeloffset? | number | offset the label offset |
labelpadding? | number | label padding size in pixels |
labelposition? | LabelPosition | label position |
layoutstyle? | LayoutStyle | Options | desired layout style |
maximumlabelsize? | number | maximum label size (in device), text will be wrapped, if it is bigger than maximum label size |
modellimits? | Rect | rectangle where to generate ticks |
orientation? | Orientation | axis orientation |
textstyle? | Type | labels textstyle |
tickgenerator? | TickGenerator | Options | tickGenerator to use in axis |
tickposition? | TickPosition | tick position |
title? | Title | axis title |
visiblebaseline? | boolean | visibility of baseline |
Ƭ OptionsOut: OptionsOut & { autolabelrotation?: boolean ; autolabelrotationangle?: number ; baselinestyle?: LineStyle ; bounds?: Rect ; dimension?: AxisMappingDimension ; hideoverlappedtext?: boolean ; infinity?: boolean ; labelmanualsettings?: boolean ; labeloffset?: number ; labelpadding?: number ; labelposition?: LabelPosition ; layoutstyle?: LayoutStyle ; maximumlabelsize?: number ; modellimits?: Rect ; orientation?: Orientation ; textstyle?: TextStyle ; tickgenerator?: TickGenerator ; tickposition?: TickPosition ; title?: TitleOut ; visiblebaseline?: boolean }
An object containing the properties
Ƭ Title: Object
axis title text or title object
| Name | Type | Description |
|---|---|---|
alignment? | AnchorType | alignment |
margin? | Type | margin style |
offset? | Point | Dimension | offset |
showellipsis? | boolean | enables/disables ellipsis in case if text is too long |
text? | string | axis title text |
textstyle? | Type | text style |
visible? | boolean | visibility |
Ƭ TitleOut: Object
axis title text or title object
| Name | Type | Description |
|---|---|---|
alignment? | AnchorType | alignment |
margin? | SpaceStyle | margin style |
offset? | Point | offset |
showellipsis? | boolean | enables/disables ellipsis in case if text is too long |
text? | string | axis title text |
textstyle? | TextStyle | text style |
visible? | boolean | visibility |