UNPKG

igniteui-react-charts

Version:

Ignite UI React charting components for building rich data visualizations using TypeScript APIs.

76 lines (75 loc) 2.24 kB
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.ahp; } set annotationValueMemberPath(v) { this.i.ahp = v; } /** * Gets or sets mapping custom label on axis annotations. */ get annotationLabelMemberPath() { return this.i.ahm; } set annotationLabelMemberPath(v) { this.i.ahm = v; } /** * Gets or sets a member path for visibility of the badge annotations on an axis. */ get annotationBadgeEnabledMemberPath() { return this.i.ahd; } set annotationBadgeEnabledMemberPath(v) { this.i.ahd = v; } /** * Gets or sets a member path for background of the badge annotations on an axis. */ get annotationBadgeBackgroundMemberPath() { return this.i.aha; } set annotationBadgeBackgroundMemberPath(v) { this.i.aha = v; } /** * Gets or sets a member path for outline of the badge annotations on an axis. */ get annotationBadgeOutlineMemberPath() { return this.i.ahj; } set annotationBadgeOutlineMemberPath(v) { this.i.ahj = v; } /** * Gets or sets a member path for image of the badge annotations on an axis. */ get annotationBadgeImageMemberPath() { return this.i.ahg; } set annotationBadgeImageMemberPath(v) { this.i.ahg = v; } }