UNPKG

igniteui-angular-charts

Version:

Ignite UI Angular charting components for building rich data visualizations for modern web apps.

168 lines (167 loc) 4.49 kB
import { CalloutPlacementPositions_$type } from "./CalloutPlacementPositions"; import { IgxSeriesComponent } from "./igx-series-component"; import { CalloutRenderStyleUpdatingEventArgs as CalloutRenderStyleUpdatingEventArgs_internal } from "./CalloutRenderStyleUpdatingEventArgs"; import { ensureEnum, brushToString, stringToBrush } from "igniteui-angular-core"; export class IgxCalloutRenderStyleUpdatingEventArgs { constructor() { this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } createImplementation() { return new CalloutRenderStyleUpdatingEventArgs_internal(); } /** * @hidden */ get i() { return this._implementation; } onImplementationCreated() { } _provideImplementation(i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); } get xValue() { return this.i.xValue; } set xValue(v) { this.i.xValue = v; } get yValue() { return this.i.yValue; } set yValue(v) { this.i.yValue = v; } get labelPositionX() { return this.i.labelPositionX; } set labelPositionX(v) { this.i.labelPositionX = +v; } get labelPositionY() { return this.i.labelPositionY; } set labelPositionY(v) { this.i.labelPositionY = +v; } get targetPositionX() { return this.i.targetPositionX; } set targetPositionX(v) { this.i.targetPositionX = +v; } get targetPositionY() { return this.i.targetPositionY; } set targetPositionY(v) { this.i.targetPositionY = +v; } get width() { return this.i.width; } set width(v) { this.i.width = +v; } get height() { return this.i.height; } set height(v) { this.i.height = +v; } get actualPosition() { return this.i.actualPosition; } set actualPosition(v) { this.i.actualPosition = ensureEnum(CalloutPlacementPositions_$type, v); } get item() { return this.i.item; } set item(v) { this.i.item = v; } get series() { const r = this.i.series; if (r == null) { return null; } if (!r.externalObject) { let e = IgxSeriesComponent._createFromInternal(r); if (e) { e._implementation = r; } r.externalObject = e; } return r.externalObject; } set series(v) { v == null ? this.i.series = null : this.i.series = v.i; } get background() { return brushToString(this.i.background); } set background(v) { this.i.background = stringToBrush(v); } get backgroundCorner() { return this.i.backgroundCorner; } set backgroundCorner(v) { this.i.backgroundCorner = +v; } get textColor() { return brushToString(this.i.textColor); } set textColor(v) { this.i.textColor = stringToBrush(v); } get outline() { return brushToString(this.i.outline); } set outline(v) { this.i.outline = stringToBrush(v); } get leaderBrush() { return brushToString(this.i.leaderBrush); } set leaderBrush(v) { this.i.leaderBrush = stringToBrush(v); } get strokeThickness() { return this.i.strokeThickness; } set strokeThickness(v) { this.i.strokeThickness = +v; } get badgeBackground() { return brushToString(this.i.badgeBackground); } set badgeBackground(v) { this.i.badgeBackground = stringToBrush(v); } get badgeOutline() { return brushToString(this.i.badgeOutline); } set badgeOutline(v) { this.i.badgeOutline = stringToBrush(v); } get badgeThickness() { return this.i.badgeThickness; } set badgeThickness(v) { this.i.badgeThickness = +v; } get badgeImage() { return this.i.badgeImage; } set badgeImage(v) { this.i.badgeImage = v; } }