igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
77 lines (76 loc) • 2.65 kB
JavaScript
import { __extends } from "tslib";
import { IgrAssigningSeriesStyleEventArgsBase } from "./igr-assigning-series-style-event-args-base";
import { toDoubleCollection, fromDoubleCollection } from "igniteui-react-core";
/**
* Represents event arguments class for the AssigningCategoryStyleEvent
*/
var IgrAssigningSeriesShapeStyleEventArgsBase = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(IgrAssigningSeriesShapeStyleEventArgsBase, _super);
function IgrAssigningSeriesShapeStyleEventArgsBase() {
return _super.call(this) || this;
}
Object.defineProperty(IgrAssigningSeriesShapeStyleEventArgsBase.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrAssigningSeriesShapeStyleEventArgsBase.prototype, "strokeThickness", {
/**
* Gets or sets stroke thickness to use for the current item.
*/
get: function () {
return this.i.ae;
},
set: function (v) {
this.i.ae = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrAssigningSeriesShapeStyleEventArgsBase.prototype, "strokeDashArray", {
/**
* Gets or sets stroke dash array to use for the current item.
*/
get: function () {
return fromDoubleCollection(this.i.af);
},
set: function (v) {
this.i.af = toDoubleCollection(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrAssigningSeriesShapeStyleEventArgsBase.prototype, "radiusX", {
/**
* Gets or sets corner radius X to use for the current item, if applicable.
*/
get: function () {
return this.i.ac;
},
set: function (v) {
this.i.ac = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrAssigningSeriesShapeStyleEventArgsBase.prototype, "radiusY", {
/**
* Gets or sets corner radius Y to use for the current item, if applicable.
*/
get: function () {
return this.i.ad;
},
set: function (v) {
this.i.ad = +v;
},
enumerable: false,
configurable: true
});
return IgrAssigningSeriesShapeStyleEventArgsBase;
}(IgrAssigningSeriesStyleEventArgsBase));
export { IgrAssigningSeriesShapeStyleEventArgsBase };