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.ai1;
},
set: function (v) {
this.i.ai1 = 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.aiy;
},
set: function (v) {
this.i.aiy = 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.ahq;
},
set: function (v) {
this.i.ahq = 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.aiu;
},
set: function (v) {
this.i.aiu = 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.air;
},
set: function (v) {
this.i.air = 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.ahp;
},
set: function (v) {
this.i.ahp = 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.ain;
},
set: function (v) {
this.i.ain = 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.aho;
},
set: function (v) {
this.i.aho = 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.aid;
},
set: function (v) {
this.i.aid = 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.aia;
},
set: function (v) {
this.i.aia = 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.aij;
},
set: function (v) {
this.i.aij = 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.aig;
},
set: function (v) {
this.i.aig = v;
},
enumerable: false,
configurable: true
});
return IgrDataAnnotationStripLayer;
}(IgrDataAnnotationRangeLayer));
export { IgrDataAnnotationStripLayer };