igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
108 lines (107 loc) • 3.68 kB
JavaScript
import { __extends } from "tslib";
import { IgrDataAnnotationShapeLayer } from "./igr-data-annotation-shape-layer";
import { DataAnnotationSliceLayer } from "./DataAnnotationSliceLayer";
/**
* Represents an annotation layer that renders vertical or horizontal slices/lines at values mapped to AnnotationValueMemberPath property
* horizontal slices/lines when TargetAxis is set to Y-axis
* vertical slices/lines when TargetAxis is set to X-axis
*/
var IgrDataAnnotationSliceLayer = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(IgrDataAnnotationSliceLayer, _super);
function IgrDataAnnotationSliceLayer(props) {
return _super.call(this, props) || this;
}
IgrDataAnnotationSliceLayer.prototype.createImplementation = function () {
return new DataAnnotationSliceLayer();
};
Object.defineProperty(IgrDataAnnotationSliceLayer.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDataAnnotationSliceLayer.prototype, "annotationValueMemberPath", {
/**
* Gets or sets name of data column with values used to position annotations.
*/
get: function () {
return this.i.aho;
},
set: function (v) {
this.i.aho = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDataAnnotationSliceLayer.prototype, "annotationLabelMemberPath", {
/**
* Gets or sets mapping custom label on axis annotations.
*/
get: function () {
return this.i.ahl;
},
set: function (v) {
this.i.ahl = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDataAnnotationSliceLayer.prototype, "annotationBadgeEnabledMemberPath", {
/**
* Gets or sets a member path for visibility of the badge annotations on an axis.
*/
get: function () {
return this.i.ahc;
},
set: function (v) {
this.i.ahc = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDataAnnotationSliceLayer.prototype, "annotationBadgeBackgroundMemberPath", {
/**
* Gets or sets a member path for background of the badge annotations on an axis.
*/
get: function () {
return this.i.ag9;
},
set: function (v) {
this.i.ag9 = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDataAnnotationSliceLayer.prototype, "annotationBadgeOutlineMemberPath", {
/**
* Gets or sets a member path for outline of the badge annotations on an axis.
*/
get: function () {
return this.i.ahi;
},
set: function (v) {
this.i.ahi = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDataAnnotationSliceLayer.prototype, "annotationBadgeImageMemberPath", {
/**
* Gets or sets a member path for image of the badge annotations on an axis.
*/
get: function () {
return this.i.ahf;
},
set: function (v) {
this.i.ahf = v;
},
enumerable: false,
configurable: true
});
return IgrDataAnnotationSliceLayer;
}(IgrDataAnnotationShapeLayer));
export { IgrDataAnnotationSliceLayer };