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.aak;
},
set: function (v) {
this.i.aak = 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.aal;
},
set: function (v) {
this.i.aal = 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.abv;
},
set: function (v) {
this.i.abv = +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.abx;
},
set: function (v) {
this.i.abx = +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.abw;
},
set: function (v) {
this.i.abw = +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.abu;
},
set: function (v) {
this.i.abu = +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.acg;
},
set: function (v) {
this.i.acg = +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.aci;
},
set: function (v) {
this.i.aci = +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.ach;
},
set: function (v) {
this.i.ach = +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.acf;
},
set: function (v) {
this.i.acf = +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.agn);
},
set: function (v) {
this.i.agn = 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.agu);
},
set: function (v) {
this.i.agu = 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.agl);
},
set: function (v) {
this.i.agl = 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.agm);
},
set: function (v) {
this.i.agm = 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.ab6;
},
set: function (v) {
this.i.ab6 = +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.acr;
},
set: function (v) {
this.i.acr = +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.ab5;
},
set: function (v) {
this.i.ab5 = +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.acq;
},
set: function (v) {
this.i.acq = +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.ab8;
},
set: function (v) {
this.i.ab8 = +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.act;
},
set: function (v) {
this.i.act = +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.ab7;
},
set: function (v) {
this.i.ab7 = +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.acs;
},
set: function (v) {
this.i.acs = +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.ab4;
},
set: function (v) {
this.i.ab4 = +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.acp;
},
set: function (v) {
this.i.acp = +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.agt);
},
set: function (v) {
this.i.agt = 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.ag0);
},
set: function (v) {
this.i.ag0 = 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.adm;
},
set: function (v) {
this.i.adm = 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.aes;
},
set: function (v) {
this.i.aes = 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.aea;
},
set: function (v) {
this.i.aea = 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.afg;
},
set: function (v) {
this.i.afg = 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.acw;
},
set: function (v) {
this.i.acw = 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.acx;
},
set: function (v) {
this.i.acx = 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.ago);
},
set: function (v) {
this.i.ago = 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.agv);
},
set: function (v) {
this.i.agv = 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.aby;
},
set: function (v) {
this.i.aby = +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.acj;
},
set: function (v) {
this.i.acj = +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.abz;
},
set: function (v) {
this.i.abz = +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.ack;
},
set: function (v) {
this.i.ack = +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.agq);
},
set: function (v) {
this.i.agq = 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.agx);
},
set: function (v) {
this.i.agx = 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.agr);
},
set: function (v) {
this.i.agr = 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.agy);
},
set: function (v) {
this.i.agy = 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.ab0;
},
set: function (v) {
this.i.ab0 = +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.acl;
},
set: function (v) {
this.i.acl = +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.ab1;
},
set: function (v) {
this.i.ab1 = +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.acm;
},
set: function (v) {
this.i.acm = +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.ags);
},
set: function (v) {
this.i.ags = 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.agz);
},
set: function (v) {
this.i.agz = 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.ab2;
},
set: function (v) {
this.i.ab2 = +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.acn;
},
set: function (v) {
this.i.acn = +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.ad1;
},
set: function (v) {
this.i.ad1 = 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.ae7;
},
set: function (v) {
this.i.ae7 = 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.agp);
},
set: function (v) {
this.i.agp = 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.agw);
},
set: function (v) {
this.i.agw = 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.abt;
},
set: function (v) {
this.i.abt = +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.ace;
},
set: function (v) {
this.i.ace = +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.abs;
},
set: function (v) {
this.i.abs = +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.acd;
},
set: function (v) {
this.i.acd = +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.ab3;
},
set: function (v) {
this.i.ab3 = +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.aco;
},
set: function (v) {
this.i.aco = +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.aas;
},
set: function (v) {
this.i.aas = 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.aat;
},
set: function (v) {
this.i.aat = 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.af3;
},
set: function (v) {
this.i.af3 = 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.ag6;
},
set: function (v) {
this.i.ag6 = 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.af2;
},
set: function (v) {
this.i.af2 = 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.af4;
},
set: function (v) {
this.i.af4 = 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.ag4;
},
set: function (v) {
this.i.ag4 = 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.ag5;
},
set: function (v) {
this.i.ag5 = 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.ag9;
},
set: function (v) {
this.i.ag9 = 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.aha;
},
set: function (v) {
this.i.aha = 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.aap;
},
set: function (v) {
this.i.aap = 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.aaf;
},
set: function (v) {
this.i.aaf = 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.add;
},
set: function (v) {
this.i.add = 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.aac;
},
set: function (v) {
if (v && !Array.isArray(v) && typeof (v) == "string") {
var re = /\s*(?:,|\s|$)\s*/gm;
v = v.split(re);
}
this.i.aac = 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.aej;
},
set: function (v) {
this.i.aej = 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.aad;
},
set: function (v) {
if (v && !Array.isArray(v) && typeof (v) == "string") {
var re = /\s*(?:,|\s|$)\s*/gm;
v = v.split(re);
}
this.i.aad = 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.ab9(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.acb(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.aca(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.acc(scaledValue);
return (iv);
};
return IgrRadialBaseChart;
}(IgrDomainChart));
export { IgrRadialBaseChart };