UNPKG

igniteui-webcomponents-charts

Version:

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

1,587 lines (1,586 loc) 56.1 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-webcomponents-core"; import { HorizontalAlignment_$type } from "igniteui-webcomponents-core"; import { VerticalAlignment_$type } from "igniteui-webcomponents-core"; import { Visibility_$type } from "igniteui-webcomponents-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-webcomponents-core"; /** * @hidden */ var XYChart = /** @class */ /*@__PURE__*/ (function (_super) { __extends(XYChart, _super); function XYChart() { var _this = _super !== null && _super.apply(this, arguments) || this; _this.aaq = null; _this.aar = null; _this.aa7 = 0; _this.aa9 = 5; _this.aa8 = 0; _this.aa6 = 5; _this.abo = 5; _this.abq = 0; _this.abp = 5; _this.abn = 0; _this.agh = null; _this.ago = null; _this.agf = null; _this.agg = null; _this.abi = 0; _this.abz = 0; _this.abh = NaN; _this.aby = NaN; _this.abk = NaN; _this.ab1 = NaN; _this.abj = NaN; _this.ab0 = NaN; _this.abg = NaN; _this.abx = NaN; _this.agn = null; _this.agu = null; _this.ac9 = null; _this.add = null; _this.adb = null; _this.adf = null; _this.ac4 = null; _this.ac5 = null; _this.agi = null; _this.agp = null; _this.aba = DeviceUtils.g(1); _this.abr = DeviceUtils.g(1); _this.abb = DeviceUtils.g(1); _this.abs = DeviceUtils.g(1); _this.agk = null; _this.agr = null; _this.agl = null; _this.ags = null; _this.abc = DeviceUtils.g(1); _this.abt = DeviceUtils.g(1); _this.abd = DeviceUtils.g(8); _this.abu = 0; _this.agm = null; _this.agt = null; _this.abe = DeviceUtils.g(1); _this.abv = DeviceUtils.g(1); _this.ada = null; _this.ade = null; _this.agj = null; _this.agq = null; _this.aa5 = 0; _this.abm = 0; _this.aa4 = NaN; _this.abl = NaN; _this.abf = 0; _this.abw = -90; _this.aa0 = false; _this.aa1 = false; _this.aga = 1; _this.ahd = 1; _this.af9 = 1; _this.agb = 2; _this.ahb = 0; _this.ahc = 1; _this.ahh = 0; _this.ahi = 0; _this.aay = 4; _this.aaw = 4; _this.ac8 = null; _this.aak = null; _this.adc = null; _this.aal = null; return _this; } XYChart.prototype.provideContainer = function (a) { if (a != null) { var b = this.aao(); var c = this.aap(); if (b != null) { b.provideRenderer(a); } if (c != null) { c.provideRenderer(a); } } _super.prototype.provideContainer.call(this, a); }; XYChart.prototype.vm = function () { _super.prototype.vm.call(this); var a = this.aao(); var b = this.aap(); if (a != null && a.az != null) { this.agx = a.az.textColor; } if (b != null && b.az != null) { this.ag4 = b.az.textColor; } this.ag2 = AxisDefaults.axis_TickBrush; this.ag9 = AxisDefaults.axis_TickBrush; this.agy = AxisDefaults.axis_MajorBrush; this.ag5 = AxisDefaults.axis_MajorBrush; this.ag1 = AxisDefaults.axis_LineBrush; this.ag8 = AxisDefaults.axis_LineBrush; }; XYChart.prototype.wh = function (a, b, c) { var _this = this; _super.prototype.wh.call(this, a, b, c); switch (a) { case "XAxisLabelLeftMargin": this.af1(function (d) { return d.leftMargin = _this.ab9; }); break; case "XAxisLabelTopMargin": this.af1(function (d) { return d.topMargin = _this.acb; }); break; case "XAxisLabelRightMargin": this.af1(function (d) { return d.rightMargin = _this.aca; }); break; case "XAxisLabelBottomMargin": this.af1(function (d) { return d.bottomMargin = _this.ab8; }); break; case "YAxisLabelLeftMargin": this.af6(function (d) { return d.leftMargin = _this.acq; }); break; case "YAxisLabelTopMargin": this.af6(function (d) { return d.topMargin = _this.acs; }); break; case "YAxisLabelRightMargin": this.af6(function (d) { return d.rightMargin = _this.acr; }); break; case "YAxisLabelBottomMargin": this.af6(function (d) { return d.bottomMargin = _this.acp; }); break; case "ActualItemsSource": case "ShouldDisplayMockData": case "ShouldUseSkeletonStyleForMockData": this.agv = this.zi(this.agx); this.agw = this.zi(this.ag4); break; case "XAxisLabelTextColor": this.agv = this.zi(this.agx); break; case "YAxisLabelTextColor": this.agw = this.zi(this.ag4); break; case "ActualXAxisLabelTextColor": this.af1(function (d) { return d.textColor = _this.agv; }); break; case "ActualYAxisLabelTextColor": this.af6(function (d) { return d.textColor = _this.agw; }); break; case "XAxisTitleMargin": this.af3(function (d) { return d.margin = _this.ack; }); break; case "YAxisTitleMargin": this.af8(function (d) { return d.margin = _this.ac1; }); break; case "XAxisTitleLeftMargin": this.af3(function (d) { return d.leftMargin = _this.acj; }); break; case "YAxisTitleLeftMargin": this.af8(function (d) { return d.leftMargin = _this.ac0; }); break; case "XAxisTitleTopMargin": this.af3(function (d) { return d.topMargin = _this.acm; }); break; case "YAxisTitleTopMargin": this.af8(function (d) { return d.topMargin = _this.ac3; }); break; case "XAxisTitleRightMargin": this.af3(function (d) { return d.rightMargin = _this.acl; }); break; case "YAxisTitleRightMargin": this.af8(function (d) { return d.rightMargin = _this.ac2; }); break; case "XAxisTitleBottomMargin": this.af3(function (d) { return d.bottomMargin = _this.aci; }); break; case "YAxisTitleBottomMargin": this.af8(function (d) { return d.bottomMargin = _this.acz; }); break; case "XAxisTitleTextColor": this.af3(function (d) { return d.textColor = _this.ag3; }); break; case "YAxisTitleTextColor": this.af8(function (d) { return d.textColor = _this.aha; }); break; case "XAxisFormatLabel": this.afz(function (d) { return d.au = _this.aas; }); break; case "YAxisFormatLabel": this.af4(function (d) { return d.au = _this.aat; }); break; } }; Object.defineProperty(XYChart.prototype, "aas", { get: function () { return this.aaq; }, set: function (a) { var b = this.aas; if (a != b) { this.aaq = a; this.wd("XAxisFormatLabel", 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.wd("YAxisFormatLabel", b, this.aat); } }, 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.wd("XAxisLabelLeftMargin", b, this.ab9); } }, 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.wd("XAxisLabelTopMargin", b, this.acb); } }, 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.wd("XAxisLabelRightMargin", b, this.aca); } }, 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.wd("XAxisLabelBottomMargin", b, this.ab8); } }, 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.wd("YAxisLabelLeftMargin", b, this.acq); } }, 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.wd("YAxisLabelTopMargin", b, this.acs); } }, 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.wd("YAxisLabelRightMargin", b, this.acr); } }, 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.wd("YAxisLabelBottomMargin", b, this.acp); } }, 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.wd("XAxisLabelTextColor", b, this.agx); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ag4", { get: function () { return this.ago; }, set: function (a) { var b = this.ag4; if (a != b) { this.ago = a; this.wd("YAxisLabelTextColor", b, this.ag4); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "agv", { get: function () { return this.agf; }, set: function (a) { var b = this.agf; if (a != b) { this.agf = a; this.wd("ActualXAxisLabelTextColor", b, this.agv); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "agw", { get: function () { return this.agg; }, set: function (a) { var b = this.agg; if (a != b) { this.agg = a; this.wd("ActualYAxisLabelTextColor", b, this.agw); } }, 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.wd("XAxisTitleMargin", b, this.ack); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ac1", { get: function () { return this.abz; }, set: function (a) { var b = this.ac1; if (a != b) { this.abz = a; this.wd("YAxisTitleMargin", b, this.ac1); } }, 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.wd("XAxisTitleLeftMargin", b, this.acj); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ac0", { get: function () { return this.aby; }, set: function (a) { var b = this.ac0; if (a != b) { this.aby = a; this.wd("YAxisTitleLeftMargin", b, this.ac0); } }, 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.wd("XAxisTitleTopMargin", b, this.acm); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ac3", { get: function () { return this.ab1; }, set: function (a) { var b = this.ac3; if (a != b) { this.ab1 = a; this.wd("YAxisTitleTopMargin", b, this.ac3); } }, 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.wd("XAxisTitleRightMargin", b, this.acl); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ac2", { get: function () { return this.ab0; }, set: function (a) { var b = this.ac2; if (a != b) { this.ab0 = a; this.wd("YAxisTitleRightMargin", b, this.ac2); } }, 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.wd("XAxisTitleBottomMargin", b, this.aci); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "acz", { get: function () { return this.abx; }, set: function (a) { var b = this.acz; if (a != b) { this.abx = a; this.wd("YAxisTitleBottomMargin", b, this.acz); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ag3", { get: function () { return this.agn; }, set: function (a) { var b = this.ag3; if (a != b) { this.agn = a; this.wd("XAxisTitleTextColor", b, this.ag3); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "aha", { get: function () { return this.agu; }, set: function (a) { var b = this.aha; if (a != b) { this.agu = a; this.wd("YAxisTitleTextColor", b, this.aha); } }, enumerable: false, configurable: true }); XYChart.prototype.wi = function (a, b, c) { var _this = this; _super.prototype.wi.call(this, a, b, c); switch (a) { case "XAxisLabelTextStyle": this.af1(function (d) { return d.textStyle = _this.adx; }); break; case "YAxisLabelTextStyle": this.af6(function (d) { return d.textStyle = _this.ae2; }); break; case "XAxisTitleTextStyle": this.af3(function (d) { return d.textStyle = _this.ael; }); break; case "YAxisTitleTextStyle": this.af8(function (d) { return d.textStyle = _this.afq; }); break; } }; Object.defineProperty(XYChart.prototype, "adx", { get: function () { return this.ac9; }, set: function (a) { var b = this.adx; if (a != b) { this.ac9 = a; this.wd("XAxisLabelTextStyle", b, this.adx); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ae2", { get: function () { return this.add; }, set: function (a) { var b = this.ae2; if (a != b) { this.add = a; this.wd("YAxisLabelTextStyle", b, this.ae2); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ael", { get: function () { return this.adb; }, set: function (a) { var b = this.ael; if (a != b) { this.adb = a; this.wd("XAxisTitleTextStyle", b, this.ael); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "afq", { get: function () { return this.adf; }, set: function (a) { var b = this.afq; if (a != b) { this.adf = a; this.wd("YAxisTitleTextStyle", b, this.afq); } }, enumerable: false, configurable: true }); XYChart.prototype.afw = function (a) { var _this = this; this.aft(a, function (b) { return b.leftMargin = _this.ab9; }); this.aft(a, function (b) { return b.topMargin = _this.acb; }); this.aft(a, function (b) { return b.rightMargin = _this.aca; }); this.aft(a, function (b) { return b.bottomMargin = _this.ab8; }); this.aft(a, function (b) { return b.textColor = _this.agv; }); this.afu(a, function (b) { return b.textColor = _this.ag3; }); this.afu(a, function (b) { return b.leftMargin = _this.acj; }); this.afu(a, function (b) { return b.topMargin = _this.acm; }); this.afu(a, function (b) { return b.rightMargin = _this.acl; }); this.afu(a, function (b) { return b.bottomMargin = _this.aci; }); this.aft(a, function (b) { return b.textStyle = _this.adx; }); this.afu(a, function (b) { return b.textStyle = _this.ael; }); }; XYChart.prototype.afy = function (a) { var _this = this; this.aft(a, function (b) { return b.leftMargin = _this.acq; }); this.aft(a, function (b) { return b.topMargin = _this.acs; }); this.aft(a, function (b) { return b.rightMargin = _this.acr; }); this.aft(a, function (b) { return b.bottomMargin = _this.acp; }); this.aft(a, function (b) { return b.textColor = _this.agw; }); this.afu(a, function (b) { return b.textColor = _this.aha; }); this.afu(a, function (b) { return b.leftMargin = _this.ac0; }); this.afu(a, function (b) { return b.topMargin = _this.ac3; }); this.afu(a, function (b) { return b.rightMargin = _this.ac2; }); this.afu(a, function (b) { return b.bottomMargin = _this.acz; }); this.aft(a, function (b) { return b.textStyle = _this.ae2; }); this.afu(a, function (b) { return b.textStyle = _this.afq; }); }; XYChart.prototype.w9 = 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.q0(a); c.title = this.q1(a, b); this.dataChart.series.add(c); }; XYChart.prototype.afz = function (a) { this.af0(a, null); }; XYChart.prototype.af0 = function (a, b) { a(this.aao()); }; XYChart.prototype.af5 = function (a, b) { a(this.aap()); }; XYChart.prototype.af4 = function (a) { this.af5(a, true); }; XYChart.prototype.u5 = function (a, b) { this.afz(a); this.af5(a, b); }; XYChart.prototype.af3 = function (a) { this.afu(this.aao(), a); }; XYChart.prototype.af8 = function (a) { this.afu(this.aap(), a); }; XYChart.prototype.af6 = function (a) { this.aft(this.aap(), a); }; XYChart.prototype.af1 = function (a) { this.aft(this.aao(), a); }; XYChart.prototype.ab2 = function (a) { var b = this.aao(); return b.el(a, new ScalerParams(1, this.zr, this.zq, b.ch)); }; XYChart.prototype.ab4 = function (a) { var b = this.aao(); return b.eo(a, new ScalerParams(1, this.zr, this.zq, b.ch)); }; XYChart.prototype.ab3 = function (a) { var b = this.aap(); return b.el(a, new ScalerParams(1, this.zr, this.zq, b.ch)); }; XYChart.prototype.ab5 = function (a) { var b = this.aap(); return b.eo(a, new ScalerParams(1, this.zr, this.zq, b.ch)); }; XYChart.prototype.w6 = function (a) { _super.prototype.w6.call(this, a); if (a == null) { return; } if (a.axes != null) { var b = this.aao(); var c = this.aap(); if (a.axes.contains(b)) { a.axes.remove(b); } if (a.axes.contains(c)) { a.axes.remove(c); } } }; XYChart.adi = 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.vh = function (a, b) { _super.prototype.vh.call(this, a, b); if (a == this.dataChart) { this.dataChart.axes.add(this.aao()); this.dataChart.axes.add(this.aap()); } }; XYChart.prototype.afv = function (a) { var _this = this; if (a != null && this.l4 != null && a.fn == null) { a.provideRenderer(this.l4); } a.jz = this.agy; a.et = this.acc; a.j0 = this.agz; a.ew = this.acd; a.j2 = this.ag1; a.fi = this.ace; a.j1 = this.ag0; a.fj = this.acf; a.j3 = this.ag2; a.fk = this.acg; a.c4 = true; a.cu = this.shouldAvoidAxisAnnotationCollisions; a.cw = this.shouldAvoidAxisAnnotationCollisions; var b = a == this.aao(); if (b) { a.g8 = this.aec; } a.f2 = this.ac6; a.gi = this.ado; a.ah = this.aam; this.aft(a, function (c) { return c.angle = _this.ab7; }); this.aft(a, function (c) { if (c.extent != _this.ab6) { c.extent = _this.ab6; } }); this.aft(a, function (c) { return c.horizontalAlignment = _this.agc; }); this.aft(a, function (c) { return c.verticalAlignment = _this.ahe; }); this.aft(a, function (c) { return c.visibility = _this.ahj; }); this.aft(a, function (c) { return c.location = _this.aau(_this.aax); }); this.afu(a, function (c) { return c.horizontalAlignment = _this.agd; }); this.afu(a, function (c) { return c.angle = _this.ach; }); this.afw(a); }; XYChart.prototype.afx = function (a) { var _this = this; if (a == null) { return; } if (this.l4 != null && a.fn == null) { a.provideRenderer(this.l4); } a.cu = this.shouldAvoidAxisAnnotationCollisions; a.cw = this.shouldAvoidAxisAnnotationCollisions; this.aft(a, function (b) { return b.angle = _this.aco; }); this.aft(a, function (b) { if (b.extent != _this.acn) { b.extent = _this.acn; } }); this.aft(a, function (b) { return b.horizontalAlignment = _this.age; }); this.aft(a, function (b) { return b.verticalAlignment = _this.ahf; }); this.aft(a, function (b) { return b.visibility = _this.ahk; }); this.aft(a, function (b) { return b.location = _this.aav(_this.aaz); }); this.afu(a, function (b) { return b.verticalAlignment = _this.ahg; }); this.afu(a, function (b) { return b.angle = _this.acy; }); a.jz = this.ag5; a.et = this.act; a.j0 = this.ag6; a.ew = this.acu; a.j2 = this.ag8; a.fi = this.acv; a.j1 = this.ag7; a.fj = this.acw; a.j3 = this.ag9; a.fk = this.acx; var b = a == this.aap(); if (b) { a.g8 = this.afh; } a.gi = this.aet; a.ah = this.aan; this.afy(a); }; XYChart.prototype.ve = function () { _super.prototype.ve.call(this); this.afv(this.aao()); this.afx(this.aap()); }; XYChart.prototype.aft = 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.afu = 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.wd = function (a, b, c) { var _this = this; _super.prototype.wd.call(this, a, b, c); switch (a) { case "XAxisLabelAngle": this.af1(function (d) { return d.angle = _this.ab7; }); break; case "YAxisLabelAngle": this.af6(function (d) { return d.angle = _this.aco; }); break; case "XAxisLabelHorizontalAlignment": this.af1(function (d) { return d.horizontalAlignment = _this.agc; }); break; case "YAxisLabelHorizontalAlignment": this.af6(function (d) { return d.horizontalAlignment = _this.age; }); break; case "XAxisLabelVerticalAlignment": this.af1(function (d) { return d.verticalAlignment = _this.ahe; }); break; case "YAxisLabelVerticalAlignment": this.af6(function (d) { return d.verticalAlignment = _this.ahf; }); break; case "XAxisLabelVisibility": this.af1(function (d) { return d.visibility = _this.ahj; }); break; case "YAxisLabelVisibility": this.af6(function (d) { return d.visibility = _this.ahk; }); break; case "XAxisLabel": this.afz(function (d) { return d.f2 = _this.ac6; }); break; case "YAxisLabel": this.af4(function (d) { return d.f2 = _this.ac7; }); break; case "XAxisLabelFormat": this.afz(function (d) { return d.gi = _this.ado; }); break; case "XAxisLabelFormatSpecifiers": this.afz(function (d) { return d.ah = _this.aam; }); break; case "YAxisLabelFormat": this.af4(function (d) { return d.gi = _this.aet; }); break; case "YAxisLabelFormatSpecifiers": this.af4(function (d) { return d.ah = _this.aan; }); break; case "XAxisTitleAngle": this.af3(function (d) { return d.angle = _this.ach; }); break; case "YAxisTitleAngle": this.af8(function (d) { return d.angle = _this.acy; }); break; case "XAxisTitleAlignment": this.af3(function (d) { return d.horizontalAlignment = _this.agd; }); break; case "YAxisTitleAlignment": this.af8(function (d) { return d.verticalAlignment = _this.ahg; }); break; case "XAxisTitle": this.afz(function (d) { return d.g8 = _this.aec; }); break; case "YAxisTitle": this.af5(function (d) { return d.g8 = _this.afh; }, false); break; case "XAxisMajorStroke": this.af0(function (d) { return d.jz = _this.agy; }, a); break; case "YAxisMajorStroke": this.af4(function (d) { return d.jz = _this.ag5; }); break; case "XAxisMajorStrokeThickness": this.af0(function (d) { return d.et = _this.acc; }, a); break; case "YAxisMajorStrokeThickness": this.af4(function (d) { return d.et = _this.act; }); break; case "XAxisMinorStroke": this.afz(function (d) { return d.j0 = _this.agz; }); break; case "YAxisMinorStroke": this.af4(function (d) { return d.j0 = _this.ag6; }); break; case "XAxisMinorStrokeThickness": this.afz(function (d) { return d.ew = _this.acd; }); break; case "YAxisMinorStrokeThickness": this.af4(function (d) { return d.ew = _this.acu; }); break; case "XAxisTickLength": this.afz(function (d) { return d.fj = _this.acf; }); break; case "YAxisTickLength": this.af4(function (d) { return d.fj = _this.acw; }); break; case "XAxisTickStroke": this.afz(function (d) { return d.j3 = _this.ag2; }); break; case "YAxisTickStroke": this.af4(function (d) { return d.j3 = _this.ag9; }); break; case "XAxisTickStrokeThickness": this.afz(function (d) { return d.fk = _this.acg; }); break; case "YAxisTickStrokeThickness": this.af4(function (d) { return d.fk = _this.acx; }); break; case "XAxisStroke": this.afz(function (d) { return d.j2 = _this.ag1; }); break; case "YAxisStroke": this.af4(function (d) { return d.j2 = _this.ag8; }); break; case "XAxisStrokeThickness": this.afz(function (d) { return d.fi = _this.ace; }); break; case "YAxisStrokeThickness": this.af4(function (d) { return d.fi = _this.acv; }); break; case "XAxisExtent": this.af1(function (d) { return d.extent = _this.ab6; }); break; case "YAxisExtent": this.af6(function (d) { return d.extent = _this.acn; }); break; case "XAxisStrip": this.afz(function (d) { return d.j1 = _this.ag0; }); break; case "YAxisStrip": this.af4(function (d) { return d.j1 = _this.ag7; }); break; case "XAxisInverted": this.afz(function (d) { return d.ch = _this.aa2; }); break; case "YAxisInverted": this.af4(function (d) { return d.ch = _this.aa3; }); break; case "YAxisLabelLocation": this.af7(); break; case "XAxisLabelLocation": this.af2(); break; } }; XYChart.prototype.af7 = function () { var a = this.aav(this.aaz); if (a == 2 || a == 7) { this.age = 2; } else { this.age = 0; } this.af6(function (b) { return b.location = a; }); }; XYChart.prototype.af2 = function () { var a = this.aau(this.aax); if (a == 1 || a == 5) { this.ahe = 0; } else { this.ahe = 2; } this.af1(function (b) { return b.location = a; }); }; XYChart.prototype.aav = 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.aau = 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, "ac6", { get: function () { return this.ac4; }, set: function (a) { var b = this.ac6; if (a != b) { this.ac4 = a; this.wd("XAxisLabel", b, this.ac6); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ac7", { get: function () { return this.ac5; }, set: function (a) { var b = this.ac7; if (a != b) { this.ac5 = a; this.wd("YAxisLabel", b, this.ac7); } }, 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.wd("XAxisMajorStroke", b, this.agy); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ag5", { get: function () { return this.agp; }, set: function (a) { var b = this.ag5; if (a != b) { this.agp = a; this.wd("YAxisMajorStroke", b, this.ag5); } }, 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.wd("XAxisMajorStrokeThickness", 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.wd("YAxisMajorStrokeThickness", b, this.act); } }, 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.wd("XAxisMinorStrokeThickness", b, this.acd); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "acu", { get: function () { return this.abs; }, set: function (a) { var b = this.acu; if (a != b) { this.abs = a; this.wd("YAxisMinorStrokeThickness", b, this.acu); } }, 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.wd("XAxisStrip", b, this.ag0); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ag7", { get: function () { return this.agr; }, set: function (a) { var b = this.ag7; if (a != b) { this.agr = a; this.wd("YAxisStrip", b, this.ag7); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ag1", { get: function () { return this.agl; }, set: function (a) { var b = this.ag1; if (a != b) { this.agl = a; this.wd("XAxisStroke", b, this.ag1); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ag8", { get: function () { return this.ags; }, set: function (a) { var b = this.ag8; if (a != b) { this.ags = a; this.wd("YAxisStroke", b, this.ag8); } }, 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.wd("XAxisStrokeThickness", b, this.ace); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "acv", { get: function () { return this.abt; }, set: function (a) { var b = this.acv; if (a != b) { this.abt = a; this.wd("YAxisStrokeThickness", b, this.acv); } }, 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.wd("XAxisTickLength", b, this.acf); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "acw", { get: function () { return this.abu; }, set: function (a) { var b = this.acw; if (a != b) { this.abu = a; this.wd("YAxisTickLength", b, this.acw); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ag2", { get: function () { return this.agm; }, set: function (a) { var b = this.ag2; if (a != b) { this.agm = a; this.wd("XAxisTickStroke", b, this.ag2); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ag9", { get: function () { return this.agt; }, set: function (a) { var b = this.ag9; if (a != b) { this.agt = a; this.wd("YAxisTickStroke", b, this.ag9); } }, 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.wd("XAxisTickStrokeThickness", b, this.acg); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "acx", { get: function () { return this.abv; }, set: function (a) { var b = this.acx; if (a != b) { this.abv = a; this.wd("YAxisTickStrokeThickness", b, this.acx); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "aec", { get: function () { return this.ada; }, set: function (a) { var b = this.aec; if (a != b) { this.ada = a; this.wd("XAxisTitle", b, this.aec); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "afh", { get: function () { return this.ade; }, set: function (a) { var b = this.afh; if (a != b) { this.ade = a; this.wd("YAxisTitle", b, this.afh); } }, 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.wd("XAxisMinorStroke", b, this.agz); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ag6", { get: function () { return this.agq; }, set: function (a) { var b = this.ag6; if (a != b) { this.agq = a; this.wd("YAxisMinorStroke", b, this.ag6); } }, 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.wd("XAxisLabelAngle", 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.wd("YAxisLabelAngle", b, this.aco); } }, 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.wd("XAxisExtent", 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.wd("YAxisExtent", b, this.acn); } }, 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.wd("XAxisTitleAngle", b, this.ach); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "acy", { get: function () { return this.abw; }, set: function (a) { var b = this.acy; if (a != b) { this.abw = a; this.wd("YAxisTitleAngle", b, this.acy); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "aa2", { get: function () { return this.aa0; }, set: function (a) { var b = this.aa2; if (a != b) { this.aa0 = a; this.wd("XAxisInverted", b, this.aa2); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "aa3", { get: function () { return this.aa1; }, set: function (a) { var b = this.aa3; if (a != b) { this.aa1 = a; this.wd("YAxisInverted", b, this.aa3); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "agd", { get: function () { return this.aga; }, set: function (a) { var b = this.agd; if (a != b) { this.aga = a; this.wd("XAxisTitleAlignment", enumGetBox(HorizontalAlignment_$type, b), enumGetBox(HorizontalAlignment_$type, this.agd)); } }, enumerable: false, configurable: true }); Object.defineProperty(XYChart.prototype, "ahg", { get: function () { return this.ahd;