UNPKG

igniteui-webcomponents-charts

Version:

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

1,239 lines (1,233 loc) 41.9 kB
import { __extends } from "tslib"; import { HorizontalAlignment_$type } from "igniteui-webcomponents-core"; import { VerticalAlignment_$type } from "igniteui-webcomponents-core"; import { Visibility_$type } from "igniteui-webcomponents-core"; import { ValueAxisLabelLocation_$type } from "./ValueAxisLabelLocation"; import { AngleAxisLabelLocation_$type } from "./AngleAxisLabelLocation"; import { IgcDomainChartComponent } from "./igc-domain-chart-component"; import { getAllPropertyNames, toSpinal, brushToString, stringToBrush, ensureBool, ensureEnum, enumToString, arrayFindByName } from "igniteui-webcomponents-core"; /** * Represents a base class for domain charts with X/Y axes */ var IgcRadialBaseChartComponent = /** @class */ /*@__PURE__*/ (function (_super) { __extends(IgcRadialBaseChartComponent, _super); function IgcRadialBaseChartComponent() { return _super.call(this) || this; } Object.defineProperty(IgcRadialBaseChartComponent.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgcRadialBaseChartComponent.prototype.connectedCallback = function () { if (_super.prototype["connectedCallback"]) { _super.prototype["connectedCallback"].call(this); } if (this.i.connectedCallback) { this.i.connectedCallback(); } if (!this._attached) { this._attached = true; this._flushQueuedAttributes(); } }; IgcRadialBaseChartComponent.prototype.disconnectedCallback = function () { if (_super.prototype["disconnectedCallback"]) { _super.prototype["disconnectedCallback"].call(this); } if (this.i.disconnectedCallback) { this.i.disconnectedCallback(); } if (this._attached) { this._attached = false; } }; Object.defineProperty(IgcRadialBaseChartComponent, "observedAttributes", { get: function () { if (IgcRadialBaseChartComponent._observedAttributesIgcRadialBaseChartComponent == null) { var names = getAllPropertyNames(IgcRadialBaseChartComponent); for (var i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcRadialBaseChartComponent._observedAttributesIgcRadialBaseChartComponent = names; } return IgcRadialBaseChartComponent._observedAttributesIgcRadialBaseChartComponent; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisFormatLabel", { /** * Gets or sets function which takes an context object and returns a formatted label for the X-axis. */ get: function () { return this.i.aa0; }, set: function (v) { this.i.aa0 = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisFormatLabel", { /** * Gets or sets function which takes a context object and returns a formatted label for the Y-axis. */ get: function () { return this.i.aa1; }, set: function (v) { this.i.aa1 = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisLabelLeftMargin", { /** * Gets or sets the left margin of labels on the X-axis */ get: function () { return this.i.acf; }, set: function (v) { this.i.acf = +v; this._a("angleAxisLabelLeftMargin", this.i.acf); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisLabelTopMargin", { /** * Gets or sets the top margin of labels on the X-axis */ get: function () { return this.i.ach; }, set: function (v) { this.i.ach = +v; this._a("angleAxisLabelTopMargin", this.i.ach); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisLabelRightMargin", { /** * Gets or sets the right margin of labels on the X-axis */ get: function () { return this.i.acg; }, set: function (v) { this.i.acg = +v; this._a("angleAxisLabelRightMargin", this.i.acg); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisLabelBottomMargin", { /** * Gets or sets the bottom margin of labels on the X-axis */ get: function () { return this.i.ace; }, set: function (v) { this.i.ace = +v; this._a("angleAxisLabelBottomMargin", this.i.ace); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisLabelLeftMargin", { /** * Gets or sets the left margin of labels on the Y-axis */ get: function () { return this.i.ac2; }, set: function (v) { this.i.ac2 = +v; this._a("valueAxisLabelLeftMargin", this.i.ac2); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisLabelTopMargin", { /** * Gets or sets the top margin of labels on the Y-axis */ get: function () { return this.i.ac4; }, set: function (v) { this.i.ac4 = +v; this._a("valueAxisLabelTopMargin", this.i.ac4); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisLabelRightMargin", { /** * Gets or sets the right margin of labels on the Y-axis */ get: function () { return this.i.ac3; }, set: function (v) { this.i.ac3 = +v; this._a("valueAxisLabelRightMargin", this.i.ac3); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisLabelBottomMargin", { /** * Gets or sets the bottom margin of labels on the Y-axis */ get: function () { return this.i.ac1; }, set: function (v) { this.i.ac1 = +v; this._a("valueAxisLabelBottomMargin", this.i.ac1); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisLabelTextColor", { /** * Gets or sets color of labels on the X-axis */ get: function () { return brushToString(this.i.ahf); }, set: function (v) { this.i.ahf = stringToBrush(v); this._a("angleAxisLabelTextColor", brushToString(this.i.ahf)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisLabelTextColor", { /** * Gets or sets color of labels on the Y-axis */ get: function () { return brushToString(this.i.ahm); }, set: function (v) { this.i.ahm = stringToBrush(v); this._a("valueAxisLabelTextColor", brushToString(this.i.ahm)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "actualAngleAxisLabelTextColor", { /** * Gets the actual color of labels on the X-axis */ get: function () { return brushToString(this.i.ahd); }, set: function (v) { this.i.ahd = stringToBrush(v); this._a("actualAngleAxisLabelTextColor", brushToString(this.i.ahd)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "actualValueAxisLabelTextColor", { /** * Gets the actual color of labels on the Y-axis */ get: function () { return brushToString(this.i.ahe); }, set: function (v) { this.i.ahe = stringToBrush(v); this._a("actualValueAxisLabelTextColor", brushToString(this.i.ahe)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisTitleMargin", { /** * Gets or sets the margin around a title on the X-axis */ get: function () { return this.i.acs; }, set: function (v) { this.i.acs = +v; this._a("angleAxisTitleMargin", this.i.acs); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisTitleMargin", { /** * Gets or sets the margin around a title on the Y-axis */ get: function () { return this.i.adf; }, set: function (v) { this.i.adf = +v; this._a("valueAxisTitleMargin", this.i.adf); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisTitleLeftMargin", { /** * Gets or sets the left margin of a title on the X-axis */ get: function () { return this.i.acr; }, set: function (v) { this.i.acr = +v; this._a("angleAxisTitleLeftMargin", this.i.acr); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisTitleLeftMargin", { /** * Gets or sets the left margin of a title on the Y-axis */ get: function () { return this.i.ade; }, set: function (v) { this.i.ade = +v; this._a("valueAxisTitleLeftMargin", this.i.ade); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisTitleTopMargin", { /** * Gets or sets the top margin of a title on the X-axis */ get: function () { return this.i.acu; }, set: function (v) { this.i.acu = +v; this._a("angleAxisTitleTopMargin", this.i.acu); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisTitleTopMargin", { /** * Gets or sets the top margin of a title on the Y-axis */ get: function () { return this.i.adh; }, set: function (v) { this.i.adh = +v; this._a("valueAxisTitleTopMargin", this.i.adh); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisTitleRightMargin", { /** * Gets or sets the right margin of a title on the X-axis */ get: function () { return this.i.act; }, set: function (v) { this.i.act = +v; this._a("angleAxisTitleRightMargin", this.i.act); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisTitleRightMargin", { /** * Gets or sets the right margin of a title on the Y-axis */ get: function () { return this.i.adg; }, set: function (v) { this.i.adg = +v; this._a("valueAxisTitleRightMargin", this.i.adg); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisTitleBottomMargin", { /** * Gets or sets the bottom margin of a title on the X-axis */ get: function () { return this.i.acq; }, set: function (v) { this.i.acq = +v; this._a("angleAxisTitleBottomMargin", this.i.acq); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisTitleBottomMargin", { /** * Gets or sets the bottom margin of a title on the Y-axis */ get: function () { return this.i.add; }, set: function (v) { this.i.add = +v; this._a("valueAxisTitleBottomMargin", this.i.add); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisTitleTextColor", { /** * Gets or sets color of title on the X-axis */ get: function () { return brushToString(this.i.ahl); }, set: function (v) { this.i.ahl = stringToBrush(v); this._a("angleAxisTitleTextColor", brushToString(this.i.ahl)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisTitleTextColor", { /** * Gets or sets color of title on the Y-axis */ get: function () { return brushToString(this.i.ahs); }, set: function (v) { this.i.ahs = stringToBrush(v); this._a("valueAxisTitleTextColor", brushToString(this.i.ahs)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisLabelTextStyle", { /** * Gets or sets CSS font property for labels on X-axis */ get: function () { return this.i.aea; }, set: function (v) { this.i.aea = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisLabelTextStyle", { /** * Gets or sets CSS font property for labels on Y-axis */ get: function () { return this.i.afi; }, set: function (v) { this.i.afi = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisTitleTextStyle", { /** * Gets or sets CSS font property for title on X-axis */ get: function () { return this.i.ae0; }, set: function (v) { this.i.ae0 = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisTitleTextStyle", { /** * Gets or sets CSS font property for title on Y-axis */ get: function () { return this.i.af8; }, set: function (v) { this.i.af8 = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisLabel", { /** * Gets or sets the format for labels along the X-axis. */ get: function () { return this.i.adk; }, set: function (v) { this.i.adk = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisLabel", { /** * Gets or sets the property or string from which the labels are derived. */ get: function () { return this.i.adl; }, set: function (v) { this.i.adl = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisMajorStroke", { /** * Gets or sets the color to apply to major gridlines along the X-axis. */ get: function () { return brushToString(this.i.ahg); }, set: function (v) { this.i.ahg = stringToBrush(v); this._a("angleAxisMajorStroke", brushToString(this.i.ahg)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisMajorStroke", { /** * Gets or sets the color to apply to major gridlines along the Y-axis. */ get: function () { return brushToString(this.i.ahn); }, set: function (v) { this.i.ahn = stringToBrush(v); this._a("valueAxisMajorStroke", brushToString(this.i.ahn)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisMajorStrokeThickness", { /** * Gets or sets the thickness to apply to major gridlines along the X-axis. */ get: function () { return this.i.aci; }, set: function (v) { this.i.aci = +v; this._a("angleAxisMajorStrokeThickness", this.i.aci); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisMajorStrokeThickness", { /** * Gets or sets the thickness to apply to major gridlines along the Y-axis. */ get: function () { return this.i.ac5; }, set: function (v) { this.i.ac5 = +v; this._a("valueAxisMajorStrokeThickness", this.i.ac5); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisMinorStrokeThickness", { /** * Gets or sets the thickness to apply to minor gridlines along the X-axis. */ get: function () { return this.i.acl; }, set: function (v) { this.i.acl = +v; this._a("angleAxisMinorStrokeThickness", this.i.acl); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisMinorStrokeThickness", { /** * Gets or sets the thickness to apply to minor gridlines along the Y-axis. */ get: function () { return this.i.ac8; }, set: function (v) { this.i.ac8 = +v; this._a("valueAxisMinorStrokeThickness", this.i.ac8); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisStrip", { /** * Gets or sets the color to apply to stripes along the X-axis. */ get: function () { return brushToString(this.i.ahi); }, set: function (v) { this.i.ahi = stringToBrush(v); this._a("angleAxisStrip", brushToString(this.i.ahi)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisStrip", { /** * Gets or sets the color to apply to stripes along the Y-axis. */ get: function () { return brushToString(this.i.ahp); }, set: function (v) { this.i.ahp = stringToBrush(v); this._a("valueAxisStrip", brushToString(this.i.ahp)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisStroke", { /** * Gets or sets the color to apply to the X-axis line. */ get: function () { return brushToString(this.i.ahj); }, set: function (v) { this.i.ahj = stringToBrush(v); this._a("angleAxisStroke", brushToString(this.i.ahj)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisStroke", { /** * Gets or sets the color to apply to the Y-axis line. */ get: function () { return brushToString(this.i.ahq); }, set: function (v) { this.i.ahq = stringToBrush(v); this._a("valueAxisStroke", brushToString(this.i.ahq)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisStrokeThickness", { /** * Gets or sets the thickness to apply to the X-axis line. */ get: function () { return this.i.acm; }, set: function (v) { this.i.acm = +v; this._a("angleAxisStrokeThickness", this.i.acm); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisStrokeThickness", { /** * Gets or sets the thickness to apply to the Y-axis line. */ get: function () { return this.i.ac9; }, set: function (v) { this.i.ac9 = +v; this._a("valueAxisStrokeThickness", this.i.ac9); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisTickLength", { /** * Gets or sets the length of tickmarks along the X-axis. */ get: function () { return this.i.acn; }, set: function (v) { this.i.acn = +v; this._a("angleAxisTickLength", this.i.acn); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisTickLength", { /** * Gets or sets the length of tickmarks along the Y-axis. */ get: function () { return this.i.ada; }, set: function (v) { this.i.ada = +v; this._a("valueAxisTickLength", this.i.ada); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisTickStroke", { /** * Gets or sets the color to apply to tickmarks along the X-axis. */ get: function () { return brushToString(this.i.ahk); }, set: function (v) { this.i.ahk = stringToBrush(v); this._a("angleAxisTickStroke", brushToString(this.i.ahk)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisTickStroke", { /** * Gets or sets the color to apply to tickmarks along the Y-axis. */ get: function () { return brushToString(this.i.ahr); }, set: function (v) { this.i.ahr = stringToBrush(v); this._a("valueAxisTickStroke", brushToString(this.i.ahr)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisTickStrokeThickness", { /** * Gets or sets the thickness to apply to tickmarks along the X-axis. */ get: function () { return this.i.aco; }, set: function (v) { this.i.aco = +v; this._a("angleAxisTickStrokeThickness", this.i.aco); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisTickStrokeThickness", { /** * Gets or sets the thickness to apply to tickmarks along the Y-axis. */ get: function () { return this.i.adb; }, set: function (v) { this.i.adb = +v; this._a("valueAxisTickStrokeThickness", this.i.adb); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisTitle", { /** * Gets or sets the Text to display below the X-axis. */ get: function () { return this.i.aer; }, set: function (v) { this.i.aer = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisTitle", { /** * Gets or sets the Text to display to the left of the Y-axis. */ get: function () { return this.i.afz; }, set: function (v) { this.i.afz = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisMinorStroke", { /** * Gets or sets the color to apply to minor gridlines along the X-axis. */ get: function () { return brushToString(this.i.ahh); }, set: function (v) { this.i.ahh = stringToBrush(v); this._a("angleAxisMinorStroke", brushToString(this.i.ahh)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisMinorStroke", { /** * Gets or sets the color to apply to minor gridlines along the Y-axis. */ get: function () { return brushToString(this.i.aho); }, set: function (v) { this.i.aho = stringToBrush(v); this._a("valueAxisMinorStroke", brushToString(this.i.aho)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisLabelAngle", { /** * Gets or sets the angle of rotation for labels along the X-axis. */ get: function () { return this.i.acd; }, set: function (v) { this.i.acd = +v; this._a("angleAxisLabelAngle", this.i.acd); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisLabelAngle", { /** * Gets or sets the angle of rotation for labels along the Y-axis. */ get: function () { return this.i.ac0; }, set: function (v) { this.i.ac0 = +v; this._a("valueAxisLabelAngle", this.i.ac0); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisExtent", { /** * Gets or sets the distance between the X-axis and the bottom of the chart. */ get: function () { return this.i.acc; }, set: function (v) { this.i.acc = +v; this._a("angleAxisExtent", this.i.acc); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisMaximumExtent", { /** * Gets or sets the maximum distance between the X-axis and the bottom of the chart. */ get: function () { return this.i.acj; }, set: function (v) { this.i.acj = +v; this._a("angleAxisMaximumExtent", this.i.acj); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisMaximumExtentPercentage", { /** * Gets or sets the maximum width between the X-axis and the bottom of the chart, as a percentage of total chart width. */ get: function () { return this.i.ack; }, set: function (v) { this.i.ack = +v; this._a("angleAxisMaximumExtentPercentage", this.i.ack); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisExtent", { /** * Gets or sets the distance between the Y-axis and the left edge of the chart. */ get: function () { return this.i.acz; }, set: function (v) { this.i.acz = +v; this._a("valueAxisExtent", this.i.acz); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisMaximumExtent", { /** * Gets or sets the distance between the Y-axis and the left edge of the chart. */ get: function () { return this.i.ac6; }, set: function (v) { this.i.ac6 = +v; this._a("valueAxisMaximumExtent", this.i.ac6); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisMaximumExtentPercentage", { /** * Gets or sets the distance between the Y-axis and the left edge of the chart. */ get: function () { return this.i.ac7; }, set: function (v) { this.i.ac7 = +v; this._a("valueAxisMaximumExtentPercentage", this.i.ac7); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisTitleAngle", { /** * Gets or sets the angle of rotation for the X-axis title. */ get: function () { return this.i.acp; }, set: function (v) { this.i.acp = +v; this._a("angleAxisTitleAngle", this.i.acp); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisTitleAngle", { /** * Gets or sets the angle of rotation for the Y-axis title. */ get: function () { return this.i.adc; }, set: function (v) { this.i.adc = +v; this._a("valueAxisTitleAngle", this.i.adc); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisInverted", { /** * Gets or sets whether to invert the direction of the X-axis by placing the first data items on the right side of the chart. */ get: function () { return this.i.aa8; }, set: function (v) { this.i.aa8 = ensureBool(v); this._a("angleAxisInverted", this.i.aa8); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisInverted", { /** * Gets or sets whether to invert the direction of the Y-axis by placing the minimum numeric value at the top of the chart. */ get: function () { return this.i.aa9; }, set: function (v) { this.i.aa9 = ensureBool(v); this._a("valueAxisInverted", this.i.aa9); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisTitleAlignment", { /** * Gets or sets Horizontal alignment of the X-axis title. */ get: function () { return this.i.agv; }, set: function (v) { this.i.agv = ensureEnum(HorizontalAlignment_$type, v); this._a("angleAxisTitleAlignment", enumToString(HorizontalAlignment_$type, this.i.agv)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisTitleAlignment", { /** * Gets or sets Vertical alignment of the Y-axis title. */ get: function () { return this.i.ahy; }, set: function (v) { this.i.ahy = ensureEnum(VerticalAlignment_$type, v); this._a("valueAxisTitleAlignment", enumToString(VerticalAlignment_$type, this.i.ahy)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisLabelHorizontalAlignment", { /** * Gets or sets Horizontal alignment of X-axis labels. */ get: function () { return this.i.agu; }, set: function (v) { this.i.agu = ensureEnum(HorizontalAlignment_$type, v); this._a("angleAxisLabelHorizontalAlignment", enumToString(HorizontalAlignment_$type, this.i.agu)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisLabelHorizontalAlignment", { /** * Gets or sets Horizontal alignment of Y-axis labels. */ get: function () { return this.i.agw; }, set: function (v) { this.i.agw = ensureEnum(HorizontalAlignment_$type, v); this._a("valueAxisLabelHorizontalAlignment", enumToString(HorizontalAlignment_$type, this.i.agw)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisLabelVerticalAlignment", { /** * Gets or sets Vertical alignment of X-axis labels. */ get: function () { return this.i.ahw; }, set: function (v) { this.i.ahw = ensureEnum(VerticalAlignment_$type, v); this._a("angleAxisLabelVerticalAlignment", enumToString(VerticalAlignment_$type, this.i.ahw)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisLabelVerticalAlignment", { /** * Gets or sets Vertical alignment of Y-axis labels. */ get: function () { return this.i.ahx; }, set: function (v) { this.i.ahx = ensureEnum(VerticalAlignment_$type, v); this._a("valueAxisLabelVerticalAlignment", enumToString(VerticalAlignment_$type, this.i.ahx)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisLabelVisibility", { /** * Gets or sets Visibility of X-axis labels. */ get: function () { return this.i.ah1; }, set: function (v) { this.i.ah1 = ensureEnum(Visibility_$type, v); this._a("angleAxisLabelVisibility", enumToString(Visibility_$type, this.i.ah1)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisLabelVisibility", { /** * Gets or sets Visibility of Y-axis labels. */ get: function () { return this.i.ah2; }, set: function (v) { this.i.ah2 = ensureEnum(Visibility_$type, v); this._a("valueAxisLabelVisibility", enumToString(Visibility_$type, this.i.ah2)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisLabelLocation", { /** * Gets or sets location of Y-axis labels, relative to the plot area. */ get: function () { return this.i.aa5; }, set: function (v) { this.i.aa5 = ensureEnum(ValueAxisLabelLocation_$type, v); this._a("valueAxisLabelLocation", enumToString(ValueAxisLabelLocation_$type, this.i.aa5)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisLabelLocation", { /** * Gets or sets location of X-axis labels, relative to the plot area. */ get: function () { return this.i.aav; }, set: function (v) { this.i.aav = ensureEnum(AngleAxisLabelLocation_$type, v); this._a("angleAxisLabelLocation", enumToString(AngleAxisLabelLocation_$type, this.i.aav)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisLabelFormat", { /** * Gets or sets the format string for the X axis label. */ get: function () { return this.i.ad1; }, set: function (v) { this.i.ad1 = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "angleAxisLabelFormatSpecifiers", { /** * Gets or sets the format specifiers to use with the AngleAxisLabelFormat string. */ get: function () { return this.i.aas; }, set: function (v) { if (v && !Array.isArray(v) && typeof (v) == "string") { var re = /\s*(?:,|\s|$)\s*/gm; v = v.split(re); } this.i.aas = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisLabelFormat", { /** * Gets or sets the format string for the Y axis label. */ get: function () { return this.i.ae9; }, set: function (v) { this.i.ae9 = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRadialBaseChartComponent.prototype, "valueAxisLabelFormatSpecifiers", { /** * Gets or sets the format specifiers to use with the ValueAxisLabelFormat string. */ get: function () { return this.i.aat; }, set: function (v) { if (v && !Array.isArray(v) && typeof (v) == "string") { var re = /\s*(?:,|\s|$)\s*/gm; v = v.split(re); } this.i.aat = v; }, enumerable: false, configurable: true }); IgcRadialBaseChartComponent.prototype.findByName = function (name) { var baseResult = _super.prototype.findByName.call(this, name); if (baseResult) { return baseResult; } if (this.angleAxisLabelFormatSpecifiers != null && arrayFindByName(this.angleAxisLabelFormatSpecifiers, name)) { return arrayFindByName(this.angleAxisLabelFormatSpecifiers, name); } if (this.valueAxisLabelFormatSpecifiers != null && arrayFindByName(this.valueAxisLabelFormatSpecifiers, name)) { return arrayFindByName(this.valueAxisLabelFormatSpecifiers, name); } return null; }; /** * Called by the UI framework to provide a UI container for rendering this control. * @param container * The UI container element. */ IgcRadialBaseChartComponent.prototype.provideContainer = function (container) { this.i.provideContainer(container); }; /** * Converts the given visual location to a data value. * @param unscaledValue * The x-coordinate of the location to scale. */ IgcRadialBaseChartComponent.prototype.getScaledAngle = function (unscaledValue) { var iv = this.i.acv(unscaledValue); return (iv); }; /** * Converts the given data value to a visual location. * @param scaledValue * The data value to un-scale. */ IgcRadialBaseChartComponent.prototype.getUnscaledAngle = function (scaledValue) { var iv = this.i.acx(scaledValue); return (iv); }; /** * Converts the given visual location to a data value. * @param unscaledValue * The y-coordinate of the location to scale. */ IgcRadialBaseChartComponent.prototype.getScaledValue = function (unscaledValue) { var iv = this.i.acw(unscaledValue); return (iv); }; /** * Converts the given data value to a visual location. * @param scaledValue * The data value to un-scale. */ IgcRadialBaseChartComponent.prototype.getUnscaledValue = function (scaledValue) { var iv = this.i.acy(scaledValue); return (iv); }; IgcRadialBaseChartComponent._observedAttributesIgcRadialBaseChartComponent = null; return IgcRadialBaseChartComponent; }(IgcDomainChartComponent)); export { IgcRadialBaseChartComponent };