igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
76 lines (75 loc) • 2.24 kB
JavaScript
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
*/
export class IgrDataAnnotationSliceLayer extends IgrDataAnnotationShapeLayer {
createImplementation() {
return new DataAnnotationSliceLayer();
}
/**
* @hidden
*/
get i() {
return this._implementation;
}
constructor(props) {
super(props);
}
/**
* Gets or sets name of data column with values used to position annotations.
*/
get annotationValueMemberPath() {
return this.i.aho;
}
set annotationValueMemberPath(v) {
this.i.aho = v;
}
/**
* Gets or sets mapping custom label on axis annotations.
*/
get annotationLabelMemberPath() {
return this.i.ahl;
}
set annotationLabelMemberPath(v) {
this.i.ahl = v;
}
/**
* Gets or sets a member path for visibility of the badge annotations on an axis.
*/
get annotationBadgeEnabledMemberPath() {
return this.i.ahc;
}
set annotationBadgeEnabledMemberPath(v) {
this.i.ahc = v;
}
/**
* Gets or sets a member path for background of the badge annotations on an axis.
*/
get annotationBadgeBackgroundMemberPath() {
return this.i.ag9;
}
set annotationBadgeBackgroundMemberPath(v) {
this.i.ag9 = v;
}
/**
* Gets or sets a member path for outline of the badge annotations on an axis.
*/
get annotationBadgeOutlineMemberPath() {
return this.i.ahi;
}
set annotationBadgeOutlineMemberPath(v) {
this.i.ahi = v;
}
/**
* Gets or sets a member path for image of the badge annotations on an axis.
*/
get annotationBadgeImageMemberPath() {
return this.i.ahf;
}
set annotationBadgeImageMemberPath(v) {
this.i.ahf = v;
}
}