@amcharts/amcharts5
Version:
amCharts 5
52 lines • 1.71 kB
TypeScript
import type { IPoint } from "../../../core/util/IPoint";
import { RadialLabel, IRadialLabelSettings, IRadialLabelPrivate } from "../../../core/render/RadialLabel";
export interface IAxisLabelRadialSettings extends IRadialLabelSettings {
/**
* Relative location of the label within the cell.
*
* `0` - beginning, `0.5` - middle, `1` - end.
*/
location?: number;
/**
* Relative location of the label within the cell when it spans multiple
* intervals.
*
* `0` - beginning, `0.5` - middle, `1` - end.
*/
multiLocation?: number;
/**
* The minimum relative position within visible axis scope the label can
* appear on.
*
* E.g. `0.1` will mean that label will not be shown if it's closer to the
* beginning of the axis than 10%.
*
* @default 0
*/
minPosition?: number;
/**
* The maximum relative position within visible axis scope the label can
* appear on.
*
* E.g. `0.9` will mean that label will not be shown if it's closer to the
* end of the axis than 10%.
*
* @default 0
*/
maxPosition?: number;
}
export interface IAxisLabelRadialPrivate extends IRadialLabelPrivate {
}
/**
* Draws a label on a circular axis.
*
* @see {@link https://www.amcharts.com/docs/v5/charts/xy-chart/axes/#Labels} for more info
*/
export declare class AxisLabelRadial extends RadialLabel {
_settings: IAxisLabelRadialSettings;
_privateSettings: IAxisLabelRadialPrivate;
static className: string;
static classNames: Array<string>;
_tickPoints: Array<IPoint>;
}
//# sourceMappingURL=AxisLabelRadial.d.ts.map