scichart
Version:
Fast WebGL JavaScript Charting Library and Framework
56 lines (55 loc) • 2.58 kB
JavaScript
;
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 (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.PolarSeriesSelectionModifier = void 0;
var ChartModifierType_1 = require("../../../types/ChartModifierType");
var ModifierType_1 = require("../../../types/ModifierType");
var SeriesSelectionModifier_1 = require("../SeriesSelectionModifier");
/**
* The PolarSeriesSelectionModifier provides an ability to select renderable series on a 2D {@link SciChartPolarSurface}
* within SciChart - High Performance {@link https://www.scichart.com/javascript-chart-features | JavaScript Charts}
* @remarks
*
* To apply the `PolarSeriesSelectionModifier` to a {@link SciChartPolarSurface} use the following code:
*
* ```ts
* sciChartSurface.chartModifiers.add(
* new PolarSeriesSelectionModifier()
* );
* ```
*/
var PolarSeriesSelectionModifier = /** @class */ (function (_super) {
__extends(PolarSeriesSelectionModifier, _super);
/**
* Creates an instances of PolarSeriesSelectionModifier
* @param options Optional parameters of type {@link IPolarSeriesSelectionModifierOptions} used to configure the modifier
*/
function PolarSeriesSelectionModifier(options) {
var _this = _super.call(this, options) || this;
_this.type = ChartModifierType_1.EChart2DModifierType.PolarSeriesSelection;
return _this;
}
Object.defineProperty(PolarSeriesSelectionModifier.prototype, "modifierType", {
get: function () {
return ModifierType_1.EModifierType.Chart2DPolarModifier;
},
enumerable: false,
configurable: true
});
return PolarSeriesSelectionModifier;
}(SeriesSelectionModifier_1.SeriesSelectionModifier));
exports.PolarSeriesSelectionModifier = PolarSeriesSelectionModifier;