UNPKG

ag-charts-community

Version:

Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue

35 lines (34 loc) 1.17 kB
import { Series } from "../series"; import { SeriesMarker, SeriesMarkerFormatterParams } from "../seriesMarker"; export declare abstract class PolarSeries extends Series { directionKeys: { x: string[]; y: string[]; }; /** * The center of the polar series (for example, the center of a pie). * If the polar chart has multiple series, all of them will have their * center set to the same value as a result of the polar chart layout. * The center coordinates are not supposed to be set by the user. */ centerX: number; centerY: number; /** * The maximum radius the series can use. * This value is set automatically as a result of the polar chart layout * and is not supposed to be set by the user. */ radius: number; } export declare class PolarSeriesMarker extends SeriesMarker { formatter?: (params: PolarSeriesMarkerFormatterParams) => { fill?: string; stroke?: string; strokeWidth: number; size: number; }; } export interface PolarSeriesMarkerFormatterParams extends SeriesMarkerFormatterParams { angleKey: string; radiusKey: string; }