igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
238 lines (237 loc) • 6.66 kB
JavaScript
import { DataAnnotationDisplayMode_$type } from "./DataAnnotationDisplayMode";
import { IgrDataAnnotationRangeLayer } from "./igr-data-annotation-range-layer";
import { ensureEnum } from "igniteui-react-core";
/**
* Represents a base of annotation layers that render shapes at locations of x/y values mapped to these properties:
* StartValueXMemberPath
* StartValueYMemberPath
* EndValueXMemberPath
* EndValueYMemberPath
*/
export class IgrDataAnnotationPointLayer extends IgrDataAnnotationRangeLayer {
/**
* @hidden
*/
get i() {
return this._implementation;
}
constructor(props) {
super(props);
}
/**
* Gets or sets name of data column with x-positions for the start of annotations.
*/
get startValueXMemberPath() {
return this.i.akf;
}
set startValueXMemberPath(v) {
this.i.akf = v;
}
/**
* Gets or sets name of data column with y-positions for the start of annotations.
*/
get startValueYMemberPath() {
return this.i.aki;
}
set startValueYMemberPath(v) {
this.i.aki = v;
}
/**
* Gets or sets mapping custom label at the start of annotations on x-axis.
*/
get startLabelXMemberPath() {
return this.i.aj8;
}
set startLabelXMemberPath(v) {
this.i.aj8 = v;
}
/**
* Gets or sets mapping custom label at the start of annotations on y-axis.
*/
get startLabelYMemberPath() {
return this.i.akc;
}
set startLabelYMemberPath(v) {
this.i.akc = v;
}
/**
* Gets or sets display mode of label in the start annotation on x-axis.
*/
get startLabelXDisplayMode() {
return this.i.ahu;
}
set startLabelXDisplayMode(v) {
this.i.ahu = ensureEnum(DataAnnotationDisplayMode_$type, v);
}
/**
* Gets or sets display mode of label in the start annotation on y-axis.
*/
get startLabelYDisplayMode() {
return this.i.ahv;
}
set startLabelYDisplayMode(v) {
this.i.ahv = ensureEnum(DataAnnotationDisplayMode_$type, v);
}
/**
* Gets or sets name of data column with x-positions for end of annotation.
*/
get endValueXMemberPath() {
return this.i.aj1;
}
set endValueXMemberPath(v) {
this.i.aj1 = v;
}
/**
* Gets or sets name of data column with y-positions for end of annotation.
*/
get endValueYMemberPath() {
return this.i.aj4;
}
set endValueYMemberPath(v) {
this.i.aj4 = v;
}
/**
* Gets or sets mapping custom label at the end of annotations on x-axis.
*/
get endLabelXMemberPath() {
return this.i.aju;
}
set endLabelXMemberPath(v) {
this.i.aju = v;
}
/**
* Gets or sets mapping custom label at the end of annotations on y-axis.
*/
get endLabelYMemberPath() {
return this.i.ajy;
}
set endLabelYMemberPath(v) {
this.i.ajy = v;
}
/**
* Gets or sets display mode of label at the end annotation on x-axis.
*/
get endLabelXDisplayMode() {
return this.i.ahq;
}
set endLabelXDisplayMode(v) {
this.i.ahq = ensureEnum(DataAnnotationDisplayMode_$type, v);
}
/**
* Gets or sets display mode of label at the end annotation on y-axis.
*/
get endLabelYDisplayMode() {
return this.i.ahr;
}
set endLabelYDisplayMode(v) {
this.i.ahr = ensureEnum(DataAnnotationDisplayMode_$type, v);
}
/**
* Gets or sets mapping custom label at the center of the annotations on x-axis.
*/
get centerLabelXMemberPath() {
return this.i.ajm;
}
set centerLabelXMemberPath(v) {
this.i.ajm = v;
}
/**
* Gets or sets mapping custom label at the center of the annotations on y-axis.
*/
get centerLabelYMemberPath() {
return this.i.ajq;
}
set centerLabelYMemberPath(v) {
this.i.ajq = v;
}
/**
* Gets or sets display mode of label in the annotation on x-axis.
*/
get centerLabelXDisplayMode() {
return this.i.aho;
}
set centerLabelXDisplayMode(v) {
this.i.aho = ensureEnum(DataAnnotationDisplayMode_$type, v);
}
/**
* Gets or sets display mode of label in the annotation on y-axis.
*/
get centerLabelYDisplayMode() {
return this.i.ahp;
}
set centerLabelYDisplayMode(v) {
this.i.ahp = ensureEnum(DataAnnotationDisplayMode_$type, v);
}
/**
* Gets or sets a member path for visibility of the badge annotations on x-axis.
*/
get annotationBadgeEnabledXMemberPath() {
return this.i.ai3;
}
set annotationBadgeEnabledXMemberPath(v) {
this.i.ai3 = v;
}
/**
* Gets or sets a member path for visibility of the badge annotations on y-axis.
*/
get annotationBadgeEnabledYMemberPath() {
return this.i.ai6;
}
set annotationBadgeEnabledYMemberPath(v) {
this.i.ai6 = v;
}
/**
* Gets or sets a member path for background of the badge annotations on x-axis.
*/
get annotationBadgeBackgroundXMemberPath() {
return this.i.aix;
}
set annotationBadgeBackgroundXMemberPath(v) {
this.i.aix = v;
}
/**
* Gets or sets a member path for background of the badge annotations on y-axis.
*/
get annotationBadgeBackgroundYMemberPath() {
return this.i.ai0;
}
set annotationBadgeBackgroundYMemberPath(v) {
this.i.ai0 = v;
}
/**
* Gets or sets a member path for outline of the badge annotations on x-axis.
*/
get annotationBadgeOutlineXMemberPath() {
return this.i.ajf;
}
set annotationBadgeOutlineXMemberPath(v) {
this.i.ajf = v;
}
/**
* Gets or sets a member path for outline of the badge annotations on y-axis.
*/
get annotationBadgeOutlineYMemberPath() {
return this.i.aji;
}
set annotationBadgeOutlineYMemberPath(v) {
this.i.aji = v;
}
/**
* Gets or sets a member path for displaying an image in the badge annotations on x-axis.
*/
get annotationBadgeImageXMemberPath() {
return this.i.ai9;
}
set annotationBadgeImageXMemberPath(v) {
this.i.ai9 = v;
}
/**
* Gets or sets a member path for displaying an image in the badge annotations on y-axis.
*/
get annotationBadgeImageYMemberPath() {
return this.i.ajc;
}
set annotationBadgeImageYMemberPath(v) {
this.i.ajc = v;
}
}