igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
1,135 lines (1,129 loc) • 34.8 kB
JavaScript
import { __extends } from "tslib";
import { HorizontalAlignment_$type } from "igniteui-react-core";
import { VerticalAlignment_$type } from "igniteui-react-core";
import { Visibility_$type } from "igniteui-react-core";
import { ValueAxisLabelLocation_$type } from "./ValueAxisLabelLocation";
import { AngleAxisLabelLocation_$type } from "./AngleAxisLabelLocation";
import { IgrDomainChart } from "./igr-domain-chart";
import { brushToString, stringToBrush, ensureBool, ensureEnum, arrayFindByName } from "igniteui-react-core";
/**
* Represents a base class for domain charts with X/Y axes
*/
var IgrRadialBaseChart = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(IgrRadialBaseChart, _super);
function IgrRadialBaseChart(props) {
return _super.call(this, props) || this;
}
Object.defineProperty(IgrRadialBaseChart.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.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.aa5;
},
set: function (v) {
this.i.aa5 = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.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.aa6;
},
set: function (v) {
this.i.aa6 = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisLabelLeftMargin", {
/**
* Gets or sets the left margin of labels on the X-axis
*/
get: function () {
return this.i.ack;
},
set: function (v) {
this.i.ack = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisLabelTopMargin", {
/**
* Gets or sets the top margin of labels on the X-axis
*/
get: function () {
return this.i.acm;
},
set: function (v) {
this.i.acm = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisLabelRightMargin", {
/**
* Gets or sets the right margin of labels on the X-axis
*/
get: function () {
return this.i.acl;
},
set: function (v) {
this.i.acl = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisLabelBottomMargin", {
/**
* Gets or sets the bottom margin of labels on the X-axis
*/
get: function () {
return this.i.acj;
},
set: function (v) {
this.i.acj = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisLabelLeftMargin", {
/**
* Gets or sets the left margin of labels on the Y-axis
*/
get: function () {
return this.i.ac7;
},
set: function (v) {
this.i.ac7 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisLabelTopMargin", {
/**
* Gets or sets the top margin of labels on the Y-axis
*/
get: function () {
return this.i.ac9;
},
set: function (v) {
this.i.ac9 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisLabelRightMargin", {
/**
* Gets or sets the right margin of labels on the Y-axis
*/
get: function () {
return this.i.ac8;
},
set: function (v) {
this.i.ac8 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisLabelBottomMargin", {
/**
* Gets or sets the bottom margin of labels on the Y-axis
*/
get: function () {
return this.i.ac6;
},
set: function (v) {
this.i.ac6 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisLabelTextColor", {
/**
* Gets or sets color of labels on the X-axis
*/
get: function () {
return brushToString(this.i.ahk);
},
set: function (v) {
this.i.ahk = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisLabelTextColor", {
/**
* Gets or sets color of labels on the Y-axis
*/
get: function () {
return brushToString(this.i.ahr);
},
set: function (v) {
this.i.ahr = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "actualAngleAxisLabelTextColor", {
/**
* Gets the actual color of labels on the X-axis
*/
get: function () {
return brushToString(this.i.ahi);
},
set: function (v) {
this.i.ahi = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "actualValueAxisLabelTextColor", {
/**
* Gets the actual color of labels on the Y-axis
*/
get: function () {
return brushToString(this.i.ahj);
},
set: function (v) {
this.i.ahj = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisTitleMargin", {
/**
* Gets or sets the margin around a title on the X-axis
*/
get: function () {
return this.i.acx;
},
set: function (v) {
this.i.acx = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisTitleMargin", {
/**
* Gets or sets the margin around a title on the Y-axis
*/
get: function () {
return this.i.adk;
},
set: function (v) {
this.i.adk = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisTitleLeftMargin", {
/**
* Gets or sets the left margin of a title on the X-axis
*/
get: function () {
return this.i.acw;
},
set: function (v) {
this.i.acw = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisTitleLeftMargin", {
/**
* Gets or sets the left margin of a title on the Y-axis
*/
get: function () {
return this.i.adj;
},
set: function (v) {
this.i.adj = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisTitleTopMargin", {
/**
* Gets or sets the top margin of a title on the X-axis
*/
get: function () {
return this.i.acz;
},
set: function (v) {
this.i.acz = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisTitleTopMargin", {
/**
* Gets or sets the top margin of a title on the Y-axis
*/
get: function () {
return this.i.adm;
},
set: function (v) {
this.i.adm = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisTitleRightMargin", {
/**
* Gets or sets the right margin of a title on the X-axis
*/
get: function () {
return this.i.acy;
},
set: function (v) {
this.i.acy = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisTitleRightMargin", {
/**
* Gets or sets the right margin of a title on the Y-axis
*/
get: function () {
return this.i.adl;
},
set: function (v) {
this.i.adl = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisTitleBottomMargin", {
/**
* Gets or sets the bottom margin of a title on the X-axis
*/
get: function () {
return this.i.acv;
},
set: function (v) {
this.i.acv = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisTitleBottomMargin", {
/**
* Gets or sets the bottom margin of a title on the Y-axis
*/
get: function () {
return this.i.adi;
},
set: function (v) {
this.i.adi = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisTitleTextColor", {
/**
* Gets or sets color of title on the X-axis
*/
get: function () {
return brushToString(this.i.ahq);
},
set: function (v) {
this.i.ahq = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisTitleTextColor", {
/**
* Gets or sets color of title on the Y-axis
*/
get: function () {
return brushToString(this.i.ahx);
},
set: function (v) {
this.i.ahx = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisLabelTextStyle", {
/**
* Gets or sets CSS font property for labels on X-axis
*/
get: function () {
return this.i.aef;
},
set: function (v) {
this.i.aef = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisLabelTextStyle", {
/**
* Gets or sets CSS font property for labels on Y-axis
*/
get: function () {
return this.i.afn;
},
set: function (v) {
this.i.afn = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisTitleTextStyle", {
/**
* Gets or sets CSS font property for title on X-axis
*/
get: function () {
return this.i.ae5;
},
set: function (v) {
this.i.ae5 = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisTitleTextStyle", {
/**
* Gets or sets CSS font property for title on Y-axis
*/
get: function () {
return this.i.agd;
},
set: function (v) {
this.i.agd = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisLabel", {
/**
* Gets or sets the format for labels along the X-axis.
*/
get: function () {
return this.i.adp;
},
set: function (v) {
this.i.adp = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisLabel", {
/**
* Gets or sets the property or string from which the labels are derived.
*/
get: function () {
return this.i.adq;
},
set: function (v) {
this.i.adq = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisMajorStroke", {
/**
* Gets or sets the color to apply to major gridlines along the X-axis.
*/
get: function () {
return brushToString(this.i.ahl);
},
set: function (v) {
this.i.ahl = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisMajorStroke", {
/**
* Gets or sets the color to apply to major gridlines along the Y-axis.
*/
get: function () {
return brushToString(this.i.ahs);
},
set: function (v) {
this.i.ahs = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisMajorStrokeThickness", {
/**
* Gets or sets the thickness to apply to major gridlines along the X-axis.
*/
get: function () {
return this.i.acn;
},
set: function (v) {
this.i.acn = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisMajorStrokeThickness", {
/**
* Gets or sets the thickness to apply to major gridlines along the Y-axis.
*/
get: function () {
return this.i.ada;
},
set: function (v) {
this.i.ada = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisMinorStrokeThickness", {
/**
* Gets or sets the thickness to apply to minor gridlines along the X-axis.
*/
get: function () {
return this.i.acq;
},
set: function (v) {
this.i.acq = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisMinorStrokeThickness", {
/**
* Gets or sets the thickness to apply to minor gridlines along the Y-axis.
*/
get: function () {
return this.i.add;
},
set: function (v) {
this.i.add = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisStrip", {
/**
* Gets or sets the color to apply to stripes along the X-axis.
*/
get: function () {
return brushToString(this.i.ahn);
},
set: function (v) {
this.i.ahn = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisStrip", {
/**
* Gets or sets the color to apply to stripes along the Y-axis.
*/
get: function () {
return brushToString(this.i.ahu);
},
set: function (v) {
this.i.ahu = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisStroke", {
/**
* Gets or sets the color to apply to the X-axis line.
*/
get: function () {
return brushToString(this.i.aho);
},
set: function (v) {
this.i.aho = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisStroke", {
/**
* Gets or sets the color to apply to the Y-axis line.
*/
get: function () {
return brushToString(this.i.ahv);
},
set: function (v) {
this.i.ahv = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisStrokeThickness", {
/**
* Gets or sets the thickness to apply to the X-axis line.
*/
get: function () {
return this.i.acr;
},
set: function (v) {
this.i.acr = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisStrokeThickness", {
/**
* Gets or sets the thickness to apply to the Y-axis line.
*/
get: function () {
return this.i.ade;
},
set: function (v) {
this.i.ade = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisTickLength", {
/**
* Gets or sets the length of tickmarks along the X-axis.
*/
get: function () {
return this.i.acs;
},
set: function (v) {
this.i.acs = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisTickLength", {
/**
* Gets or sets the length of tickmarks along the Y-axis.
*/
get: function () {
return this.i.adf;
},
set: function (v) {
this.i.adf = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisTickStroke", {
/**
* Gets or sets the color to apply to tickmarks along the X-axis.
*/
get: function () {
return brushToString(this.i.ahp);
},
set: function (v) {
this.i.ahp = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisTickStroke", {
/**
* Gets or sets the color to apply to tickmarks along the Y-axis.
*/
get: function () {
return brushToString(this.i.ahw);
},
set: function (v) {
this.i.ahw = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisTickStrokeThickness", {
/**
* Gets or sets the thickness to apply to tickmarks along the X-axis.
*/
get: function () {
return this.i.act;
},
set: function (v) {
this.i.act = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisTickStrokeThickness", {
/**
* Gets or sets the thickness to apply to tickmarks along the Y-axis.
*/
get: function () {
return this.i.adg;
},
set: function (v) {
this.i.adg = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisTitle", {
/**
* Gets or sets the Text to display below the X-axis.
*/
get: function () {
return this.i.aew;
},
set: function (v) {
this.i.aew = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisTitle", {
/**
* Gets or sets the Text to display to the left of the Y-axis.
*/
get: function () {
return this.i.af4;
},
set: function (v) {
this.i.af4 = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisMinorStroke", {
/**
* Gets or sets the color to apply to minor gridlines along the X-axis.
*/
get: function () {
return brushToString(this.i.ahm);
},
set: function (v) {
this.i.ahm = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisMinorStroke", {
/**
* Gets or sets the color to apply to minor gridlines along the Y-axis.
*/
get: function () {
return brushToString(this.i.aht);
},
set: function (v) {
this.i.aht = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisLabelAngle", {
/**
* Gets or sets the angle of rotation for labels along the X-axis.
*/
get: function () {
return this.i.aci;
},
set: function (v) {
this.i.aci = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisLabelAngle", {
/**
* Gets or sets the angle of rotation for labels along the Y-axis.
*/
get: function () {
return this.i.ac5;
},
set: function (v) {
this.i.ac5 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisExtent", {
/**
* Gets or sets the distance between the X-axis and the bottom of the chart.
*/
get: function () {
return this.i.ach;
},
set: function (v) {
this.i.ach = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisMaximumExtent", {
/**
* Gets or sets the maximum distance between the X-axis and the bottom of the chart.
*/
get: function () {
return this.i.aco;
},
set: function (v) {
this.i.aco = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.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.acp;
},
set: function (v) {
this.i.acp = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisExtent", {
/**
* Gets or sets the distance between the Y-axis and the left edge of the chart.
*/
get: function () {
return this.i.ac4;
},
set: function (v) {
this.i.ac4 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisMaximumExtent", {
/**
* Gets or sets the distance between the Y-axis and the left edge of the chart.
*/
get: function () {
return this.i.adb;
},
set: function (v) {
this.i.adb = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisMaximumExtentPercentage", {
/**
* Gets or sets the distance between the Y-axis and the left edge of the chart.
*/
get: function () {
return this.i.adc;
},
set: function (v) {
this.i.adc = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisTitleAngle", {
/**
* Gets or sets the angle of rotation for the X-axis title.
*/
get: function () {
return this.i.acu;
},
set: function (v) {
this.i.acu = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisTitleAngle", {
/**
* Gets or sets the angle of rotation for the Y-axis title.
*/
get: function () {
return this.i.adh;
},
set: function (v) {
this.i.adh = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.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.abd;
},
set: function (v) {
this.i.abd = ensureBool(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.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.abe;
},
set: function (v) {
this.i.abe = ensureBool(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisTitleAlignment", {
/**
* Gets or sets Horizontal alignment of the X-axis title.
*/
get: function () {
return this.i.ag0;
},
set: function (v) {
this.i.ag0 = ensureEnum(HorizontalAlignment_$type, v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisTitleAlignment", {
/**
* Gets or sets Vertical alignment of the Y-axis title.
*/
get: function () {
return this.i.ah3;
},
set: function (v) {
this.i.ah3 = ensureEnum(VerticalAlignment_$type, v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisLabelHorizontalAlignment", {
/**
* Gets or sets Horizontal alignment of X-axis labels.
*/
get: function () {
return this.i.agz;
},
set: function (v) {
this.i.agz = ensureEnum(HorizontalAlignment_$type, v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisLabelHorizontalAlignment", {
/**
* Gets or sets Horizontal alignment of Y-axis labels.
*/
get: function () {
return this.i.ag1;
},
set: function (v) {
this.i.ag1 = ensureEnum(HorizontalAlignment_$type, v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisLabelVerticalAlignment", {
/**
* Gets or sets Vertical alignment of X-axis labels.
*/
get: function () {
return this.i.ah1;
},
set: function (v) {
this.i.ah1 = ensureEnum(VerticalAlignment_$type, v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisLabelVerticalAlignment", {
/**
* Gets or sets Vertical alignment of Y-axis labels.
*/
get: function () {
return this.i.ah2;
},
set: function (v) {
this.i.ah2 = ensureEnum(VerticalAlignment_$type, v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisLabelVisibility", {
/**
* Gets or sets Visibility of X-axis labels.
*/
get: function () {
return this.i.ah6;
},
set: function (v) {
this.i.ah6 = ensureEnum(Visibility_$type, v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisLabelVisibility", {
/**
* Gets or sets Visibility of Y-axis labels.
*/
get: function () {
return this.i.ah7;
},
set: function (v) {
this.i.ah7 = ensureEnum(Visibility_$type, v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisLabelLocation", {
/**
* Gets or sets location of Y-axis labels, relative to the plot area.
*/
get: function () {
return this.i.aba;
},
set: function (v) {
this.i.aba = ensureEnum(ValueAxisLabelLocation_$type, v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisLabelLocation", {
/**
* Gets or sets location of X-axis labels, relative to the plot area.
*/
get: function () {
return this.i.aa0;
},
set: function (v) {
this.i.aa0 = ensureEnum(AngleAxisLabelLocation_$type, v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisLabelFormat", {
/**
* Gets or sets the format string for the X axis label.
*/
get: function () {
return this.i.ad6;
},
set: function (v) {
this.i.ad6 = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "angleAxisLabelFormatSpecifiers", {
/**
* Gets or sets the format specifiers to use with the AngleAxisLabelFormat string.
*/
get: function () {
return this.i.aax;
},
set: function (v) {
if (v && !Array.isArray(v) && typeof (v) == "string") {
var re = /\s*(?:,|\s|$)\s*/gm;
v = v.split(re);
}
this.i.aax = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisLabelFormat", {
/**
* Gets or sets the format string for the Y axis label.
*/
get: function () {
return this.i.afe;
},
set: function (v) {
this.i.afe = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrRadialBaseChart.prototype, "valueAxisLabelFormatSpecifiers", {
/**
* Gets or sets the format specifiers to use with the ValueAxisLabelFormat string.
*/
get: function () {
return this.i.aay;
},
set: function (v) {
if (v && !Array.isArray(v) && typeof (v) == "string") {
var re = /\s*(?:,|\s|$)\s*/gm;
v = v.split(re);
}
this.i.aay = v;
},
enumerable: false,
configurable: true
});
IgrRadialBaseChart.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.
*/
IgrRadialBaseChart.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.
*/
IgrRadialBaseChart.prototype.getScaledAngle = function (unscaledValue) {
var iv = this.i.ac0(unscaledValue);
return (iv);
};
/**
* Converts the given data value to a visual location.
* @param scaledValue * The data value to un-scale.
*/
IgrRadialBaseChart.prototype.getUnscaledAngle = function (scaledValue) {
var iv = this.i.ac2(scaledValue);
return (iv);
};
/**
* Converts the given visual location to a data value.
* @param unscaledValue * The y-coordinate of the location to scale.
*/
IgrRadialBaseChart.prototype.getScaledValue = function (unscaledValue) {
var iv = this.i.ac1(unscaledValue);
return (iv);
};
/**
* Converts the given data value to a visual location.
* @param scaledValue * The data value to un-scale.
*/
IgrRadialBaseChart.prototype.getUnscaledValue = function (scaledValue) {
var iv = this.i.ac3(scaledValue);
return (iv);
};
return IgrRadialBaseChart;
}(IgrDomainChart));
export { IgrRadialBaseChart };