igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
1,083 lines (1,077 loc) • 33.2 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.aau;
},
set: function (v) {
this.i.aau = 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.aav;
},
set: function (v) {
this.i.aav = 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.ab5;
},
set: function (v) {
this.i.ab5 = +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.ab7;
},
set: function (v) {
this.i.ab7 = +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.ab6;
},
set: function (v) {
this.i.ab6 = +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.ab4;
},
set: function (v) {
this.i.ab4 = +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.acq;
},
set: function (v) {
this.i.acq = +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.acs;
},
set: function (v) {
this.i.acs = +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.acr;
},
set: function (v) {
this.i.acr = +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.acp;
},
set: function (v) {
this.i.acp = +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.agx);
},
set: function (v) {
this.i.agx = 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.ag4);
},
set: function (v) {
this.i.ag4 = 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.agv);
},
set: function (v) {
this.i.agv = 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.agw);
},
set: function (v) {
this.i.agw = 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.acg;
},
set: function (v) {
this.i.acg = +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.ac1;
},
set: function (v) {
this.i.ac1 = +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.acf;
},
set: function (v) {
this.i.acf = +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.ac0;
},
set: function (v) {
this.i.ac0 = +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.aci;
},
set: function (v) {
this.i.aci = +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.ac3;
},
set: function (v) {
this.i.ac3 = +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.ach;
},
set: function (v) {
this.i.ach = +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.ac2;
},
set: function (v) {
this.i.ac2 = +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.ace;
},
set: function (v) {
this.i.ace = +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.acz;
},
set: function (v) {
this.i.acz = +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.ag3);
},
set: function (v) {
this.i.ag3 = 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.aha);
},
set: function (v) {
this.i.aha = 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.adw;
},
set: function (v) {
this.i.adw = 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.ae2;
},
set: function (v) {
this.i.ae2 = 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.aek;
},
set: function (v) {
this.i.aek = 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.afq;
},
set: function (v) {
this.i.afq = 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.ac6;
},
set: function (v) {
this.i.ac6 = 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.ac7;
},
set: function (v) {
this.i.ac7 = 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.agy);
},
set: function (v) {
this.i.agy = 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.ag5);
},
set: function (v) {
this.i.ag5 = 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.ab8;
},
set: function (v) {
this.i.ab8 = +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.act;
},
set: function (v) {
this.i.act = +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.ab9;
},
set: function (v) {
this.i.ab9 = +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.acu;
},
set: function (v) {
this.i.acu = +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.ag0);
},
set: function (v) {
this.i.ag0 = 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.ag7);
},
set: function (v) {
this.i.ag7 = 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.ag1);
},
set: function (v) {
this.i.ag1 = 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.ag8);
},
set: function (v) {
this.i.ag8 = 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.aca;
},
set: function (v) {
this.i.aca = +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.acv;
},
set: function (v) {
this.i.acv = +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.acb;
},
set: function (v) {
this.i.acb = +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.acw;
},
set: function (v) {
this.i.acw = +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.ag2);
},
set: function (v) {
this.i.ag2 = 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.ag9);
},
set: function (v) {
this.i.ag9 = 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.acc;
},
set: function (v) {
this.i.acc = +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.acx;
},
set: function (v) {
this.i.acx = +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.aeb;
},
set: function (v) {
this.i.aeb = 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.afh;
},
set: function (v) {
this.i.afh = 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.agz);
},
set: function (v) {
this.i.agz = 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.ag6);
},
set: function (v) {
this.i.ag6 = 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.ab3;
},
set: function (v) {
this.i.ab3 = +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.aco;
},
set: function (v) {
this.i.aco = +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.ab2;
},
set: function (v) {
this.i.ab2 = +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.acn;
},
set: function (v) {
this.i.acn = +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.acd;
},
set: function (v) {
this.i.acd = +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.acy;
},
set: function (v) {
this.i.acy = +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.aa2;
},
set: function (v) {
this.i.aa2 = 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.aa3;
},
set: function (v) {
this.i.aa3 = 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.agd;
},
set: function (v) {
this.i.agd = 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.ahg;
},
set: function (v) {
this.i.ahg = 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.agc;
},
set: function (v) {
this.i.agc = 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.age;
},
set: function (v) {
this.i.age = 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.ahe;
},
set: function (v) {
this.i.ahe = 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.ahf;
},
set: function (v) {
this.i.ahf = 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.ahj;
},
set: function (v) {
this.i.ahj = 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.ahk;
},
set: function (v) {
this.i.ahk = 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.aaz;
},
set: function (v) {
this.i.aaz = 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.aap;
},
set: function (v) {
this.i.aap = 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.adn;
},
set: function (v) {
this.i.adn = 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.aam;
},
set: function (v) {
if (v && !Array.isArray(v) && typeof (v) == "string") {
var re = /\s*(?:,|\s|$)\s*/gm;
v = v.split(re);
}
this.i.aam = 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.aet;
},
set: function (v) {
this.i.aet = 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.aan;
},
set: function (v) {
if (v && !Array.isArray(v) && typeof (v) == "string") {
var re = /\s*(?:,|\s|$)\s*/gm;
v = v.split(re);
}
this.i.aan = 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.acj(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.acl(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.ack(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.acm(scaledValue);
return (iv);
};
return IgrRadialBaseChart;
}(IgrDomainChart));
export { IgrRadialBaseChart };