Class: DomLabelMapOptions
Class: DomLabelMapOptions
Labels map options for creation.
Properties
horizontalAlignment
• Optional
horizontalAlignment: LabelAlignment
Alignment for label container.
maxLabelPointsCount
• Optional
maxLabelPointsCount: number
Max visible label points on the screen when maxVisibleLabelsCount is not Infinity.
maxVisibleLabelsCount
• Optional
maxVisibleLabelsCount: number
Max visible labels on the screen.
name
• name: string
Name of the labels map.
render
• render: (container
: HTMLElement
, value
: any
, color
: string
, elNum
: number
) => void
Content render callback function.
Type declaration
▸ (container
, value
, color
, elNum
): void
Content render callback function.
Parameters
Name | Type |
---|---|
container | HTMLElement |
value | any |
color | string |
elNum | number |
Returns
void
updater
• Optional
updater: (container
: HTMLElement
, value
: any
, color
: string
, elNum
: number
) => void
Content updater callback function.
Type declaration
▸ (container
, value
, color
, elNum
): void
Content updater callback function.
Parameters
Name | Type |
---|---|
container | HTMLElement |
value | any |
color | string |
elNum | number |
Returns
void
verticalAlignment
• Optional
verticalAlignment: LabelAlignment
Alignment for label container.