Interface
LabelOptions
Options of addLabel.
Properties
| Name | Type | Description |
|---|---|---|
x | number | |
y | number | |
yAxis? | 'left' | 'right' | |
text? | string | |
icon? | PlotIcon | null | |
color? | string | null | |
align? | 'left' | 'center' | 'right' | |
offset? | [
number,
number
] | Offset of the text from the point, CSS px right and down. Default |
Declaration
export interface LabelOptions {
x: number;
y: number;
yAxis?: 'left' | 'right';
text?: string;
icon?: PlotIcon | null;
color?: string | null;
align?: 'left' | 'center' | 'right';
offset?: [
number,
number
];
}