igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
1,183 lines (1,177 loc) • 40 kB
JavaScript
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.aau;
},
set: function (v) {
this.i.aau = 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.aav;
},
set: function (v) {
this.i.aav = 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.ab5;
},
set: function (v) {
this.i.ab5 = +v;
this._a("angleAxisLabelLeftMargin", this.i.ab5);
},
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.ab7;
},
set: function (v) {
this.i.ab7 = +v;
this._a("angleAxisLabelTopMargin", this.i.ab7);
},
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.ab6;
},
set: function (v) {
this.i.ab6 = +v;
this._a("angleAxisLabelRightMargin", this.i.ab6);
},
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.ab4;
},
set: function (v) {
this.i.ab4 = +v;
this._a("angleAxisLabelBottomMargin", this.i.ab4);
},
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.acq;
},
set: function (v) {
this.i.acq = +v;
this._a("valueAxisLabelLeftMargin", this.i.acq);
},
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.acs;
},
set: function (v) {
this.i.acs = +v;
this._a("valueAxisLabelTopMargin", this.i.acs);
},
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.acr;
},
set: function (v) {
this.i.acr = +v;
this._a("valueAxisLabelRightMargin", this.i.acr);
},
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.acp;
},
set: function (v) {
this.i.acp = +v;
this._a("valueAxisLabelBottomMargin", this.i.acp);
},
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.agx);
},
set: function (v) {
this.i.agx = stringToBrush(v);
this._a("angleAxisLabelTextColor", brushToString(this.i.agx));
},
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.ag4);
},
set: function (v) {
this.i.ag4 = stringToBrush(v);
this._a("valueAxisLabelTextColor", brushToString(this.i.ag4));
},
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.agv);
},
set: function (v) {
this.i.agv = stringToBrush(v);
this._a("actualAngleAxisLabelTextColor", brushToString(this.i.agv));
},
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.agw);
},
set: function (v) {
this.i.agw = stringToBrush(v);
this._a("actualValueAxisLabelTextColor", brushToString(this.i.agw));
},
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.acg;
},
set: function (v) {
this.i.acg = +v;
this._a("angleAxisTitleMargin", this.i.acg);
},
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.ac1;
},
set: function (v) {
this.i.ac1 = +v;
this._a("valueAxisTitleMargin", this.i.ac1);
},
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.acf;
},
set: function (v) {
this.i.acf = +v;
this._a("angleAxisTitleLeftMargin", this.i.acf);
},
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.ac0;
},
set: function (v) {
this.i.ac0 = +v;
this._a("valueAxisTitleLeftMargin", this.i.ac0);
},
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.aci;
},
set: function (v) {
this.i.aci = +v;
this._a("angleAxisTitleTopMargin", this.i.aci);
},
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.ac3;
},
set: function (v) {
this.i.ac3 = +v;
this._a("valueAxisTitleTopMargin", this.i.ac3);
},
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.ach;
},
set: function (v) {
this.i.ach = +v;
this._a("angleAxisTitleRightMargin", this.i.ach);
},
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.ac2;
},
set: function (v) {
this.i.ac2 = +v;
this._a("valueAxisTitleRightMargin", this.i.ac2);
},
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.ace;
},
set: function (v) {
this.i.ace = +v;
this._a("angleAxisTitleBottomMargin", this.i.ace);
},
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.acz;
},
set: function (v) {
this.i.acz = +v;
this._a("valueAxisTitleBottomMargin", this.i.acz);
},
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.ag3);
},
set: function (v) {
this.i.ag3 = stringToBrush(v);
this._a("angleAxisTitleTextColor", brushToString(this.i.ag3));
},
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.aha);
},
set: function (v) {
this.i.aha = stringToBrush(v);
this._a("valueAxisTitleTextColor", brushToString(this.i.aha));
},
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.adw;
},
set: function (v) {
this.i.adw = 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.ae2;
},
set: function (v) {
this.i.ae2 = 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.aek;
},
set: function (v) {
this.i.aek = 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.afq;
},
set: function (v) {
this.i.afq = 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.ac6;
},
set: function (v) {
this.i.ac6 = 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.ac7;
},
set: function (v) {
this.i.ac7 = 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.agy);
},
set: function (v) {
this.i.agy = stringToBrush(v);
this._a("angleAxisMajorStroke", brushToString(this.i.agy));
},
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.ag5);
},
set: function (v) {
this.i.ag5 = stringToBrush(v);
this._a("valueAxisMajorStroke", brushToString(this.i.ag5));
},
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.ab8;
},
set: function (v) {
this.i.ab8 = +v;
this._a("angleAxisMajorStrokeThickness", this.i.ab8);
},
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.act;
},
set: function (v) {
this.i.act = +v;
this._a("valueAxisMajorStrokeThickness", this.i.act);
},
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.ab9;
},
set: function (v) {
this.i.ab9 = +v;
this._a("angleAxisMinorStrokeThickness", this.i.ab9);
},
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.acu;
},
set: function (v) {
this.i.acu = +v;
this._a("valueAxisMinorStrokeThickness", this.i.acu);
},
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.ag0);
},
set: function (v) {
this.i.ag0 = stringToBrush(v);
this._a("angleAxisStrip", brushToString(this.i.ag0));
},
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.ag7);
},
set: function (v) {
this.i.ag7 = stringToBrush(v);
this._a("valueAxisStrip", brushToString(this.i.ag7));
},
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.ag1);
},
set: function (v) {
this.i.ag1 = stringToBrush(v);
this._a("angleAxisStroke", brushToString(this.i.ag1));
},
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.ag8);
},
set: function (v) {
this.i.ag8 = stringToBrush(v);
this._a("valueAxisStroke", brushToString(this.i.ag8));
},
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.aca;
},
set: function (v) {
this.i.aca = +v;
this._a("angleAxisStrokeThickness", this.i.aca);
},
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.acv;
},
set: function (v) {
this.i.acv = +v;
this._a("valueAxisStrokeThickness", this.i.acv);
},
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.acb;
},
set: function (v) {
this.i.acb = +v;
this._a("angleAxisTickLength", this.i.acb);
},
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.acw;
},
set: function (v) {
this.i.acw = +v;
this._a("valueAxisTickLength", this.i.acw);
},
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.ag2);
},
set: function (v) {
this.i.ag2 = stringToBrush(v);
this._a("angleAxisTickStroke", brushToString(this.i.ag2));
},
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.ag9);
},
set: function (v) {
this.i.ag9 = stringToBrush(v);
this._a("valueAxisTickStroke", brushToString(this.i.ag9));
},
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.acc;
},
set: function (v) {
this.i.acc = +v;
this._a("angleAxisTickStrokeThickness", this.i.acc);
},
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.acx;
},
set: function (v) {
this.i.acx = +v;
this._a("valueAxisTickStrokeThickness", this.i.acx);
},
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.aeb;
},
set: function (v) {
this.i.aeb = 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.afh;
},
set: function (v) {
this.i.afh = 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.agz);
},
set: function (v) {
this.i.agz = stringToBrush(v);
this._a("angleAxisMinorStroke", brushToString(this.i.agz));
},
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.ag6);
},
set: function (v) {
this.i.ag6 = stringToBrush(v);
this._a("valueAxisMinorStroke", brushToString(this.i.ag6));
},
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.ab3;
},
set: function (v) {
this.i.ab3 = +v;
this._a("angleAxisLabelAngle", this.i.ab3);
},
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.aco;
},
set: function (v) {
this.i.aco = +v;
this._a("valueAxisLabelAngle", this.i.aco);
},
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.ab2;
},
set: function (v) {
this.i.ab2 = +v;
this._a("angleAxisExtent", this.i.ab2);
},
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.acn;
},
set: function (v) {
this.i.acn = +v;
this._a("valueAxisExtent", this.i.acn);
},
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.acd;
},
set: function (v) {
this.i.acd = +v;
this._a("angleAxisTitleAngle", this.i.acd);
},
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.acy;
},
set: function (v) {
this.i.acy = +v;
this._a("valueAxisTitleAngle", this.i.acy);
},
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.aa2;
},
set: function (v) {
this.i.aa2 = ensureBool(v);
this._a("angleAxisInverted", this.i.aa2);
},
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.aa3;
},
set: function (v) {
this.i.aa3 = ensureBool(v);
this._a("valueAxisInverted", this.i.aa3);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcRadialBaseChartComponent.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);
this._a("angleAxisTitleAlignment", enumToString(HorizontalAlignment_$type, this.i.agd));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcRadialBaseChartComponent.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);
this._a("valueAxisTitleAlignment", enumToString(VerticalAlignment_$type, this.i.ahg));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcRadialBaseChartComponent.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);
this._a("angleAxisLabelHorizontalAlignment", enumToString(HorizontalAlignment_$type, this.i.agc));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcRadialBaseChartComponent.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);
this._a("valueAxisLabelHorizontalAlignment", enumToString(HorizontalAlignment_$type, this.i.age));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcRadialBaseChartComponent.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);
this._a("angleAxisLabelVerticalAlignment", enumToString(VerticalAlignment_$type, this.i.ahe));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcRadialBaseChartComponent.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);
this._a("valueAxisLabelVerticalAlignment", enumToString(VerticalAlignment_$type, this.i.ahf));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcRadialBaseChartComponent.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);
this._a("angleAxisLabelVisibility", enumToString(Visibility_$type, this.i.ahj));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcRadialBaseChartComponent.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);
this._a("valueAxisLabelVisibility", enumToString(Visibility_$type, this.i.ahk));
},
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.aaz;
},
set: function (v) {
this.i.aaz = ensureEnum(ValueAxisLabelLocation_$type, v);
this._a("valueAxisLabelLocation", enumToString(ValueAxisLabelLocation_$type, this.i.aaz));
},
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.aap;
},
set: function (v) {
this.i.aap = ensureEnum(AngleAxisLabelLocation_$type, v);
this._a("angleAxisLabelLocation", enumToString(AngleAxisLabelLocation_$type, this.i.aap));
},
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.adn;
},
set: function (v) {
this.i.adn = 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.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(IgcRadialBaseChartComponent.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(IgcRadialBaseChartComponent.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
});
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.acj(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.acl(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.ack(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.acm(scaledValue);
return (iv);
};
IgcRadialBaseChartComponent._observedAttributesIgcRadialBaseChartComponent = null;
return IgcRadialBaseChartComponent;
}(IgcDomainChartComponent));
export { IgcRadialBaseChartComponent };