UNPKG

igniteui-react-charts

Version:

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

1,575 lines 59 kB
/* THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE: https://www.infragistics.com/legal/license/igultimate-la https://www.infragistics.com/legal/license/igultimate-eula GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company. */ import { __extends, __read, __spreadArray, __values } from "tslib"; import { DomainChart } from "./DomainChart"; import { fromEnum, enumGetBox, markType } from "igniteui-react-core"; import { HorizontalAlignment_$type } from "igniteui-react-core"; import { VerticalAlignment_$type } from "igniteui-react-core"; import { Visibility_$type } from "igniteui-react-core"; import { YAxisLabelLocation_$type } from "./YAxisLabelLocation"; import { XAxisLabelLocation_$type } from "./XAxisLabelLocation"; import { AxisLabelSettings } from "./AxisLabelSettings"; import { AxisDefaults } from "./AxisDefaults"; import { TitleSettings } from "./TitleSettings"; import { ScalerParams } from "./ScalerParams"; import { DeviceUtils } from "igniteui-react-core"; /** * @hidden */ var XYChart = /** @class */ /*@__PURE__*/ (function (_super) { __extends(XYChart, _super); function XYChart() { var _this = _super.apply(this, __spreadArray([], __read(arguments), false)) || this; _this.abl = null; _this.abm = null; _this.ab2 = 0; _this.ab4 = 5; _this.ab3 = 0; _this.ab1 = 5; _this.acl = 5; _this.acn = 0; _this.acm = 5; _this.ack = 0; _this.aho = null; _this.ahv = null; _this.ahm = null; _this.ahn = null; _this.acf = 0; _this.acy = 0; _this.ace = NaN; _this.acx = NaN; _this.ach = NaN; _this.ac0 = NaN; _this.acg = NaN; _this.acz = NaN; _this.acd = NaN; _this.acw = NaN; _this.ahu = null; _this.ah1 = null; _this.aec = null; _this.aeg = null; _this.aee = null; _this.aei = null; _this.ad7 = null; _this.ad8 = null; _this.ahp = null; _this.ahw = null; _this.ab5 = DeviceUtils.g(1); _this.aco = DeviceUtils.g(1); _this.ab8 = DeviceUtils.g(1); _this.acr = DeviceUtils.g(1); _this.ahr = null; _this.ahy = null; _this.ahs = null; _this.ahz = null; _this.ab9 = DeviceUtils.g(1); _this.acs = DeviceUtils.g(1); _this.aca = DeviceUtils.g(8); _this.act = 0; _this.aht = null; _this.ah0 = null; _this.acb = DeviceUtils.g(1); _this.acu = DeviceUtils.g(1); _this.aed = null; _this.aeh = null; _this.ahq = null; _this.ahx = null; _this.ab0 = 0; _this.acj = 0; _this.abz = NaN; _this.aci = NaN; _this.ab6 = NaN; _this.acp = NaN; _this.ab7 = NaN; _this.acq = NaN; _this.acc = 0; _this.acv = -90; _this.abv = false; _this.abw = false; _this.ahh = 1; _this.aik = 1; _this.ahg = 1; _this.ahi = 2; _this.aii = 0; _this.aij = 1; _this.aio = 0; _this.aip = 0; _this.abt = 4; _this.abr = 4; _this.aeb = null; _this.abf = null; _this.aef = null; _this.abg = null; return _this; } XYChart.prototype.provideContainer = function (a) { if (a != null) { var b = this.abj(); var c = this.abk(); if (b != null) { b.provideRenderer(a); } if (c != null) { c.provideRenderer(a); } } _super.prototype.provideContainer.call(this, a); }; XYChart.prototype.v9 = function () { _super.prototype.v9.call(this); var a = this.abj(); var b = this.abk(); if (a != null && a.a4 != null) { this.ah4 = a.a4.textColor; } if (b != null && b.a4 != null) { this.aib = b.a4.textColor; } this.ah9 = AxisDefaults.axis_TickBrush; this.aig = AxisDefaults.axis_TickBrush; this.ah5 = AxisDefaults.axis_MajorBrush; this.aic = AxisDefaults.axis_MajorBrush; this.ah8 = AxisDefaults.axis_LineBrush; this.aif = AxisDefaults.axis_LineBrush; }; XYChart.prototype.w5 = function (a, b, c) { var _this = this; _super.prototype.w5.call(this, a, b, c); switch (a) { case "XAxisLabelLeftMargin": this.ag8(function (d) { return d.leftMargin = _this.ac8; }); break; case "XAxisLabelTopMargin": this.ag8(function (d) { return d.topMargin = _this.ada; }); break; case "XAxisLabelRightMargin": this.ag8(function (d) { return d.rightMargin = _this.ac9; }); break; case "XAxisLabelBottomMargin": this.ag8(function (d) { return d.bottomMargin = _this.ac7; }); break; case "YAxisLabelLeftMargin": this.ahd(function (d) { return d.leftMargin = _this.adr; }); break; case "YAxisLabelTopMargin": this.ahd(function (d) { return d.topMargin = _this.adt; }); break; case "YAxisLabelRightMargin": this.ahd(function (d) { return d.rightMargin = _this.ads; }); break; case "YAxisLabelBottomMargin": this.ahd(function (d) { return d.bottomMargin = _this.adq; }); break; case "ActualItemsSource": case "ShouldDisplayMockData": case "ShouldUseSkeletonStyleForMockData": this.ah2 = this.aad(this.ah4); this.ah3 = this.aad(this.aib); break; case "XAxisLabelTextColor": this.ah2 = this.aad(this.ah4); break; case "YAxisLabelTextColor": this.ah3 = this.aad(this.aib); break; case "ActualXAxisLabelTextColor": this.ag8(function (d) { return d.textColor = _this.ah2; }); break; case "ActualYAxisLabelTextColor": this.ahd(function (d) { return d.textColor = _this.ah3; }); break; case "XAxisTitleMargin": this.aha(function (d) { return d.margin = _this.adl; }); break; case "YAxisTitleMargin": this.ahf(function (d) { return d.margin = _this.ad4; }); break; case "XAxisTitleLeftMargin": this.aha(function (d) { return d.leftMargin = _this.adk; }); break; case "YAxisTitleLeftMargin": this.ahf(function (d) { return d.leftMargin = _this.ad3; }); break; case "XAxisTitleTopMargin": this.aha(function (d) { return d.topMargin = _this.adn; }); break; case "YAxisTitleTopMargin": this.ahf(function (d) { return d.topMargin = _this.ad6; }); break; case "XAxisTitleRightMargin": this.aha(function (d) { return d.rightMargin = _this.adm; }); break; case "YAxisTitleRightMargin": this.ahf(function (d) { return d.rightMargin = _this.ad5; }); break; case "XAxisTitleBottomMargin": this.aha(function (d) { return d.bottomMargin = _this.adj; }); break; case "YAxisTitleBottomMargin": this.ahf(function (d) { return d.bottomMargin = _this.ad2; }); break; case "XAxisTitleTextColor": this.aha(function (d) { return d.textColor = _this.aia; }); break; case "YAxisTitleTextColor": this.ahf(function (d) { return d.textColor = _this.aih; }); break; case "XAxisFormatLabel": this.ag6(function (d) { return d.az = _this.abn; }); break; case "YAxisFormatLabel": this.ahb(function (d) { return d.az = _this.abo; }); break; } }; Object.defineProperty(XYChart.prototype, "abn", { get: function () { return this.abl; }, set: function (a) { var b = this.abn; if (a != b) { this.abl = a; this.w1("XAxisFormatLabel", b, this.abn); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "abo", { get: function () { return this.abm; }, set: function (a) { var b = this.abo; if (a != b) { this.abm = a; this.w1("YAxisFormatLabel", b, this.abo); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ac8", { get: function () { return this.ab2; }, set: function (a) { var b = this.ac8; if (a != b) { this.ab2 = a; this.w1("XAxisLabelLeftMargin", b, this.ac8); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ada", { get: function () { return this.ab4; }, set: function (a) { var b = this.ada; if (a != b) { this.ab4 = a; this.w1("XAxisLabelTopMargin", b, this.ada); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ac9", { get: function () { return this.ab3; }, set: function (a) { var b = this.ac9; if (a != b) { this.ab3 = a; this.w1("XAxisLabelRightMargin", b, this.ac9); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ac7", { get: function () { return this.ab1; }, set: function (a) { var b = this.ac7; if (a != b) { this.ab1 = a; this.w1("XAxisLabelBottomMargin", b, this.ac7); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "adr", { get: function () { return this.acl; }, set: function (a) { var b = this.adr; if (a != b) { this.acl = a; this.w1("YAxisLabelLeftMargin", b, this.adr); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "adt", { get: function () { return this.acn; }, set: function (a) { var b = this.adt; if (a != b) { this.acn = a; this.w1("YAxisLabelTopMargin", b, this.adt); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ads", { get: function () { return this.acm; }, set: function (a) { var b = this.ads; if (a != b) { this.acm = a; this.w1("YAxisLabelRightMargin", b, this.ads); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "adq", { get: function () { return this.ack; }, set: function (a) { var b = this.adq; if (a != b) { this.ack = a; this.w1("YAxisLabelBottomMargin", b, this.adq); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ah4", { get: function () { return this.aho; }, set: function (a) { var b = this.ah4; if (a != b) { this.aho = a; this.w1("XAxisLabelTextColor", b, this.ah4); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "aib", { get: function () { return this.ahv; }, set: function (a) { var b = this.aib; if (a != b) { this.ahv = a; this.w1("YAxisLabelTextColor", b, this.aib); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ah2", { get: function () { return this.ahm; }, set: function (a) { var b = this.ahm; if (a != b) { this.ahm = a; this.w1("ActualXAxisLabelTextColor", b, this.ah2); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ah3", { get: function () { return this.ahn; }, set: function (a) { var b = this.ahn; if (a != b) { this.ahn = a; this.w1("ActualYAxisLabelTextColor", b, this.ah3); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "adl", { get: function () { return this.acf; }, set: function (a) { var b = this.adl; if (a != b) { this.acf = a; this.w1("XAxisTitleMargin", b, this.adl); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ad4", { get: function () { return this.acy; }, set: function (a) { var b = this.ad4; if (a != b) { this.acy = a; this.w1("YAxisTitleMargin", b, this.ad4); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "adk", { get: function () { return this.ace; }, set: function (a) { var b = this.adk; if (a != b) { this.ace = a; this.w1("XAxisTitleLeftMargin", b, this.adk); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ad3", { get: function () { return this.acx; }, set: function (a) { var b = this.ad3; if (a != b) { this.acx = a; this.w1("YAxisTitleLeftMargin", b, this.ad3); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "adn", { get: function () { return this.ach; }, set: function (a) { var b = this.adn; if (a != b) { this.ach = a; this.w1("XAxisTitleTopMargin", b, this.adn); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ad6", { get: function () { return this.ac0; }, set: function (a) { var b = this.ad6; if (a != b) { this.ac0 = a; this.w1("YAxisTitleTopMargin", b, this.ad6); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "adm", { get: function () { return this.acg; }, set: function (a) { var b = this.adm; if (a != b) { this.acg = a; this.w1("XAxisTitleRightMargin", b, this.adm); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ad5", { get: function () { return this.acz; }, set: function (a) { var b = this.ad5; if (a != b) { this.acz = a; this.w1("YAxisTitleRightMargin", b, this.ad5); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "adj", { get: function () { return this.acd; }, set: function (a) { var b = this.adj; if (a != b) { this.acd = a; this.w1("XAxisTitleBottomMargin", b, this.adj); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ad2", { get: function () { return this.acw; }, set: function (a) { var b = this.ad2; if (a != b) { this.acw = a; this.w1("YAxisTitleBottomMargin", b, this.ad2); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "aia", { get: function () { return this.ahu; }, set: function (a) { var b = this.aia; if (a != b) { this.ahu = a; this.w1("XAxisTitleTextColor", b, this.aia); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "aih", { get: function () { return this.ah1; }, set: function (a) { var b = this.aih; if (a != b) { this.ah1 = a; this.w1("YAxisTitleTextColor", b, this.aih); } }, enumerable: false, configurable: true }); XYChart.prototype.w6 = function (a, b, c) { var _this = this; _super.prototype.w6.call(this, a, b, c); switch (a) { case "XAxisLabelTextStyle": this.ag8(function (d) { return d.textStyle = _this.ae0; }); break; case "YAxisLabelTextStyle": this.ahd(function (d) { return d.textStyle = _this.af7; }); break; case "XAxisTitleTextStyle": this.aha(function (d) { return d.textStyle = _this.afq; }); break; case "YAxisTitleTextStyle": this.ahf(function (d) { return d.textStyle = _this.agx; }); break; } }; Object.defineProperty(XYChart.prototype, "ae0", { get: function () { return this.aec; }, set: function (a) { var b = this.ae0; if (a != b) { this.aec = a; this.w1("XAxisLabelTextStyle", b, this.ae0); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "af7", { get: function () { return this.aeg; }, set: function (a) { var b = this.af7; if (a != b) { this.aeg = a; this.w1("YAxisLabelTextStyle", b, this.af7); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "afq", { get: function () { return this.aee; }, set: function (a) { var b = this.afq; if (a != b) { this.aee = a; this.w1("XAxisTitleTextStyle", b, this.afq); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "agx", { get: function () { return this.aei; }, set: function (a) { var b = this.agx; if (a != b) { this.aei = a; this.w1("YAxisTitleTextStyle", b, this.agx); } }, enumerable: false, configurable: true }); XYChart.prototype.ag3 = function (a) { var _this = this; this.ag0(a, function (b) { return b.leftMargin = _this.ac8; }); this.ag0(a, function (b) { return b.topMargin = _this.ada; }); this.ag0(a, function (b) { return b.rightMargin = _this.ac9; }); this.ag0(a, function (b) { return b.bottomMargin = _this.ac7; }); this.ag0(a, function (b) { return b.textColor = _this.ah2; }); this.ag1(a, function (b) { return b.textColor = _this.aia; }); this.ag1(a, function (b) { return b.leftMargin = _this.adk; }); this.ag1(a, function (b) { return b.topMargin = _this.adn; }); this.ag1(a, function (b) { return b.rightMargin = _this.adm; }); this.ag1(a, function (b) { return b.bottomMargin = _this.adj; }); this.ag0(a, function (b) { return b.textStyle = _this.ae0; }); this.ag1(a, function (b) { return b.textStyle = _this.afq; }); }; XYChart.prototype.ag5 = function (a) { var _this = this; this.ag0(a, function (b) { return b.leftMargin = _this.adr; }); this.ag0(a, function (b) { return b.topMargin = _this.adt; }); this.ag0(a, function (b) { return b.rightMargin = _this.ads; }); this.ag0(a, function (b) { return b.bottomMargin = _this.adq; }); this.ag0(a, function (b) { return b.textColor = _this.ah3; }); this.ag1(a, function (b) { return b.textColor = _this.aih; }); this.ag1(a, function (b) { return b.leftMargin = _this.ad3; }); this.ag1(a, function (b) { return b.topMargin = _this.ad6; }); this.ag1(a, function (b) { return b.rightMargin = _this.ad5; }); this.ag1(a, function (b) { return b.bottomMargin = _this.ad2; }); this.ag0(a, function (b) { return b.textStyle = _this.af7; }); this.ag1(a, function (b) { return b.textStyle = _this.agx; }); }; XYChart.prototype.x0 = function (a) { var b = this.bf(a); var c = this.de(a, b); if (c == null) { return; } c.itemsSource = this.ij(a); if (a.highlightedData != null) { c.highlightedItemsSource = this.ik(a); } c.name = this.rg(a); c.title = this.rh(a, b); this.dataChart.series.add(c); }; XYChart.prototype.ag6 = function (a) { this.ag7(a, null); }; XYChart.prototype.ag7 = function (a, b) { a(this.abj()); }; XYChart.prototype.ahc = function (a, b) { a(this.abk()); }; XYChart.prototype.ahb = function (a) { this.ahc(a, true); }; XYChart.prototype.vs = function (a, b) { this.ag6(a); this.ahc(a, b); }; XYChart.prototype.aha = function (a) { this.ag1(this.abj(), a); }; XYChart.prototype.ahf = function (a) { this.ag1(this.abk(), a); }; XYChart.prototype.ahd = function (a) { this.ag0(this.abk(), a); }; XYChart.prototype.ag8 = function (a) { this.ag0(this.abj(), a); }; XYChart.prototype.ac1 = function (a) { var b = this.abj(); return b.f6(a, new ScalerParams(1, this.aam, this.aal, b.dn)); }; XYChart.prototype.ac3 = function (a) { var b = this.abj(); return b.f9(a, new ScalerParams(1, this.aam, this.aal, b.dn)); }; XYChart.prototype.ac2 = function (a) { var b = this.abk(); return b.f6(a, new ScalerParams(1, this.aam, this.aal, b.dn)); }; XYChart.prototype.ac4 = function (a) { var b = this.abk(); return b.f9(a, new ScalerParams(1, this.aam, this.aal, b.dn)); }; XYChart.prototype.xx = function (a) { _super.prototype.xx.call(this, a); if (a == null) { return; } if (a.axes != null) { var b = this.abj(); var c = this.abk(); if (a.axes.contains(b)) { a.axes.remove(b); } if (a.axes.contains(c)) { a.axes.remove(c); } } }; XYChart.ael = function (a, b) { var e_1, _a; try { for (var _b = __values(fromEnum(b)), _c = _b.next(); !_c.done; _c = _b.next()) { var c = _c.value; var d = c.findMatchingHint(16); if (d != null) { var e = d.path; return e; } } } catch (e_1_1) { e_1 = { error: e_1_1 }; } finally { try { if (_c && !_c.done && (_a = _b.return)) _a.call(_b); } finally { if (e_1) throw e_1.error; } } return null; }; XYChart.prototype.v4 = function (a, b) { _super.prototype.v4.call(this, a, b); if (a == this.dataChart) { this.dataChart.axes.add(this.abj()); this.dataChart.axes.add(this.abk()); } }; XYChart.prototype.ag2 = function (a) { var _this = this; if (a != null && this.mi != null && a.ha == null) { a.provideRenderer(this.mi); } a.ol = this.ah5; a.ge = this.adb; a.om = this.ah6; a.gh = this.ade; a.op = this.ah8; a.g5 = this.adf; a.oo = this.ah7; a.g6 = this.adg; a.oq = this.ah9; a.g7 = this.adh; a.eg = true; a.d6 = this.shouldAvoidAxisAnnotationCollisions; a.d8 = this.shouldAvoidAxisAnnotationCollisions; var b = a == this.abj(); if (b) { a.j3 = this.afh; } a.hx = this.ad9; a.jb = this.aer; a.ah = this.abh; this.ag0(a, function (c) { return c.angle = _this.ac6; }); this.ag0(a, function (c) { if (c.extent != _this.ac5) { c.extent = _this.ac5; } }); this.ag0(a, function (c) { if (c.maximumExtent != _this.adc) { c.maximumExtent = _this.adc; } }); this.ag0(a, function (c) { if (c.maximumExtentPercentage != _this.add) { c.maximumExtentPercentage = _this.add; } }); this.ag0(a, function (c) { return c.horizontalAlignment = _this.ahj; }); this.ag0(a, function (c) { return c.verticalAlignment = _this.ail; }); this.ag0(a, function (c) { return c.visibility = _this.aiq; }); this.ag0(a, function (c) { return c.location = _this.abp(_this.abs); }); this.ag1(a, function (c) { return c.horizontalAlignment = _this.ahk; }); this.ag1(a, function (c) { return c.angle = _this.adi; }); this.ag3(a); }; XYChart.prototype.ag4 = function (a) { var _this = this; if (a == null) { return; } if (this.mi != null && a.ha == null) { a.provideRenderer(this.mi); } a.d6 = this.shouldAvoidAxisAnnotationCollisions; a.d8 = this.shouldAvoidAxisAnnotationCollisions; this.ag0(a, function (b) { return b.angle = _this.adp; }); this.ag0(a, function (b) { if (b.extent != _this.ado) { b.extent = _this.ado; } }); this.ag0(a, function (b) { if (b.maximumExtent != _this.adv) { b.maximumExtent = _this.adv; } }); this.ag0(a, function (b) { if (b.maximumExtentPercentage != _this.adw) { b.maximumExtentPercentage = _this.adw; } }); this.ag0(a, function (b) { return b.horizontalAlignment = _this.ahl; }); this.ag0(a, function (b) { return b.verticalAlignment = _this.aim; }); this.ag0(a, function (b) { return b.visibility = _this.air; }); this.ag0(a, function (b) { return b.location = _this.abq(_this.abu); }); this.ag1(a, function (b) { return b.verticalAlignment = _this.ain; }); this.ag1(a, function (b) { return b.angle = _this.ad1; }); a.ol = this.aic; a.ge = this.adu; a.om = this.aid; a.gh = this.adx; a.op = this.aif; a.g5 = this.ady; a.oo = this.aie; a.g6 = this.adz; a.oq = this.aig; a.g7 = this.ad0; var b = a == this.abk(); if (b) { a.j3 = this.ago; } a.jb = this.afy; a.ah = this.abi; this.ag5(a); }; XYChart.prototype.v1 = function () { _super.prototype.v1.call(this); this.ag2(this.abj()); this.ag4(this.abk()); }; XYChart.prototype.ag0 = function (a, b) { if (a == null) { return; } if (a.a4 == null) { a.a4 = new AxisLabelSettings(); a.a4.angle = a.fs(); a.a4.bottomMargin = a.ft(); a.a4.leftMargin = a.fu(); a.a4.rightMargin = a.fv(); a.a4.topMargin = a.fw(); a.a4.horizontalAlignment = a.n9(); a.a4.location = a.a6(); a.a4.verticalAlignment = a.pe(); } b(a.a4); }; XYChart.prototype.ag1 = function (a, b) { if (a == null) { return; } if (a.b4 == null) { a.b4 = new TitleSettings(); a.b4.bottomMargin = a.fy(); a.b4.leftMargin = a.fz(); a.b4.rightMargin = a.f0(); a.b4.topMargin = a.f1(); a.b4.location = a.a7(); a.b4.angle = a.fx(); a.b4.horizontalAlignment = a.oa(); a.b4.verticalAlignment = a.pf(); } b(a.b4); }; XYChart.prototype.w1 = function (a, b, c) { var _this = this; _super.prototype.w1.call(this, a, b, c); switch (a) { case "XAxisLabelAngle": this.ag8(function (d) { return d.angle = _this.ac6; }); break; case "YAxisLabelAngle": this.ahd(function (d) { return d.angle = _this.adp; }); break; case "XAxisLabelHorizontalAlignment": this.ag8(function (d) { return d.horizontalAlignment = _this.ahj; }); break; case "YAxisLabelHorizontalAlignment": this.ahd(function (d) { return d.horizontalAlignment = _this.ahl; }); break; case "XAxisLabelVerticalAlignment": this.ag8(function (d) { return d.verticalAlignment = _this.ail; }); break; case "YAxisLabelVerticalAlignment": this.ahd(function (d) { return d.verticalAlignment = _this.aim; }); break; case "XAxisLabelVisibility": this.ag8(function (d) { return d.visibility = _this.aiq; }); break; case "YAxisLabelVisibility": this.ahd(function (d) { return d.visibility = _this.air; }); break; case "XAxisLabel": this.ag6(function (d) { return d.hx = _this.ad9; }); break; case "YAxisLabel": this.ahb(function (d) { return d.hx = _this.aea; }); break; case "XAxisLabelFormat": this.ag6(function (d) { return d.jb = _this.aer; }); break; case "XAxisLabelFormatSpecifiers": this.ag6(function (d) { return d.ah = _this.abh; }); break; case "YAxisLabelFormat": this.ahb(function (d) { return d.jb = _this.afy; }); break; case "YAxisLabelFormatSpecifiers": this.ahb(function (d) { return d.ah = _this.abi; }); break; case "XAxisTitleAngle": this.aha(function (d) { return d.angle = _this.adi; }); break; case "YAxisTitleAngle": this.ahf(function (d) { return d.angle = _this.ad1; }); break; case "XAxisTitleAlignment": this.aha(function (d) { return d.horizontalAlignment = _this.ahk; }); break; case "YAxisTitleAlignment": this.ahf(function (d) { return d.verticalAlignment = _this.ain; }); break; case "XAxisTitle": this.ag6(function (d) { return d.j3 = _this.afh; }); break; case "YAxisTitle": this.ahc(function (d) { return d.j3 = _this.ago; }, false); break; case "XAxisMajorStroke": this.ag7(function (d) { return d.ol = _this.ah5; }, a); break; case "YAxisMajorStroke": this.ahb(function (d) { return d.ol = _this.aic; }); break; case "XAxisMajorStrokeThickness": this.ag7(function (d) { return d.ge = _this.adb; }, a); break; case "YAxisMajorStrokeThickness": this.ahb(function (d) { return d.ge = _this.adu; }); break; case "XAxisMinorStroke": this.ag6(function (d) { return d.om = _this.ah6; }); break; case "YAxisMinorStroke": this.ahb(function (d) { return d.om = _this.aid; }); break; case "XAxisMinorStrokeThickness": this.ag6(function (d) { return d.gh = _this.ade; }); break; case "YAxisMinorStrokeThickness": this.ahb(function (d) { return d.gh = _this.adx; }); break; case "XAxisTickLength": this.ag6(function (d) { return d.g6 = _this.adg; }); break; case "YAxisTickLength": this.ahb(function (d) { return d.g6 = _this.adz; }); break; case "XAxisTickStroke": this.ag6(function (d) { return d.oq = _this.ah9; }); break; case "YAxisTickStroke": this.ahb(function (d) { return d.oq = _this.aig; }); break; case "XAxisTickStrokeThickness": this.ag6(function (d) { return d.g7 = _this.adh; }); break; case "YAxisTickStrokeThickness": this.ahb(function (d) { return d.g7 = _this.ad0; }); break; case "XAxisStroke": this.ag6(function (d) { return d.op = _this.ah8; }); break; case "YAxisStroke": this.ahb(function (d) { return d.op = _this.aif; }); break; case "XAxisStrokeThickness": this.ag6(function (d) { return d.g5 = _this.adf; }); break; case "YAxisStrokeThickness": this.ahb(function (d) { return d.g5 = _this.ady; }); break; case "XAxisExtent": this.ag8(function (d) { return d.extent = _this.ac5; }); break; case "YAxisExtent": this.ahd(function (d) { return d.extent = _this.ado; }); break; case "XAxisMaximumExtent": this.ag8(function (d) { return d.maximumExtent = _this.adc; }); break; case "YAxisMaximumExtent": this.ahd(function (d) { return d.maximumExtent = _this.adv; }); break; case "XAxisMaximumExtentPercentage": this.ag8(function (d) { return d.maximumExtentPercentage = _this.add; }); break; case "YAxisMaximumExtentPercentage": this.ahd(function (d) { return d.maximumExtentPercentage = _this.adw; }); break; case "XAxisStrip": this.ag6(function (d) { return d.oo = _this.ah7; }); break; case "YAxisStrip": this.ahb(function (d) { return d.oo = _this.aie; }); break; case "XAxisInverted": this.ag6(function (d) { return d.dn = _this.abx; }); break; case "YAxisInverted": this.ahb(function (d) { return d.dn = _this.aby; }); break; case "YAxisLabelLocation": this.ahe(); break; case "XAxisLabelLocation": this.ag9(); break; } }; XYChart.prototype.ahe = function () { var a = this.abq(this.abu); if (a == 2 || a == 7) { this.ahl = 2; } else { this.ahl = 0; } this.ahd(function (b) { return b.location = a; }); }; XYChart.prototype.ag9 = function () { var a = this.abp(this.abs); if (a == 1 || a == 5) { this.ail = 0; } else { this.ail = 2; } this.ag8(function (b) { return b.location = a; }); }; XYChart.prototype.abq = function (a) { if (a == 0) { return 2; } else if (a == 1) { return 3; } else if (a == 3) { return 7; } else if (a == 2) { return 6; } else { if (this.cd == 1) { return 3; } else { return 2; } } }; XYChart.prototype.abp = function (a) { if (a == 1) { return 1; } else if (a == 0) { return 0; } else if (a == 3) { return 5; } else if (a == 2) { return 4; } else { return 1; } }; Object.defineProperty(XYChart.prototype, "ad9", { get: function () { return this.ad7; }, set: function (a) { var b = this.ad9; if (a != b) { this.ad7 = a; this.w1("XAxisLabel", b, this.ad9); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "aea", { get: function () { return this.ad8; }, set: function (a) { var b = this.aea; if (a != b) { this.ad8 = a; this.w1("YAxisLabel", b, this.aea); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ah5", { get: function () { return this.ahp; }, set: function (a) { var b = this.ah5; if (a != b) { this.ahp = a; this.w1("XAxisMajorStroke", b, this.ah5); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "aic", { get: function () { return this.ahw; }, set: function (a) { var b = this.aic; if (a != b) { this.ahw = a; this.w1("YAxisMajorStroke", b, this.aic); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "adb", { get: function () { return this.ab5; }, set: function (a) { var b = this.adb; if (a != b) { this.ab5 = a; this.w1("XAxisMajorStrokeThickness", b, this.adb); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "adu", { get: function () { return this.aco; }, set: function (a) { var b = this.adu; if (a != b) { this.aco = a; this.w1("YAxisMajorStrokeThickness", b, this.adu); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ade", { get: function () { return this.ab8; }, set: function (a) { var b = this.ade; if (a != b) { this.ab8 = a; this.w1("XAxisMinorStrokeThickness", b, this.ade); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "adx", { get: function () { return this.acr; }, set: function (a) { var b = this.adx; if (a != b) { this.acr = a; this.w1("YAxisMinorStrokeThickness", b, this.adx); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ah7", { get: function () { return this.ahr; }, set: function (a) { var b = this.ah7; if (a != b) { this.ahr = a; this.w1("XAxisStrip", b, this.ah7); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "aie", { get: function () { return this.ahy; }, set: function (a) { var b = this.aie; if (a != b) { this.ahy = a; this.w1("YAxisStrip", b, this.aie); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ah8", { get: function () { return this.ahs; }, set: function (a) { var b = this.ah8; if (a != b) { this.ahs = a; this.w1("XAxisStroke", b, this.ah8); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "aif", { get: function () { return this.ahz; }, set: function (a) { var b = this.aif; if (a != b) { this.ahz = a; this.w1("YAxisStroke", b, this.aif); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "adf", { get: function () { return this.ab9; }, set: function (a) { var b = this.adf; if (a != b) { this.ab9 = a; this.w1("XAxisStrokeThickness", b, this.adf); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ady", { get: function () { return this.acs; }, set: function (a) { var b = this.ady; if (a != b) { this.acs = a; this.w1("YAxisStrokeThickness", b, this.ady); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "adg", { get: function () { return this.aca; }, set: function (a) { var b = this.adg; if (a != b) { this.aca = a; this.w1("XAxisTickLength", b, this.adg); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "adz", { get: function () { return this.act; }, set: function (a) { var b = this.adz; if (a != b) { this.act = a; this.w1("YAxisTickLength", b, this.adz); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ah9", { get: function () { return this.aht; }, set: function (a) { var b = this.ah9; if (a != b) { this.aht = a; this.w1("XAxisTickStroke", b, this.ah9); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "aig", { get: function () { return this.ah0; }, set: function (a) { var b = this.aig; if (a != b) { this.ah0 = a; this.w1("YAxisTickStroke", b, this.aig); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "adh", { get: function () { return this.acb; }, set: function (a) { var b = this.adh; if (a != b) { this.acb = a; this.w1("XAxisTickStrokeThickness", b, this.adh); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ad0", { get: function () { return this.acu; }, set: function (a) { var b = this.ad0; if (a != b) { this.acu = a; this.w1("YAxisTickStrokeThickness", b, this.ad0); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "afh", { get: function () { return this.aed; }, set: function (a) { var b = this.afh; if (a != b) { this.aed = a; this.w1("XAxisTitle", b, this.afh); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ago", { get: function () { return this.aeh; }, set: function (a) { var b = this.ago; if (a != b) { this.aeh = a; this.w1("YAxisTitle", b, this.ago); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ah6", { get: function () { return this.ahq; }, set: function (a) { var b = this.ah6; if (a != b) { this.ahq = a; this.w1("XAxisMinorStroke", b, this.ah6); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "aid", { get: function () { return this.ahx; }, set: function (a) { var b = this.aid; if (a != b) { this.ahx = a; this.w1("YAxisMinorStroke", b, this.aid); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ac6", { get: function () { return this.ab0; }, set: function (a) { var b = this.ac6; if (a != b) { this.ab0 = a; this.w1("XAxisLabelAngle", b, this.ac6); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "adp", { get: function () { return this.acj; }, set: function (a) { var b = this.adp; if (a != b) { this.acj = a; this.w1("YAxisLabelAngle", b, this.adp); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ac5", { get: function () { return this.abz; }, set: function (a) { var b = this.ac5; if (a != b) { this.abz = a; this.w1("XAxisExtent", b, this.ac5); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ado", { get: function () { return this.aci; }, set: function (a) { var b = this.ado; if (a != b) { this.aci = a; this.w1("YAxisExtent", b, this.ado); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "adc", { get: function () { return this.ab6; }, set: function (a) { var b = this.adc; if (a != b) { this.ab6 = a; this.w1("XAxisMaximumExtent", b, this.adc); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "adv", { get: function () { return this.acp; }, set: function (a) { var b = this.adv; if (a != b) { this.acp = a; this.w1("YAxisMaximumExtent", b, this.adv); } }, e