igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
1,458 lines (1,457 loc) • 44.3 kB
JavaScript
/*
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 { 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
*/
export let XYChart = /*@__PURE__*/ (() => {
class XYChart extends DomainChart {
constructor() {
super(...arguments);
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;
}
provideContainer(a) {
if (a != null) {
let b = this.aae();
let c = this.aaf();
if (b != null) {
b.provideRenderer(a);
}
if (c != null) {
c.provideRenderer(a);
}
}
super.provideContainer(a);
}
vd() {
super.vd();
let a = this.aae();
let 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;
}
v7(a, b, c) {
super.v7(a, b, c);
switch (a) {
case "XAxisLabelLeftMargin":
this.afr((d) => d.leftMargin = this.abz);
break;
case "XAxisLabelTopMargin":
this.afr((d) => d.topMargin = this.ab1);
break;
case "XAxisLabelRightMargin":
this.afr((d) => d.rightMargin = this.ab0);
break;
case "XAxisLabelBottomMargin":
this.afr((d) => d.bottomMargin = this.aby);
break;
case "YAxisLabelLeftMargin":
this.afw((d) => d.leftMargin = this.acg);
break;
case "YAxisLabelTopMargin":
this.afw((d) => d.topMargin = this.aci);
break;
case "YAxisLabelRightMargin":
this.afw((d) => d.rightMargin = this.ach);
break;
case "YAxisLabelBottomMargin":
this.afw((d) => 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((d) => d.textColor = this.agl);
break;
case "ActualYAxisLabelTextColor":
this.afw((d) => d.textColor = this.agm);
break;
case "XAxisTitleMargin":
this.aft((d) => d.margin = this.aca);
break;
case "YAxisTitleMargin":
this.afy((d) => d.margin = this.acr);
break;
case "XAxisTitleLeftMargin":
this.aft((d) => d.leftMargin = this.ab9);
break;
case "YAxisTitleLeftMargin":
this.afy((d) => d.leftMargin = this.acq);
break;
case "XAxisTitleTopMargin":
this.aft((d) => d.topMargin = this.acc);
break;
case "YAxisTitleTopMargin":
this.afy((d) => d.topMargin = this.act);
break;
case "XAxisTitleRightMargin":
this.aft((d) => d.rightMargin = this.acb);
break;
case "YAxisTitleRightMargin":
this.afy((d) => d.rightMargin = this.acs);
break;
case "XAxisTitleBottomMargin":
this.aft((d) => d.bottomMargin = this.ab8);
break;
case "YAxisTitleBottomMargin":
this.afy((d) => d.bottomMargin = this.acp);
break;
case "XAxisTitleTextColor":
this.aft((d) => d.textColor = this.agt);
break;
case "YAxisTitleTextColor":
this.afy((d) => d.textColor = this.ag0);
break;
case "XAxisFormatLabel":
this.afp((d) => d.au = this.aai);
break;
case "YAxisFormatLabel":
this.afu((d) => d.au = this.aaj);
break;
}
}
get aai() {
return this.aag;
}
set aai(a) {
let b = this.aai;
if (a != b) {
this.aag = a;
this.v3("XAxisFormatLabel", b, this.aai);
}
}
get aaj() {
return this.aah;
}
set aaj(a) {
let b = this.aaj;
if (a != b) {
this.aah = a;
this.v3("YAxisFormatLabel", b, this.aaj);
}
}
get abz() {
return this.aax;
}
set abz(a) {
let b = this.abz;
if (a != b) {
this.aax = a;
this.v3("XAxisLabelLeftMargin", b, this.abz);
}
}
get ab1() {
return this.aaz;
}
set ab1(a) {
let b = this.ab1;
if (a != b) {
this.aaz = a;
this.v3("XAxisLabelTopMargin", b, this.ab1);
}
}
get ab0() {
return this.aay;
}
set ab0(a) {
let b = this.ab0;
if (a != b) {
this.aay = a;
this.v3("XAxisLabelRightMargin", b, this.ab0);
}
}
get aby() {
return this.aaw;
}
set aby(a) {
let b = this.aby;
if (a != b) {
this.aaw = a;
this.v3("XAxisLabelBottomMargin", b, this.aby);
}
}
get acg() {
return this.abe;
}
set acg(a) {
let b = this.acg;
if (a != b) {
this.abe = a;
this.v3("YAxisLabelLeftMargin", b, this.acg);
}
}
get aci() {
return this.abg;
}
set aci(a) {
let b = this.aci;
if (a != b) {
this.abg = a;
this.v3("YAxisLabelTopMargin", b, this.aci);
}
}
get ach() {
return this.abf;
}
set ach(a) {
let b = this.ach;
if (a != b) {
this.abf = a;
this.v3("YAxisLabelRightMargin", b, this.ach);
}
}
get acf() {
return this.abd;
}
set acf(a) {
let b = this.acf;
if (a != b) {
this.abd = a;
this.v3("YAxisLabelBottomMargin", b, this.acf);
}
}
get agn() {
return this.af7;
}
set agn(a) {
let b = this.agn;
if (a != b) {
this.af7 = a;
this.v3("XAxisLabelTextColor", b, this.agn);
}
}
get agu() {
return this.age;
}
set agu(a) {
let b = this.agu;
if (a != b) {
this.age = a;
this.v3("YAxisLabelTextColor", b, this.agu);
}
}
get agl() {
return this.af5;
}
set agl(a) {
let b = this.af5;
if (a != b) {
this.af5 = a;
this.v3("ActualXAxisLabelTextColor", b, this.agl);
}
}
get agm() {
return this.af6;
}
set agm(a) {
let b = this.af6;
if (a != b) {
this.af6 = a;
this.v3("ActualYAxisLabelTextColor", b, this.agm);
}
}
get aca() {
return this.aa8;
}
set aca(a) {
let b = this.aca;
if (a != b) {
this.aa8 = a;
this.v3("XAxisTitleMargin", b, this.aca);
}
}
get acr() {
return this.abp;
}
set acr(a) {
let b = this.acr;
if (a != b) {
this.abp = a;
this.v3("YAxisTitleMargin", b, this.acr);
}
}
get ab9() {
return this.aa7;
}
set ab9(a) {
let b = this.ab9;
if (a != b) {
this.aa7 = a;
this.v3("XAxisTitleLeftMargin", b, this.ab9);
}
}
get acq() {
return this.abo;
}
set acq(a) {
let b = this.acq;
if (a != b) {
this.abo = a;
this.v3("YAxisTitleLeftMargin", b, this.acq);
}
}
get acc() {
return this.aba;
}
set acc(a) {
let b = this.acc;
if (a != b) {
this.aba = a;
this.v3("XAxisTitleTopMargin", b, this.acc);
}
}
get act() {
return this.abr;
}
set act(a) {
let b = this.act;
if (a != b) {
this.abr = a;
this.v3("YAxisTitleTopMargin", b, this.act);
}
}
get acb() {
return this.aa9;
}
set acb(a) {
let b = this.acb;
if (a != b) {
this.aa9 = a;
this.v3("XAxisTitleRightMargin", b, this.acb);
}
}
get acs() {
return this.abq;
}
set acs(a) {
let b = this.acs;
if (a != b) {
this.abq = a;
this.v3("YAxisTitleRightMargin", b, this.acs);
}
}
get ab8() {
return this.aa6;
}
set ab8(a) {
let b = this.ab8;
if (a != b) {
this.aa6 = a;
this.v3("XAxisTitleBottomMargin", b, this.ab8);
}
}
get acp() {
return this.abn;
}
set acp(a) {
let b = this.acp;
if (a != b) {
this.abn = a;
this.v3("YAxisTitleBottomMargin", b, this.acp);
}
}
get agt() {
return this.agd;
}
set agt(a) {
let b = this.agt;
if (a != b) {
this.agd = a;
this.v3("XAxisTitleTextColor", b, this.agt);
}
}
get ag0() {
return this.agk;
}
set ag0(a) {
let b = this.ag0;
if (a != b) {
this.agk = a;
this.v3("YAxisTitleTextColor", b, this.ag0);
}
}
v8(a, b, c) {
super.v8(a, b, c);
switch (a) {
case "XAxisLabelTextStyle":
this.afr((d) => d.textStyle = this.adn);
break;
case "YAxisLabelTextStyle":
this.afw((d) => d.textStyle = this.aes);
break;
case "XAxisTitleTextStyle":
this.aft((d) => d.textStyle = this.aeb);
break;
case "YAxisTitleTextStyle":
this.afy((d) => d.textStyle = this.afg);
break;
}
}
get adn() {
return this.acz;
}
set adn(a) {
let b = this.adn;
if (a != b) {
this.acz = a;
this.v3("XAxisLabelTextStyle", b, this.adn);
}
}
get aes() {
return this.ac3;
}
set aes(a) {
let b = this.aes;
if (a != b) {
this.ac3 = a;
this.v3("YAxisLabelTextStyle", b, this.aes);
}
}
get aeb() {
return this.ac1;
}
set aeb(a) {
let b = this.aeb;
if (a != b) {
this.ac1 = a;
this.v3("XAxisTitleTextStyle", b, this.aeb);
}
}
get afg() {
return this.ac5;
}
set afg(a) {
let b = this.afg;
if (a != b) {
this.ac5 = a;
this.v3("YAxisTitleTextStyle", b, this.afg);
}
}
afm(a) {
this.afj(a, (b) => b.leftMargin = this.abz);
this.afj(a, (b) => b.topMargin = this.ab1);
this.afj(a, (b) => b.rightMargin = this.ab0);
this.afj(a, (b) => b.bottomMargin = this.aby);
this.afj(a, (b) => b.textColor = this.agl);
this.afk(a, (b) => b.textColor = this.agt);
this.afk(a, (b) => b.leftMargin = this.ab9);
this.afk(a, (b) => b.topMargin = this.acc);
this.afk(a, (b) => b.rightMargin = this.acb);
this.afk(a, (b) => b.bottomMargin = this.ab8);
this.afj(a, (b) => b.textStyle = this.adn);
this.afk(a, (b) => b.textStyle = this.aeb);
}
afo(a) {
this.afj(a, (b) => b.leftMargin = this.acg);
this.afj(a, (b) => b.topMargin = this.aci);
this.afj(a, (b) => b.rightMargin = this.ach);
this.afj(a, (b) => b.bottomMargin = this.acf);
this.afj(a, (b) => b.textColor = this.agm);
this.afk(a, (b) => b.textColor = this.ag0);
this.afk(a, (b) => b.leftMargin = this.acq);
this.afk(a, (b) => b.topMargin = this.act);
this.afk(a, (b) => b.rightMargin = this.acs);
this.afk(a, (b) => b.bottomMargin = this.acp);
this.afj(a, (b) => b.textStyle = this.aes);
this.afk(a, (b) => b.textStyle = this.afg);
}
wz(a) {
let b = this.be(a);
let 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);
}
afp(a) {
this.afq(a, null);
}
afq(a, b) {
a(this.aae());
}
afv(a, b) {
a(this.aaf());
}
afu(a) {
this.afv(a, true);
}
uw(a, b) {
this.afp(a);
this.afv(a, b);
}
aft(a) {
this.afk(this.aae(), a);
}
afy(a) {
this.afk(this.aaf(), a);
}
afw(a) {
this.afj(this.aaf(), a);
}
afr(a) {
this.afj(this.aae(), a);
}
abs(a) {
let b = this.aae();
return b.el(a, new ScalerParams(1, this.zh, this.zg, b.ch));
}
abu(a) {
let b = this.aae();
return b.eo(a, new ScalerParams(1, this.zh, this.zg, b.ch));
}
abt(a) {
let b = this.aaf();
return b.el(a, new ScalerParams(1, this.zh, this.zg, b.ch));
}
abv(a) {
let b = this.aaf();
return b.eo(a, new ScalerParams(1, this.zh, this.zg, b.ch));
}
ww(a) {
super.ww(a);
if (a == null) {
return;
}
if (a.axes != null) {
let b = this.aae();
let c = this.aaf();
if (a.axes.contains(b)) {
a.axes.remove(b);
}
if (a.axes.contains(c)) {
a.axes.remove(c);
}
}
}
static ac8(a, b) {
for (let c of fromEnum(b)) {
let d = c.findMatchingHint(16);
if (d != null) {
let e = d.path;
return e;
}
}
return null;
}
u8(a, b) {
super.u8(a, b);
if (a == this.dataChart) {
this.dataChart.axes.add(this.aae());
this.dataChart.axes.add(this.aaf());
}
}
afl(a) {
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;
let 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, (c) => c.angle = this.abx);
this.afj(a, (c) => {
if (c.extent != this.abw) {
c.extent = this.abw;
}
});
this.afj(a, (c) => c.horizontalAlignment = this.af2);
this.afj(a, (c) => c.verticalAlignment = this.ag4);
this.afj(a, (c) => c.visibility = this.ag9);
this.afj(a, (c) => c.location = this.aak(this.aan));
this.afk(a, (c) => c.horizontalAlignment = this.af3);
this.afk(a, (c) => c.angle = this.ab7);
this.afm(a);
}
afn(a) {
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, (b) => b.angle = this.ace);
this.afj(a, (b) => {
if (b.extent != this.acd) {
b.extent = this.acd;
}
});
this.afj(a, (b) => b.horizontalAlignment = this.af4);
this.afj(a, (b) => b.verticalAlignment = this.ag5);
this.afj(a, (b) => b.visibility = this.aha);
this.afj(a, (b) => b.location = this.aal(this.aap));
this.afk(a, (b) => b.verticalAlignment = this.ag6);
this.afk(a, (b) => 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;
let b = a == this.aaf();
if (b) {
a.g8 = this.ae7;
}
a.gi = this.aej;
a.ah = this.aad;
this.afo(a);
}
u5() {
super.u5();
this.afl(this.aae());
this.afn(this.aaf());
}
afj(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);
}
afk(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);
}
v3(a, b, c) {
super.v3(a, b, c);
switch (a) {
case "XAxisLabelAngle":
this.afr((d) => d.angle = this.abx);
break;
case "YAxisLabelAngle":
this.afw((d) => d.angle = this.ace);
break;
case "XAxisLabelHorizontalAlignment":
this.afr((d) => d.horizontalAlignment = this.af2);
break;
case "YAxisLabelHorizontalAlignment":
this.afw((d) => d.horizontalAlignment = this.af4);
break;
case "XAxisLabelVerticalAlignment":
this.afr((d) => d.verticalAlignment = this.ag4);
break;
case "YAxisLabelVerticalAlignment":
this.afw((d) => d.verticalAlignment = this.ag5);
break;
case "XAxisLabelVisibility":
this.afr((d) => d.visibility = this.ag9);
break;
case "YAxisLabelVisibility":
this.afw((d) => d.visibility = this.aha);
break;
case "XAxisLabel":
this.afp((d) => d.f2 = this.acw);
break;
case "YAxisLabel":
this.afu((d) => d.f2 = this.acx);
break;
case "XAxisLabelFormat":
this.afp((d) => d.gi = this.ade);
break;
case "XAxisLabelFormatSpecifiers":
this.afp((d) => d.ah = this.aac);
break;
case "YAxisLabelFormat":
this.afu((d) => d.gi = this.aej);
break;
case "YAxisLabelFormatSpecifiers":
this.afu((d) => d.ah = this.aad);
break;
case "XAxisTitleAngle":
this.aft((d) => d.angle = this.ab7);
break;
case "YAxisTitleAngle":
this.afy((d) => d.angle = this.aco);
break;
case "XAxisTitleAlignment":
this.aft((d) => d.horizontalAlignment = this.af3);
break;
case "YAxisTitleAlignment":
this.afy((d) => d.verticalAlignment = this.ag6);
break;
case "XAxisTitle":
this.afp((d) => d.g8 = this.ad2);
break;
case "YAxisTitle":
this.afv((d) => d.g8 = this.ae7, false);
break;
case "XAxisMajorStroke":
this.afq((d) => d.jz = this.ago, a);
break;
case "YAxisMajorStroke":
this.afu((d) => d.jz = this.agv);
break;
case "XAxisMajorStrokeThickness":
this.afq((d) => d.et = this.ab2, a);
break;
case "YAxisMajorStrokeThickness":
this.afu((d) => d.et = this.acj);
break;
case "XAxisMinorStroke":
this.afp((d) => d.j0 = this.agp);
break;
case "YAxisMinorStroke":
this.afu((d) => d.j0 = this.agw);
break;
case "XAxisMinorStrokeThickness":
this.afp((d) => d.ew = this.ab3);
break;
case "YAxisMinorStrokeThickness":
this.afu((d) => d.ew = this.ack);
break;
case "XAxisTickLength":
this.afp((d) => d.fj = this.ab5);
break;
case "YAxisTickLength":
this.afu((d) => d.fj = this.acm);
break;
case "XAxisTickStroke":
this.afp((d) => d.j3 = this.ags);
break;
case "YAxisTickStroke":
this.afu((d) => d.j3 = this.agz);
break;
case "XAxisTickStrokeThickness":
this.afp((d) => d.fk = this.ab6);
break;
case "YAxisTickStrokeThickness":
this.afu((d) => d.fk = this.acn);
break;
case "XAxisStroke":
this.afp((d) => d.j2 = this.agr);
break;
case "YAxisStroke":
this.afu((d) => d.j2 = this.agy);
break;
case "XAxisStrokeThickness":
this.afp((d) => d.fi = this.ab4);
break;
case "YAxisStrokeThickness":
this.afu((d) => d.fi = this.acl);
break;
case "XAxisExtent":
this.afr((d) => d.extent = this.abw);
break;
case "YAxisExtent":
this.afw((d) => d.extent = this.acd);
break;
case "XAxisStrip":
this.afp((d) => d.j1 = this.agq);
break;
case "YAxisStrip":
this.afu((d) => d.j1 = this.agx);
break;
case "XAxisInverted":
this.afp((d) => d.ch = this.aas);
break;
case "YAxisInverted":
this.afu((d) => d.ch = this.aat);
break;
case "YAxisLabelLocation":
this.afx();
break;
case "XAxisLabelLocation":
this.afs();
break;
}
}
afx() {
let a = this.aal(this.aap);
if (a == 2 || a == 7) {
this.af4 = 2;
}
else {
this.af4 = 0;
}
this.afw((b) => b.location = a);
}
afs() {
let a = this.aak(this.aan);
if (a == 1 || a == 5) {
this.ag4 = 0;
}
else {
this.ag4 = 2;
}
this.afr((b) => b.location = a);
}
aal(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;
}
}
}
aak(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;
}
}
get acw() {
return this.acu;
}
set acw(a) {
let b = this.acw;
if (a != b) {
this.acu = a;
this.v3("XAxisLabel", b, this.acw);
}
}
get acx() {
return this.acv;
}
set acx(a) {
let b = this.acx;
if (a != b) {
this.acv = a;
this.v3("YAxisLabel", b, this.acx);
}
}
get ago() {
return this.af8;
}
set ago(a) {
let b = this.ago;
if (a != b) {
this.af8 = a;
this.v3("XAxisMajorStroke", b, this.ago);
}
}
get agv() {
return this.agf;
}
set agv(a) {
let b = this.agv;
if (a != b) {
this.agf = a;
this.v3("YAxisMajorStroke", b, this.agv);
}
}
get ab2() {
return this.aa0;
}
set ab2(a) {
let b = this.ab2;
if (a != b) {
this.aa0 = a;
this.v3("XAxisMajorStrokeThickness", b, this.ab2);
}
}
get acj() {
return this.abh;
}
set acj(a) {
let b = this.acj;
if (a != b) {
this.abh = a;
this.v3("YAxisMajorStrokeThickness", b, this.acj);
}
}
get ab3() {
return this.aa1;
}
set ab3(a) {
let b = this.ab3;
if (a != b) {
this.aa1 = a;
this.v3("XAxisMinorStrokeThickness", b, this.ab3);
}
}
get ack() {
return this.abi;
}
set ack(a) {
let b = this.ack;
if (a != b) {
this.abi = a;
this.v3("YAxisMinorStrokeThickness", b, this.ack);
}
}
get agq() {
return this.aga;
}
set agq(a) {
let b = this.agq;
if (a != b) {
this.aga = a;
this.v3("XAxisStrip", b, this.agq);
}
}
get agx() {
return this.agh;
}
set agx(a) {
let b = this.agx;
if (a != b) {
this.agh = a;
this.v3("YAxisStrip", b, this.agx);
}
}
get agr() {
return this.agb;
}
set agr(a) {
let b = this.agr;
if (a != b) {
this.agb = a;
this.v3("XAxisStroke", b, this.agr);
}
}
get agy() {
return this.agi;
}
set agy(a) {
let b = this.agy;
if (a != b) {
this.agi = a;
this.v3("YAxisStroke", b, this.agy);
}
}
get ab4() {
return this.aa2;
}
set ab4(a) {
let b = this.ab4;
if (a != b) {
this.aa2 = a;
this.v3("XAxisStrokeThickness", b, this.ab4);
}
}
get acl() {
return this.abj;
}
set acl(a) {
let b = this.acl;
if (a != b) {
this.abj = a;
this.v3("YAxisStrokeThickness", b, this.acl);
}
}
get ab5() {
return this.aa3;
}
set ab5(a) {
let b = this.ab5;
if (a != b) {
this.aa3 = a;
this.v3("XAxisTickLength", b, this.ab5);
}
}
get acm() {
return this.abk;
}
set acm(a) {
let b = this.acm;
if (a != b) {
this.abk = a;
this.v3("YAxisTickLength", b, this.acm);
}
}
get ags() {
return this.agc;
}
set ags(a) {
let b = this.ags;
if (a != b) {
this.agc = a;
this.v3("XAxisTickStroke", b, this.ags);
}
}
get agz() {
return this.agj;
}
set agz(a) {
let b = this.agz;
if (a != b) {
this.agj = a;
this.v3("YAxisTickStroke", b, this.agz);
}
}
get ab6() {
return this.aa4;
}
set ab6(a) {
let b = this.ab6;
if (a != b) {
this.aa4 = a;
this.v3("XAxisTickStrokeThickness", b, this.ab6);
}
}
get acn() {
return this.abl;
}
set acn(a) {
let b = this.acn;
if (a != b) {
this.abl = a;
this.v3("YAxisTickStrokeThickness", b, this.acn);
}
}
get ad2() {
return this.ac0;
}
set ad2(a) {
let b = this.ad2;
if (a != b) {
this.ac0 = a;
this.v3("XAxisTitle", b, this.ad2);
}
}
get ae7() {
return this.ac4;
}
set ae7(a) {
let b = this.ae7;
if (a != b) {
this.ac4 = a;
this.v3("YAxisTitle", b, this.ae7);
}
}
get agp() {
return this.af9;
}
set agp(a) {
let b = this.agp;
if (a != b) {
this.af9 = a;
this.v3("XAxisMinorStroke", b, this.agp);
}
}
get agw() {
return this.agg;
}
set agw(a) {
let b = this.agw;
if (a != b) {
this.agg = a;
this.v3("YAxisMinorStroke", b, this.agw);
}
}
get abx() {
return this.aav;
}
set abx(a) {
let b = this.abx;
if (a != b) {
this.aav = a;
this.v3("XAxisLabelAngle", b, this.abx);
}
}
get ace() {
return this.abc;
}
set ace(a) {
let b = this.ace;
if (a != b) {
this.abc = a;
this.v3("YAxisLabelAngle", b, this.ace);
}
}
get abw() {
return this.aau;
}
set abw(a) {
let b = this.abw;
if (a != b) {
this.aau = a;
this.v3("XAxisExtent", b, this.abw);
}
}
get acd() {
return this.abb;
}
set acd(a) {
let b = this.acd;
if (a != b) {
this.abb = a;
this.v3("YAxisExtent", b, this.acd);
}
}
get ab7() {
return this.aa5;
}
set ab7(a) {
let b = this.ab7;
if (a != b) {
this.aa5 = a;
this.v3("XAxisTitleAngle", b, this.ab7);
}
}
get aco() {
return this.abm;
}
set aco(a) {
let b = this.aco;
if (a != b) {
this.abm = a;
this.v3("YAxisTitleAngle", b, this.aco);
}
}
get aas() {
return this.aaq;
}
set aas(a) {
let b = this.aas;
if (a != b) {
this.aaq = a;
this.v3("XAxisInverted", b, this.aas);
}
}
get aat() {
return this.aar;
}
set aat(a) {
let b = this.aat;
if (a != b) {
this.aar = a;
this.v3("YAxisInverted", b, this.aat);
}
}
get af3() {
return this.af0;
}
set af3(a) {
let b = this.af3;
if (a != b) {
this.af0 = a;
this.v3("XAxisTitleAlignment", enumGetBox(HorizontalAlignment_$type, b), enumGetBox(HorizontalAlignment_$type, this.af3));
}
}
get ag6() {
return this.ag3;
}
set ag6(a) {
let b = this.ag6;
if (a != b) {
this.ag3 = a;
this.v3("YAxisTitleAlignment", enumGetBox(VerticalAlignment_$type, b), enumGetBox(VerticalAlignment_$type, this.ag6));
}
}
get af2() {
return this.afz;
}
set af2(a) {
let b = this.af2;
if (a != b) {
this.afz = a;
this.v3("XAxisLabelHorizontalAlignment", enumGetBox(HorizontalAlignment_$type, b), enumGetBox(HorizontalAlignment_$type, this.af2));
}
}
get_af4() {
return this.af1;
}
set_af4(a) {
let b = this.af4;
if (a != b) {
this.af1 = a;
this.v3("YAxisLabelHorizontalAlignment", enumGetBox(HorizontalAlignment_$type, b), enumGetBox(HorizontalAlignment_$type, this.af4));
}
}
get af4() {
return this.get_af4();
}
set af4(a) {
this.set_af4(a);
}
get ag4() {
return this.ag1;
}
set ag4(a) {
let b = this.ag4;
if (a != b) {
this.ag1 = a;
this.v3("XAxisLabelVerticalAlignment", enumGetBox(VerticalAlignment_$type, b), enumGetBox(VerticalAlignment_$type, this.ag4));
}
}
get ag5() {
return this.ag2;
}
set ag5(a) {
let b = this.ag5;
if (a != b) {
this.ag2 = a;
this.v3("YAxisLabelVerticalAlignment", enumGetBox(VerticalAlignment_$type, b), enumGetBox(VerticalAlignment_$type, this.ag5));
}
}
get ag9() {
return this.ag7;
}
set ag9(a) {
let b = this.ag9;
if (a != b) {
this.ag7 = a;
this.v3("XAxisLabelVisibility", enumGetBox(Visibility_$type, b), enumGetBox(Visibility_$type, this.ag9));
}
}
get aha() {
return this.ag8;
}
set aha(a) {
let b = this.aha;
if (a != b) {
this.ag8 = a;
this.v3("YAxisLabelVisibility", enumGetBox(Visibility_$type, b), enumGetBox(Visibility_$type, this.aha));
}
}
get_aap() {
return this.aao;
}
set_aap(a) {
let b = this.aap;
if (a != b) {
this.aao = a;
this.v3("YAxisLabelLocation", enumGetBox(YAxisLabelLocation_$type, b), enumGetBox(YAxisLabelLocation_$type, this.aap));
}
}
get aap() {
return this.get_aap();
}
set aap(a) {
this.set_aap(a);
}
get_aan() {
return this.aam;
}
set_aan(a) {
let b = this.aan;
if (a != b) {
this.aam = a;
this.v3("XAxisLabelLocation", enumGetBox(XAxisLabelLocation_$type, b), enumGetBox(XAxisLabelLocation_$type, this.aan));
}
}
get aan() {
return this.get_aan();
}
set aan(a) {
this.set_aan(a);
}
get ade() {
return this.acy;
}
set ade(a) {
let b = this.acy;
if (a != b) {
this.acy = a;
this.v3("XAxisLabelFormat", b, this.acy);
}
}
get aac() {
return this.aaa;
}
set aac(a) {
let b = this.aaa;
if (a != b) {
this.aaa = a;
this.v3("XAxisLabelFormatSpecifiers", b, this.aaa);
}
}
get aej() {
return this.ac2;
}
set aej(a) {
let b = this.ac2;
if (a != b) {
this.ac2 = a;
this.v3("YAxisLabelFormat", b, this.ac2);
}
}
get aad() {
return this.aab;
}
set aad(a) {
let b = this.aab;
if (a != b) {
this.aab = a;
this.v3("YAxisLabelFormatSpecifiers", b, this.aab);
}
}
}
XYChart.$t = /*@__PURE__*/ markType(XYChart, 'XYChart', DomainChart.$);
return XYChart;
})();