UNPKG

igniteui-react-charts

Version:

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

132 lines (131 loc) 3.71 kB
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 */ export class IgrDataAnnotationStripLayer extends IgrDataAnnotationRangeLayer { createImplementation() { return new DataAnnotationStripLayer(); } /** * @hidden */ get i() { return this._implementation; } constructor(props) { super(props); } /** * Gets or sets name of data column with positions for the start of annotations. */ get startValueMemberPath() { return this.i.ai1; } set startValueMemberPath(v) { this.i.ai1 = v; } /** * Gets or sets mapping custom label at the start of annotations. */ get startLabelMemberPath() { return this.i.aiy; } set startLabelMemberPath(v) { this.i.aiy = v; } /** * Gets or sets display mode of label in the start annotation. */ get startLabelDisplayMode() { return this.i.ahq; } set startLabelDisplayMode(v) { this.i.ahq = ensureEnum(DataAnnotationDisplayMode_$type, v); } /** * Gets or sets name of data column with positions for end of annotation. */ get endValueMemberPath() { return this.i.aiu; } set endValueMemberPath(v) { this.i.aiu = v; } /** * Gets or sets mapping custom label at the end of annotations. */ get endLabelMemberPath() { return this.i.air; } set endLabelMemberPath(v) { this.i.air = v; } /** * Gets or sets display mode of label at the end annotation. */ get endLabelDisplayMode() { return this.i.ahp; } set endLabelDisplayMode(v) { this.i.ahp = ensureEnum(DataAnnotationDisplayMode_$type, v); } /** * Gets or sets mapping custom label between start and end of data annotations. */ get centerLabelMemberPath() { return this.i.ain; } set centerLabelMemberPath(v) { this.i.ain = v; } /** * Gets or sets display mode of label in the center annotation. */ get centerLabelDisplayMode() { return this.i.aho; } set centerLabelDisplayMode(v) { this.i.aho = ensureEnum(DataAnnotationDisplayMode_$type, v); } /** * Gets or sets a member path for visibility of the badge annotations on an axis. */ get annotationBadgeEnabledMemberPath() { return this.i.aid; } set annotationBadgeEnabledMemberPath(v) { this.i.aid = v; } /** * Gets or sets a member path for background of the badge annotations on an axis. */ get annotationBadgeBackgroundMemberPath() { return this.i.aia; } set annotationBadgeBackgroundMemberPath(v) { this.i.aia = v; } /** * Gets or sets a member path for outline of the badge annotations on an axis. */ get annotationBadgeOutlineMemberPath() { return this.i.aij; } set annotationBadgeOutlineMemberPath(v) { this.i.aij = v; } /** * Gets or sets a member path for image of the badge annotations on an axis. */ get annotationBadgeImageMemberPath() { return this.i.aig; } set annotationBadgeImageMemberPath(v) { this.i.aig = v; } }