API / geotoolkit / widgets / legends / LegendOptions
Type Aliases
Type Aliases
Ƭ LegendOptions: Object
Define legend options
| Name | Type | Description |
|---|---|---|
alignment? | AnchorType | default legend alignment (can be moved by user) |
data? | OptionsBase["data"] | legend data |
fillstyle? | Type | legend background fillstyle |
layoutstyle? | Options | legend layout style |
linestyle? | Type | legend border linestyle |
location? | AnnotationLocation | legend annotation location |
margins? | Type | It has properties for specifying the margins for each side |
offset? | Point | Options | number | default legend offset (in px) in specifiet device space |
orientation? | Orientation | legend content orientation |
size? | true | Dimension | Options | if true then auto size to calculate device size of the legend, or size corresponds to dimension |
type? | string | Type of the items to be displayed |
visible? | boolean | legend visibility flag |
Ƭ LegendOptionsOut: Object
Define legend out options
| Name | Type | Description |
|---|---|---|
alignment | AnchorType | default legend alignment (can be moved by user) |
data? | OptionsOut["data"] | legend data |
fillstyle | FillStyle | legend background fillstyle |
linestyle | LineStyle | legend border linestyle |
location | AnnotationLocation | legend annotation location |
margins | SpaceStyle | It has properties for specifying the margins for each side |
offset | Point | default legend offset (in px) from the chart center limits |
orientation | Orientation | legend content orientation |
size | true | Dimension | if true then auto size to calculate device size of the legend, or size corresponds to dimension |
type? | string | Type of the items to be displayed |
visible | boolean | legend visibility flag |