UNPKG

ag-charts-community

Version:

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

55 lines 2.29 kB
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); Object.defineProperty(exports, "__esModule", { value: true }); var series_1 = require("../series"); var chartAxis_1 = require("../../chartAxis"); var seriesMarker_1 = require("../seriesMarker"); var PolarSeries = /** @class */ (function (_super) { __extends(PolarSeries, _super); function PolarSeries() { var _a; var _this = _super !== null && _super.apply(this, arguments) || this; _this.directionKeys = (_a = {}, _a[chartAxis_1.ChartAxisDirection.X] = ['angleKey'], _a[chartAxis_1.ChartAxisDirection.Y] = ['radiusKey'], _a); /** * 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; return _this; } return PolarSeries; }(series_1.Series)); exports.PolarSeries = PolarSeries; var PolarSeriesMarker = /** @class */ (function (_super) { __extends(PolarSeriesMarker, _super); function PolarSeriesMarker() { return _super !== null && _super.apply(this, arguments) || this; } return PolarSeriesMarker; }(seriesMarker_1.SeriesMarker)); exports.PolarSeriesMarker = PolarSeriesMarker; //# sourceMappingURL=polarSeries.js.map