API / geotoolkit / controls / shapes / PolarGrid / PolarGrid
Type Aliases
Ƭ GridLines: Object
| Name | Type | Description |
|---|---|---|
angles? | { labeloffset?: number ; labels?: { text?: (string | number)[] ; values?: number[] } ; labelsalongcircumference?: boolean ; linestyle?: Type ; textstyle?: Type ; visible?: boolean ; visiblelabels?: boolean } | define options of angles gridlines |
angles.labeloffset? | number | radius offset for labels |
angles.labels? | { text?: (string | number)[] ; values?: number[] } | define optional labels instead of standard |
angles.labels.text? | (string | number)[] | define optional array of text labels |
angles.labels.values? | number[] | define optional array of angles |
angles.labelsalongcircumference? | boolean | labels drawn along outer circumference |
angles.linestyle? | Type | line style |
angles.textstyle? | Type | labels style |
angles.visible? | boolean | visibility of angles grid |
angles.visiblelabels? | boolean | visibility of angles labels |
radius? | { highlighted?: Type ; linestyle?: Type ; step?: number ; values?: number[] ; visible?: boolean } | define options of radius gridlines |
radius.highlighted? | Type | define a color to highlight grid |
radius.linestyle? | Type | line style |
radius.step? | number | step by radius in model coordinates |
radius.values? | number[] | optional positions of lines. In this case step ignored. values are in raduses |
radius.visible? | boolean | visibility of radius grid |
Ƭ Options: Options & OptionsBase & { options?: OptionsBase }
Ƭ OptionsBase: Object
object containing grid options
| Name | Type | Description |
|---|---|---|
angle? | number | an increment angle of the grid |
center? | Point | { x: number ; y: number } | a center of the polar chart |
gridlines? | GridLines | gridlines properties |
linestyle? | Type | line style to specify style for outer circle |
modelradius? | number | radius of the polar chart in the model coordinates |
outerradius? | number | a radius of the polar chart |
startangle? | number | a start angle to be used for 0 angle (by default it is E direction) |
Ƭ OptionsBaseOut: Merge<OptionsBase, { center: Point }>
Ƭ OptionsOut: OptionsOut & OptionsBaseOut & { options: OptionsBaseOut }
object containing grid properties
Ƭ Sector: Object
Grid sector info
| Name | Type |
|---|---|
color | string |
end | number |
length? | number |
start | number |