ag-charts-community
Version:
Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue
29 lines • 1.09 kB
JavaScript
import { Series } from "../series";
import { ChartAxisDirection } from "../../chartAxis";
import { SeriesMarker } from "../seriesMarker";
export class PolarSeries extends Series {
constructor() {
super(...arguments);
this.directionKeys = {
[ChartAxisDirection.X]: ['angleKey'],
[ChartAxisDirection.Y]: ['radiusKey']
};
/**
* 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.
*/
this.centerX = 0;
this.centerY = 0;
/**
* 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.
*/
this.radius = 0;
}
}
export class PolarSeriesMarker extends SeriesMarker {
}
//# sourceMappingURL=polarSeries.js.map