UNPKG

igniteui-react-charts

Version:

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

1,591 lines 56 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, __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 !== null && _super.apply(this, arguments) || this; _this.aag = null; _this.aah = null; _this.aax = 0; _this.aaz = 5; _this.aay = 0; _this.aaw = 5; _this.abe = 5; _this.abg = 0; _this.abf = 5; _this.abd = 0; _this.af7 = null; _this.age = null; _this.af5 = null; _this.af6 = null; _this.aa8 = 0; _this.abp = 0; _this.aa7 = NaN; _this.abo = NaN; _this.aba = NaN; _this.abr = NaN; _this.aa9 = NaN; _this.abq = NaN; _this.aa6 = NaN; _this.abn = NaN; _this.agd = null; _this.agk = null; _this.acz = null; _this.ac3 = null; _this.ac1 = null; _this.ac5 = null; _this.acu = null; _this.acv = null; _this.af8 = null; _this.agf = null; _this.aa0 = DeviceUtils.g(1); _this.abh = DeviceUtils.g(1); _this.aa1 = DeviceUtils.g(1); _this.abi = DeviceUtils.g(1); _this.aga = null; _this.agh = null; _this.agb = null; _this.agi = null; _this.aa2 = DeviceUtils.g(1); _this.abj = DeviceUtils.g(1); _this.aa3 = DeviceUtils.g(8); _this.abk = 0; _this.agc = null; _this.agj = null; _this.aa4 = DeviceUtils.g(1); _this.abl = DeviceUtils.g(1); _this.ac0 = null; _this.ac4 = null; _this.af9 = null; _this.agg = null; _this.aav = 0; _this.abc = 0; _this.aau = NaN; _this.abb = NaN; _this.aa5 = 0; _this.abm = -90; _this.aaq = false; _this.aar = false; _this.af0 = 1; _this.ag3 = 1; _this.afz = 1; _this.af1 = 2; _this.ag1 = 0; _this.ag2 = 1; _this.ag7 = 0; _this.ag8 = 0; _this.aao = 4; _this.aam = 4; _this.acy = null; _this.aaa = null; _this.ac2 = null; _this.aab = null; return _this; } XYChart.prototype.provideContainer = function (a) { if (a != null) { var b = this.aae(); var c = this.aaf(); if (b != null) { b.provideRenderer(a); } if (c != null) { c.provideRenderer(a); } } _super.prototype.provideContainer.call(this, a); }; XYChart.prototype.vd = function () { _super.prototype.vd.call(this); var a = this.aae(); var b = this.aaf(); if (a != null && a.az != null) { this.agn = a.az.textColor; } if (b != null && b.az != null) { this.agu = b.az.textColor; } this.ags = AxisDefaults.j; this.agz = AxisDefaults.j; this.ago = AxisDefaults.h; this.agv = AxisDefaults.h; this.agr = AxisDefaults.g; this.agy = AxisDefaults.g; }; XYChart.prototype.v7 = function (a, b, c) { var _this = this; _super.prototype.v7.call(this, a, b, c); switch (a) { case "XAxisLabelLeftMargin": this.afr(function (d) { return d.leftMargin = _this.abz; }); break; case "XAxisLabelTopMargin": this.afr(function (d) { return d.topMargin = _this.ab1; }); break; case "XAxisLabelRightMargin": this.afr(function (d) { return d.rightMargin = _this.ab0; }); break; case "XAxisLabelBottomMargin": this.afr(function (d) { return d.bottomMargin = _this.aby; }); break; case "YAxisLabelLeftMargin": this.afw(function (d) { return d.leftMargin = _this.acg; }); break; case "YAxisLabelTopMargin": this.afw(function (d) { return d.topMargin = _this.aci; }); break; case "YAxisLabelRightMargin": this.afw(function (d) { return d.rightMargin = _this.ach; }); break; case "YAxisLabelBottomMargin": this.afw(function (d) { return d.bottomMargin = _this.acf; }); break; case "ActualItemsSource": case "ShouldDisplayMockData": case "ShouldUseSkeletonStyleForMockData": this.agl = this.y8(this.agn); this.agm = this.y8(this.agu); break; case "XAxisLabelTextColor": this.agl = this.y8(this.agn); break; case "YAxisLabelTextColor": this.agm = this.y8(this.agu); break; case "ActualXAxisLabelTextColor": this.afr(function (d) { return d.textColor = _this.agl; }); break; case "ActualYAxisLabelTextColor": this.afw(function (d) { return d.textColor = _this.agm; }); break; case "XAxisTitleMargin": this.aft(function (d) { return d.margin = _this.aca; }); break; case "YAxisTitleMargin": this.afy(function (d) { return d.margin = _this.acr; }); break; case "XAxisTitleLeftMargin": this.aft(function (d) { return d.leftMargin = _this.ab9; }); break; case "YAxisTitleLeftMargin": this.afy(function (d) { return d.leftMargin = _this.acq; }); break; case "XAxisTitleTopMargin": this.aft(function (d) { return d.topMargin = _this.acc; }); break; case "YAxisTitleTopMargin": this.afy(function (d) { return d.topMargin = _this.act; }); break; case "XAxisTitleRightMargin": this.aft(function (d) { return d.rightMargin = _this.acb; }); break; case "YAxisTitleRightMargin": this.afy(function (d) { return d.rightMargin = _this.acs; }); break; case "XAxisTitleBottomMargin": this.aft(function (d) { return d.bottomMargin = _this.ab8; }); break; case "YAxisTitleBottomMargin": this.afy(function (d) { return d.bottomMargin = _this.acp; }); break; case "XAxisTitleTextColor": this.aft(function (d) { return d.textColor = _this.agt; }); break; case "YAxisTitleTextColor": this.afy(function (d) { return d.textColor = _this.ag0; }); break; case "XAxisFormatLabel": this.afp(function (d) { return d.au = _this.aai; }); break; case "YAxisFormatLabel": this.afu(function (d) { return d.au = _this.aaj; }); break; } }; Object.defineProperty(XYChart.prototype, "aai", { get: function () { return this.aag; }, set: function (a) { var b = this.aai; if (a != b) { this.aag = a; this.v3("XAxisFormatLabel", b, this.aai); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "aaj", { get: function () { return this.aah; }, set: function (a) { var b = this.aaj; if (a != b) { this.aah = a; this.v3("YAxisFormatLabel", b, this.aaj); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "abz", { get: function () { return this.aax; }, set: function (a) { var b = this.abz; if (a != b) { this.aax = a; this.v3("XAxisLabelLeftMargin", b, this.abz); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ab1", { get: function () { return this.aaz; }, set: function (a) { var b = this.ab1; if (a != b) { this.aaz = a; this.v3("XAxisLabelTopMargin", b, this.ab1); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ab0", { get: function () { return this.aay; }, set: function (a) { var b = this.ab0; if (a != b) { this.aay = a; this.v3("XAxisLabelRightMargin", b, this.ab0); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "aby", { get: function () { return this.aaw; }, set: function (a) { var b = this.aby; if (a != b) { this.aaw = a; this.v3("XAxisLabelBottomMargin", b, this.aby); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "acg", { get: function () { return this.abe; }, set: function (a) { var b = this.acg; if (a != b) { this.abe = a; this.v3("YAxisLabelLeftMargin", b, this.acg); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "aci", { get: function () { return this.abg; }, set: function (a) { var b = this.aci; if (a != b) { this.abg = a; this.v3("YAxisLabelTopMargin", b, this.aci); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ach", { get: function () { return this.abf; }, set: function (a) { var b = this.ach; if (a != b) { this.abf = a; this.v3("YAxisLabelRightMargin", b, this.ach); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "acf", { get: function () { return this.abd; }, set: function (a) { var b = this.acf; if (a != b) { this.abd = a; this.v3("YAxisLabelBottomMargin", b, this.acf); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "agn", { get: function () { return this.af7; }, set: function (a) { var b = this.agn; if (a != b) { this.af7 = a; this.v3("XAxisLabelTextColor", b, this.agn); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "agu", { get: function () { return this.age; }, set: function (a) { var b = this.agu; if (a != b) { this.age = a; this.v3("YAxisLabelTextColor", b, this.agu); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "agl", { get: function () { return this.af5; }, set: function (a) { var b = this.af5; if (a != b) { this.af5 = a; this.v3("ActualXAxisLabelTextColor", b, this.agl); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "agm", { get: function () { return this.af6; }, set: function (a) { var b = this.af6; if (a != b) { this.af6 = a; this.v3("ActualYAxisLabelTextColor", b, this.agm); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "aca", { get: function () { return this.aa8; }, set: function (a) { var b = this.aca; if (a != b) { this.aa8 = a; this.v3("XAxisTitleMargin", b, this.aca); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "acr", { get: function () { return this.abp; }, set: function (a) { var b = this.acr; if (a != b) { this.abp = a; this.v3("YAxisTitleMargin", b, this.acr); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ab9", { get: function () { return this.aa7; }, set: function (a) { var b = this.ab9; if (a != b) { this.aa7 = a; this.v3("XAxisTitleLeftMargin", b, this.ab9); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "acq", { get: function () { return this.abo; }, set: function (a) { var b = this.acq; if (a != b) { this.abo = a; this.v3("YAxisTitleLeftMargin", b, this.acq); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "acc", { get: function () { return this.aba; }, set: function (a) { var b = this.acc; if (a != b) { this.aba = a; this.v3("XAxisTitleTopMargin", b, this.acc); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "act", { get: function () { return this.abr; }, set: function (a) { var b = this.act; if (a != b) { this.abr = a; this.v3("YAxisTitleTopMargin", b, this.act); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "acb", { get: function () { return this.aa9; }, set: function (a) { var b = this.acb; if (a != b) { this.aa9 = a; this.v3("XAxisTitleRightMargin", b, this.acb); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "acs", { get: function () { return this.abq; }, set: function (a) { var b = this.acs; if (a != b) { this.abq = a; this.v3("YAxisTitleRightMargin", b, this.acs); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ab8", { get: function () { return this.aa6; }, set: function (a) { var b = this.ab8; if (a != b) { this.aa6 = a; this.v3("XAxisTitleBottomMargin", b, this.ab8); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "acp", { get: function () { return this.abn; }, set: function (a) { var b = this.acp; if (a != b) { this.abn = a; this.v3("YAxisTitleBottomMargin", b, this.acp); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "agt", { get: function () { return this.agd; }, set: function (a) { var b = this.agt; if (a != b) { this.agd = a; this.v3("XAxisTitleTextColor", b, this.agt); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ag0", { get: function () { return this.agk; }, set: function (a) { var b = this.ag0; if (a != b) { this.agk = a; this.v3("YAxisTitleTextColor", b, this.ag0); } }, enumerable: false, configurable: true }); XYChart.prototype.v8 = function (a, b, c) { var _this = this; _super.prototype.v8.call(this, a, b, c); switch (a) { case "XAxisLabelTextStyle": this.afr(function (d) { return d.textStyle = _this.adn; }); break; case "YAxisLabelTextStyle": this.afw(function (d) { return d.textStyle = _this.aes; }); break; case "XAxisTitleTextStyle": this.aft(function (d) { return d.textStyle = _this.aeb; }); break; case "YAxisTitleTextStyle": this.afy(function (d) { return d.textStyle = _this.afg; }); break; } }; Object.defineProperty(XYChart.prototype, "adn", { get: function () { return this.acz; }, set: function (a) { var b = this.adn; if (a != b) { this.acz = a; this.v3("XAxisLabelTextStyle", b, this.adn); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "aes", { get: function () { return this.ac3; }, set: function (a) { var b = this.aes; if (a != b) { this.ac3 = a; this.v3("YAxisLabelTextStyle", b, this.aes); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "aeb", { get: function () { return this.ac1; }, set: function (a) { var b = this.aeb; if (a != b) { this.ac1 = a; this.v3("XAxisTitleTextStyle", b, this.aeb); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "afg", { get: function () { return this.ac5; }, set: function (a) { var b = this.afg; if (a != b) { this.ac5 = a; this.v3("YAxisTitleTextStyle", b, this.afg); } }, enumerable: false, configurable: true }); XYChart.prototype.afm = function (a) { var _this = this; this.afj(a, function (b) { return b.leftMargin = _this.abz; }); this.afj(a, function (b) { return b.topMargin = _this.ab1; }); this.afj(a, function (b) { return b.rightMargin = _this.ab0; }); this.afj(a, function (b) { return b.bottomMargin = _this.aby; }); this.afj(a, function (b) { return b.textColor = _this.agl; }); this.afk(a, function (b) { return b.textColor = _this.agt; }); this.afk(a, function (b) { return b.leftMargin = _this.ab9; }); this.afk(a, function (b) { return b.topMargin = _this.acc; }); this.afk(a, function (b) { return b.rightMargin = _this.acb; }); this.afk(a, function (b) { return b.bottomMargin = _this.ab8; }); this.afj(a, function (b) { return b.textStyle = _this.adn; }); this.afk(a, function (b) { return b.textStyle = _this.aeb; }); }; XYChart.prototype.afo = function (a) { var _this = this; this.afj(a, function (b) { return b.leftMargin = _this.acg; }); this.afj(a, function (b) { return b.topMargin = _this.aci; }); this.afj(a, function (b) { return b.rightMargin = _this.ach; }); this.afj(a, function (b) { return b.bottomMargin = _this.acf; }); this.afj(a, function (b) { return b.textColor = _this.agm; }); this.afk(a, function (b) { return b.textColor = _this.ag0; }); this.afk(a, function (b) { return b.leftMargin = _this.acq; }); this.afk(a, function (b) { return b.topMargin = _this.act; }); this.afk(a, function (b) { return b.rightMargin = _this.acs; }); this.afk(a, function (b) { return b.bottomMargin = _this.acp; }); this.afj(a, function (b) { return b.textStyle = _this.aes; }); this.afk(a, function (b) { return b.textStyle = _this.afg; }); }; XYChart.prototype.wz = function (a) { var b = this.be(a); var c = this.dc(a, b); if (c == null) { return; } c.itemsSource = this.h6(a); if (a.highlightedData != null) { c.highlightedItemsSource = this.h7(a); } c.name = this.qt(a); c.title = this.qu(a, b); this.dataChart.series.add(c); }; XYChart.prototype.afp = function (a) { this.afq(a, null); }; XYChart.prototype.afq = function (a, b) { a(this.aae()); }; XYChart.prototype.afv = function (a, b) { a(this.aaf()); }; XYChart.prototype.afu = function (a) { this.afv(a, true); }; XYChart.prototype.uw = function (a, b) { this.afp(a); this.afv(a, b); }; XYChart.prototype.aft = function (a) { this.afk(this.aae(), a); }; XYChart.prototype.afy = function (a) { this.afk(this.aaf(), a); }; XYChart.prototype.afw = function (a) { this.afj(this.aaf(), a); }; XYChart.prototype.afr = function (a) { this.afj(this.aae(), a); }; XYChart.prototype.abs = function (a) { var b = this.aae(); return b.el(a, new ScalerParams(1, this.zh, this.zg, b.ch)); }; XYChart.prototype.abu = function (a) { var b = this.aae(); return b.eo(a, new ScalerParams(1, this.zh, this.zg, b.ch)); }; XYChart.prototype.abt = function (a) { var b = this.aaf(); return b.el(a, new ScalerParams(1, this.zh, this.zg, b.ch)); }; XYChart.prototype.abv = function (a) { var b = this.aaf(); return b.eo(a, new ScalerParams(1, this.zh, this.zg, b.ch)); }; XYChart.prototype.ww = function (a) { _super.prototype.ww.call(this, a); if (a == null) { return; } if (a.axes != null) { var b = this.aae(); var c = this.aaf(); if (a.axes.contains(b)) { a.axes.remove(b); } if (a.axes.contains(c)) { a.axes.remove(c); } } }; XYChart.ac8 = 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.u8 = function (a, b) { _super.prototype.u8.call(this, a, b); if (a == this.dataChart) { this.dataChart.axes.add(this.aae()); this.dataChart.axes.add(this.aaf()); } }; XYChart.prototype.afl = function (a) { var _this = this; if (a != null && this.ly != null && a.fn == null) { a.provideRenderer(this.ly); } a.jz = this.ago; a.et = this.ab2; a.j0 = this.agp; a.ew = this.ab3; a.j2 = this.agr; a.fi = this.ab4; a.j1 = this.agq; a.fj = this.ab5; a.j3 = this.ags; a.fk = this.ab6; a.c4 = true; a.cu = this.shouldAvoidAxisAnnotationCollisions; a.cw = this.shouldAvoidAxisAnnotationCollisions; var b = a == this.aae(); if (b) { a.g8 = this.ad2; } a.f2 = this.acw; a.gi = this.ade; a.ah = this.aac; this.afj(a, function (c) { return c.angle = _this.abx; }); this.afj(a, function (c) { if (c.extent != _this.abw) { c.extent = _this.abw; } }); this.afj(a, function (c) { return c.horizontalAlignment = _this.af2; }); this.afj(a, function (c) { return c.verticalAlignment = _this.ag4; }); this.afj(a, function (c) { return c.visibility = _this.ag9; }); this.afj(a, function (c) { return c.location = _this.aak(_this.aan); }); this.afk(a, function (c) { return c.horizontalAlignment = _this.af3; }); this.afk(a, function (c) { return c.angle = _this.ab7; }); this.afm(a); }; XYChart.prototype.afn = function (a) { var _this = this; if (a == null) { return; } if (this.ly != null && a.fn == null) { a.provideRenderer(this.ly); } a.cu = this.shouldAvoidAxisAnnotationCollisions; a.cw = this.shouldAvoidAxisAnnotationCollisions; this.afj(a, function (b) { return b.angle = _this.ace; }); this.afj(a, function (b) { if (b.extent != _this.acd) { b.extent = _this.acd; } }); this.afj(a, function (b) { return b.horizontalAlignment = _this.af4; }); this.afj(a, function (b) { return b.verticalAlignment = _this.ag5; }); this.afj(a, function (b) { return b.visibility = _this.aha; }); this.afj(a, function (b) { return b.location = _this.aal(_this.aap); }); this.afk(a, function (b) { return b.verticalAlignment = _this.ag6; }); this.afk(a, function (b) { return b.angle = _this.aco; }); a.jz = this.agv; a.et = this.acj; a.j0 = this.agw; a.ew = this.ack; a.j2 = this.agy; a.fi = this.acl; a.j1 = this.agx; a.fj = this.acm; a.j3 = this.agz; a.fk = this.acn; var b = a == this.aaf(); if (b) { a.g8 = this.ae7; } a.gi = this.aej; a.ah = this.aad; this.afo(a); }; XYChart.prototype.u5 = function () { _super.prototype.u5.call(this); this.afl(this.aae()); this.afn(this.aaf()); }; XYChart.prototype.afj = function (a, b) { if (a == null) { return; } if (a.az == null) { a.az = new AxisLabelSettings(); a.az.angle = a.d7(); a.az.bottomMargin = a.d8(); a.az.leftMargin = a.d9(); a.az.rightMargin = a.ea(); a.az.topMargin = a.eb(); a.az.horizontalAlignment = a.ju(); a.az.location = a.a0(); a.az.verticalAlignment = a.ko(); } b(a.az); }; XYChart.prototype.afk = function (a, b) { if (a == null) { return; } if (a.bf == null) { a.bf = new TitleSettings(); a.bf.bottomMargin = a.ed(); a.bf.leftMargin = a.ee(); a.bf.rightMargin = a.ef(); a.bf.topMargin = a.eg(); a.bf.location = a.a1(); a.bf.angle = a.ec(); a.bf.horizontalAlignment = a.jv(); a.bf.verticalAlignment = a.kp(); } b(a.bf); }; XYChart.prototype.v3 = function (a, b, c) { var _this = this; _super.prototype.v3.call(this, a, b, c); switch (a) { case "XAxisLabelAngle": this.afr(function (d) { return d.angle = _this.abx; }); break; case "YAxisLabelAngle": this.afw(function (d) { return d.angle = _this.ace; }); break; case "XAxisLabelHorizontalAlignment": this.afr(function (d) { return d.horizontalAlignment = _this.af2; }); break; case "YAxisLabelHorizontalAlignment": this.afw(function (d) { return d.horizontalAlignment = _this.af4; }); break; case "XAxisLabelVerticalAlignment": this.afr(function (d) { return d.verticalAlignment = _this.ag4; }); break; case "YAxisLabelVerticalAlignment": this.afw(function (d) { return d.verticalAlignment = _this.ag5; }); break; case "XAxisLabelVisibility": this.afr(function (d) { return d.visibility = _this.ag9; }); break; case "YAxisLabelVisibility": this.afw(function (d) { return d.visibility = _this.aha; }); break; case "XAxisLabel": this.afp(function (d) { return d.f2 = _this.acw; }); break; case "YAxisLabel": this.afu(function (d) { return d.f2 = _this.acx; }); break; case "XAxisLabelFormat": this.afp(function (d) { return d.gi = _this.ade; }); break; case "XAxisLabelFormatSpecifiers": this.afp(function (d) { return d.ah = _this.aac; }); break; case "YAxisLabelFormat": this.afu(function (d) { return d.gi = _this.aej; }); break; case "YAxisLabelFormatSpecifiers": this.afu(function (d) { return d.ah = _this.aad; }); break; case "XAxisTitleAngle": this.aft(function (d) { return d.angle = _this.ab7; }); break; case "YAxisTitleAngle": this.afy(function (d) { return d.angle = _this.aco; }); break; case "XAxisTitleAlignment": this.aft(function (d) { return d.horizontalAlignment = _this.af3; }); break; case "YAxisTitleAlignment": this.afy(function (d) { return d.verticalAlignment = _this.ag6; }); break; case "XAxisTitle": this.afp(function (d) { return d.g8 = _this.ad2; }); break; case "YAxisTitle": this.afv(function (d) { return d.g8 = _this.ae7; }, false); break; case "XAxisMajorStroke": this.afq(function (d) { return d.jz = _this.ago; }, a); break; case "YAxisMajorStroke": this.afu(function (d) { return d.jz = _this.agv; }); break; case "XAxisMajorStrokeThickness": this.afq(function (d) { return d.et = _this.ab2; }, a); break; case "YAxisMajorStrokeThickness": this.afu(function (d) { return d.et = _this.acj; }); break; case "XAxisMinorStroke": this.afp(function (d) { return d.j0 = _this.agp; }); break; case "YAxisMinorStroke": this.afu(function (d) { return d.j0 = _this.agw; }); break; case "XAxisMinorStrokeThickness": this.afp(function (d) { return d.ew = _this.ab3; }); break; case "YAxisMinorStrokeThickness": this.afu(function (d) { return d.ew = _this.ack; }); break; case "XAxisTickLength": this.afp(function (d) { return d.fj = _this.ab5; }); break; case "YAxisTickLength": this.afu(function (d) { return d.fj = _this.acm; }); break; case "XAxisTickStroke": this.afp(function (d) { return d.j3 = _this.ags; }); break; case "YAxisTickStroke": this.afu(function (d) { return d.j3 = _this.agz; }); break; case "XAxisTickStrokeThickness": this.afp(function (d) { return d.fk = _this.ab6; }); break; case "YAxisTickStrokeThickness": this.afu(function (d) { return d.fk = _this.acn; }); break; case "XAxisStroke": this.afp(function (d) { return d.j2 = _this.agr; }); break; case "YAxisStroke": this.afu(function (d) { return d.j2 = _this.agy; }); break; case "XAxisStrokeThickness": this.afp(function (d) { return d.fi = _this.ab4; }); break; case "YAxisStrokeThickness": this.afu(function (d) { return d.fi = _this.acl; }); break; case "XAxisExtent": this.afr(function (d) { return d.extent = _this.abw; }); break; case "YAxisExtent": this.afw(function (d) { return d.extent = _this.acd; }); break; case "XAxisStrip": this.afp(function (d) { return d.j1 = _this.agq; }); break; case "YAxisStrip": this.afu(function (d) { return d.j1 = _this.agx; }); break; case "XAxisInverted": this.afp(function (d) { return d.ch = _this.aas; }); break; case "YAxisInverted": this.afu(function (d) { return d.ch = _this.aat; }); break; case "YAxisLabelLocation": this.afx(); break; case "XAxisLabelLocation": this.afs(); break; } }; XYChart.prototype.afx = function () { var a = this.aal(this.aap); if (a == 2 || a == 7) { this.af4 = 2; } else { this.af4 = 0; } this.afw(function (b) { return b.location = a; }); }; XYChart.prototype.afs = function () { var a = this.aak(this.aan); if (a == 1 || a == 5) { this.ag4 = 0; } else { this.ag4 = 2; } this.afr(function (b) { return b.location = a; }); }; XYChart.prototype.aal = 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.cb == 1) { return 3; } else { return 2; } } }; XYChart.prototype.aak = 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, "acw", { get: function () { return this.acu; }, set: function (a) { var b = this.acw; if (a != b) { this.acu = a; this.v3("XAxisLabel", b, this.acw); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "acx", { get: function () { return this.acv; }, set: function (a) { var b = this.acx; if (a != b) { this.acv = a; this.v3("YAxisLabel", b, this.acx); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ago", { get: function () { return this.af8; }, set: function (a) { var b = this.ago; if (a != b) { this.af8 = a; this.v3("XAxisMajorStroke", b, this.ago); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "agv", { get: function () { return this.agf; }, set: function (a) { var b = this.agv; if (a != b) { this.agf = a; this.v3("YAxisMajorStroke", b, this.agv); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ab2", { get: function () { return this.aa0; }, set: function (a) { var b = this.ab2; if (a != b) { this.aa0 = a; this.v3("XAxisMajorStrokeThickness", b, this.ab2); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "acj", { get: function () { return this.abh; }, set: function (a) { var b = this.acj; if (a != b) { this.abh = a; this.v3("YAxisMajorStrokeThickness", b, this.acj); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ab3", { get: function () { return this.aa1; }, set: function (a) { var b = this.ab3; if (a != b) { this.aa1 = a; this.v3("XAxisMinorStrokeThickness", b, this.ab3); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ack", { get: function () { return this.abi; }, set: function (a) { var b = this.ack; if (a != b) { this.abi = a; this.v3("YAxisMinorStrokeThickness", b, this.ack); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "agq", { get: function () { return this.aga; }, set: function (a) { var b = this.agq; if (a != b) { this.aga = a; this.v3("XAxisStrip", b, this.agq); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "agx", { get: function () { return this.agh; }, set: function (a) { var b = this.agx; if (a != b) { this.agh = a; this.v3("YAxisStrip", b, this.agx); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "agr", { get: function () { return this.agb; }, set: function (a) { var b = this.agr; if (a != b) { this.agb = a; this.v3("XAxisStroke", b, this.agr); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "agy", { get: function () { return this.agi; }, set: function (a) { var b = this.agy; if (a != b) { this.agi = a; this.v3("YAxisStroke", b, this.agy); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ab4", { get: function () { return this.aa2; }, set: function (a) { var b = this.ab4; if (a != b) { this.aa2 = a; this.v3("XAxisStrokeThickness", b, this.ab4); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "acl", { get: function () { return this.abj; }, set: function (a) { var b = this.acl; if (a != b) { this.abj = a; this.v3("YAxisStrokeThickness", b, this.acl); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ab5", { get: function () { return this.aa3; }, set: function (a) { var b = this.ab5; if (a != b) { this.aa3 = a; this.v3("XAxisTickLength", b, this.ab5); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "acm", { get: function () { return this.abk; }, set: function (a) { var b = this.acm; if (a != b) { this.abk = a; this.v3("YAxisTickLength", b, this.acm); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ags", { get: function () { return this.agc; }, set: function (a) { var b = this.ags; if (a != b) { this.agc = a; this.v3("XAxisTickStroke", b, this.ags); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "agz", { get: function () { return this.agj; }, set: function (a) { var b = this.agz; if (a != b) { this.agj = a; this.v3("YAxisTickStroke", b, this.agz); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ab6", { get: function () { return this.aa4; }, set: function (a) { var b = this.ab6; if (a != b) { this.aa4 = a; this.v3("XAxisTickStrokeThickness", b, this.ab6); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "acn", { get: function () { return this.abl; }, set: function (a) { var b = this.acn; if (a != b) { this.abl = a; this.v3("YAxisTickStrokeThickness", b, this.acn); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ad2", { get: function () { return this.ac0; }, set: function (a) { var b = this.ad2; if (a != b) { this.ac0 = a; this.v3("XAxisTitle", b, this.ad2); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ae7", { get: function () { return this.ac4; }, set: function (a) { var b = this.ae7; if (a != b) { this.ac4 = a; this.v3("YAxisTitle", b, this.ae7); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "agp", { get: function () { return this.af9; }, set: function (a) { var b = this.agp; if (a != b) { this.af9 = a; this.v3("XAxisMinorStroke", b, this.agp); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "agw", { get: function () { return this.agg; }, set: function (a) { var b = this.agw; if (a != b) { this.agg = a; this.v3("YAxisMinorStroke", b, this.agw); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "abx", { get: function () { return this.aav; }, set: function (a) { var b = this.abx; if (a != b) { this.aav = a; this.v3("XAxisLabelAngle", b, this.abx); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ace", { get: function () { return this.abc; }, set: function (a) { var b = this.ace; if (a != b) { this.abc = a; this.v3("YAxisLabelAngle", b, this.ace); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "abw", { get: function () { return this.aau; }, set: function (a) { var b = this.abw; if (a != b) { this.aau = a; this.v3("XAxisExtent", b, this.abw); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "acd", { get: function () { return this.abb; }, set: function (a) { var b = this.acd; if (a != b) { this.abb = a; this.v3("YAxisExtent", b, this.acd); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ab7", { get: function () { return this.aa5; }, set: function (a) { var b = this.ab7; if (a != b) { this.aa5 = a; this.v3("XAxisTitleAngle", b, this.ab7); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "aco", { get: function () { return this.abm; }, set: function (a) { var b = this.aco; if (a != b) { this.abm = a; this.v3("YAxisTitleAngle", b, this.aco); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "aas", { get: function () { return this.aaq; }, set: function (a) { var b = this.aas; if (a != b) { this.aaq = a; this.v3("XAxisInverted", b, this.aas); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "aat", { get: function () { return this.aar; }, set: function (a) { var b = this.aat; if (a != b) { this.aar = a; this.v3("YAxisInverted", b, this.aat); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "af3", { get: function () { return this.af0; }, set: function (a) { var b = this.af3; if (a != b) { this.af0 = a; this.v3("XAxisTitleAlignment", enumGetBox(HorizontalAlignment_$type, b), enumGetBox(HorizontalAlignment_$type, this.af3)); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ag6", { get: function () { return this.ag3; }, set: function (a) { var b = this.ag6; if (a != b) { this.ag3 =