igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
188 lines (187 loc) • 6.18 kB
JavaScript
import { __extends } from "tslib";
import { DataAnnotationDisplayMode_$type } from "./DataAnnotationDisplayMode";
import { IgrDataAnnotationRangeLayer } from "./igr-data-annotation-range-layer";
import { DataAnnotationStripLayer } from "./DataAnnotationStripLayer";
import { ensureEnum } from "igniteui-react-core";
/**
* Represents an annotation layer that renders vertical or horizontal strips between values mapped to these properties:
* StartValueMemberPath
* EndValueMemberPath
*/
var IgrDataAnnotationStripLayer = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(IgrDataAnnotationStripLayer, _super);
function IgrDataAnnotationStripLayer(props) {
return _super.call(this, props) || this;
}
IgrDataAnnotationStripLayer.prototype.createImplementation = function () {
return new DataAnnotationStripLayer();
};
Object.defineProperty(IgrDataAnnotationStripLayer.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDataAnnotationStripLayer.prototype, "startValueMemberPath", {
/**
* Gets or sets name of data column with positions for the start of annotations.
*/
get: function () {
return this.i.ai2;
},
set: function (v) {
this.i.ai2 = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDataAnnotationStripLayer.prototype, "startLabelMemberPath", {
/**
* Gets or sets mapping custom label at the start of annotations.
*/
get: function () {
return this.i.aiz;
},
set: function (v) {
this.i.aiz = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDataAnnotationStripLayer.prototype, "startLabelDisplayMode", {
/**
* Gets or sets display mode of label in the start annotation.
*/
get: function () {
return this.i.ahr;
},
set: function (v) {
this.i.ahr = ensureEnum(DataAnnotationDisplayMode_$type, v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDataAnnotationStripLayer.prototype, "endValueMemberPath", {
/**
* Gets or sets name of data column with positions for end of annotation.
*/
get: function () {
return this.i.aiv;
},
set: function (v) {
this.i.aiv = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDataAnnotationStripLayer.prototype, "endLabelMemberPath", {
/**
* Gets or sets mapping custom label at the end of annotations.
*/
get: function () {
return this.i.ais;
},
set: function (v) {
this.i.ais = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDataAnnotationStripLayer.prototype, "endLabelDisplayMode", {
/**
* Gets or sets display mode of label at the end annotation.
*/
get: function () {
return this.i.ahq;
},
set: function (v) {
this.i.ahq = ensureEnum(DataAnnotationDisplayMode_$type, v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDataAnnotationStripLayer.prototype, "centerLabelMemberPath", {
/**
* Gets or sets mapping custom label between start and end of data annotations.
*/
get: function () {
return this.i.aio;
},
set: function (v) {
this.i.aio = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDataAnnotationStripLayer.prototype, "centerLabelDisplayMode", {
/**
* Gets or sets display mode of label in the center annotation.
*/
get: function () {
return this.i.ahp;
},
set: function (v) {
this.i.ahp = ensureEnum(DataAnnotationDisplayMode_$type, v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDataAnnotationStripLayer.prototype, "annotationBadgeEnabledMemberPath", {
/**
* Gets or sets a member path for visibility of the badge annotations on an axis.
*/
get: function () {
return this.i.aie;
},
set: function (v) {
this.i.aie = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDataAnnotationStripLayer.prototype, "annotationBadgeBackgroundMemberPath", {
/**
* Gets or sets a member path for background of the badge annotations on an axis.
*/
get: function () {
return this.i.aib;
},
set: function (v) {
this.i.aib = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDataAnnotationStripLayer.prototype, "annotationBadgeOutlineMemberPath", {
/**
* Gets or sets a member path for outline of the badge annotations on an axis.
*/
get: function () {
return this.i.aik;
},
set: function (v) {
this.i.aik = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDataAnnotationStripLayer.prototype, "annotationBadgeImageMemberPath", {
/**
* Gets or sets a member path for image of the badge annotations on an axis.
*/
get: function () {
return this.i.aih;
},
set: function (v) {
this.i.aih = v;
},
enumerable: false,
configurable: true
});
return IgrDataAnnotationStripLayer;
}(IgrDataAnnotationRangeLayer));
export { IgrDataAnnotationStripLayer };