/*
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 { XYChart } from "./XYChart";
import { typeCast, runOn, delegateCombine, enumGetBox, markType, TypeRegistrar, getInstanceType } from "igniteui-react-core";
import { CategoryChartType_$type } from "./CategoryChartType";
import { CategorySeriesMarkerCollisionAvoidance_$type } from "./CategorySeriesMarkerCollisionAvoidance";
import { CategoryTransitionInMode_$type } from "./CategoryTransitionInMode";
import { TransitionInSpeedType_$type } from "./TransitionInSpeedType";
import { AutoMarginsAndAngleUpdateMode_$type } from "./AutoMarginsAndAngleUpdateMode";
import { AxisRangeBufferMode_$type } from "./AxisRangeBufferMode";
import { CategoryXAxis } from "./CategoryXAxis";
import { List$1 } from "igniteui-react-core";
import { DataSeriesType_$type } from "igniteui-react-core";
import { NumericYAxis } from "./NumericYAxis";
import { IDataSeriesAdapterRule_$type } from "igniteui-react-core";
import { SimpleCategorySeriesRule } from "igniteui-react-core";
import { SubCollectionsRule } from "igniteui-react-core";
import { DVContainer } from "igniteui-react-core";
import { Brush } from "igniteui-react-core";
import { AxisDefaults } from "./AxisDefaults";
import { Defaults } from "./Defaults";
import { Series } from "./Series";
import { HorizontalAnchoredCategorySeries } from "./HorizontalAnchoredCategorySeries";
import { ArrayExtension } from "igniteui-react-core";
import { AxisLabelSettings } from "./AxisLabelSettings";
import { DeviceUtils } from "igniteui-react-core";
import { CategoryChartMockDataGenerator } from "./CategoryChartMockDataGenerator";
import { stringIsNullOrEmpty } from "igniteui-react-core";
/**
 * @hidden
 */
export let CategoryChart = /*@__PURE__*/ (() => {
    class CategoryChart extends XYChart {
        sr() {
            super.sr();
            if (this.dataChart == null) {
                return;
            }
            let a = this.dataChart.cv.j.e();
            this.adl = a.d;
            this.adm = a.e;
            if (this.acv == null) {
                this.acv = a.k;
            }
            if (this.ac2 == null) {
                this.ac2 = a.k;
            }
            this.yu = 0;
            this.ac3 = AxisDefaults.h;
            this.ac6 = null;
            this.acz = AxisDefaults.g;
            this.acw = null;
            this.yd = AxisDefaults.f;
            this.ac0 = AxisDefaults.j;
            this.ye = AxisDefaults.e;
            this.fx = true;
            this.fy = true;
            this.a9 = 0;
            this.il = Defaults.j;
            this.u7 = Defaults.ae;
            this.u2 = Defaults.af;
            this.u3 = Defaults.ag;
            this.aep = true;
        }
        st(a, b) {
            super.st(a, b);
            a.jj = this.af7;
            a.jk = this.af8;
            a.c1 = this.ad9;
            a.c2 = this.aea;
        }
        th(a, b, c) {
            super.th(a, b, c);
            switch (a) {
                case "TransitionInDuration":
                    this.sg((d) => d.jj = this.af7);
                    break;
                case "TransitionOutDuration":
                    this.sg((d) => d.jk = this.af8);
                    break;
                case "TransitionInEasingFunction":
                    this.sg((d) => d.c1 = this.ad9);
                    break;
                case "TransitionOutEasingFunction":
                    this.sg((d) => d.c2 = this.aea);
                    break;
            }
        }
        get af7() {
            return this.af4;
        }
        set af7(a) {
            let b = this.af7;
            if (a != b) {
                this.af4 = a;
                this.te("TransitionInDuration", b, this.af7);
            }
        }
        get af8() {
            return this.af5;
        }
        set af8(a) {
            let b = this.af8;
            if (a != b) {
                this.af5 = a;
                this.te("TransitionOutDuration", b, this.af8);
            }
        }
        get ad9() {
            return this.ad7;
        }
        set ad9(a) {
            let b = this.ad9;
            if (a != b) {
                this.ad7 = a;
                this.te("TransitionInEasingFunction", b, this.ad9);
            }
        }
        get aea() {
            return this.ad8;
        }
        set aea(a) {
            let b = this.aea;
            if (a != b) {
                this.ad8 = a;
                this.te("TransitionOutEasingFunction", b, this.aea);
            }
        }
        age() {
            let cvd_ = this.kk();
            cvd_.scaleByViewport();
            return (cvd_.serialize());
        }
        sm(a) {
            super.sm(a);
            a.dv = this.fs;
            a.u4 = this.aeq;
            a.u7 = this.aer;
            a.vu = this.aff;
            a.vv = this.afg;
            a.t9 = this.ado;
        }
        ss(a, b) {
            super.ss(a, b);
            let c = typeCast(HorizontalAnchoredCategorySeries.$, a);
            if (c == null) {
                return;
            }
            c.xh = this.adu;
            c.wd = this.aep;
            c.vx = this.adw;
            c.ct = this.ad6;
            c.trendLineBrush = ArrayExtension.getModulus$1(Brush.$, this.ah, b);
            c.trendLineType = this.dt;
            c.trendLineThickness = this.ji;
            c.ua = this.cs(a, b);
            if (a.ez) {
                a.pz(ArrayExtension.getModulus$1(Brush.$, this.adl, b), ArrayExtension.getModulus$1(Brush.$, this.adm, b));
            }
        }
        adx() {
            return new CategoryXAxis();
        }
        ad1() {
            return new NumericYAxis();
        }
        r5() {
            this.xAxis = this.adx();
            this.xAxis.name = "xAxis";
            let a = this.xAxis;
            a.propertyChanged = delegateCombine(a.propertyChanged, runOn(this, this.ahi));
            this.yAxis = this.ad1();
            this.yAxis.name = "yAxis";
            let b = this.yAxis;
            b.propertyChanged = delegateCombine(b.propertyChanged, runOn(this, this.ahj));
            if (this.xAxis.az == null) {
                this.xAxis.az = new AxisLabelSettings();
            }
            if (this.yAxis.az == null) {
                this.yAxis.az = new AxisLabelSettings();
            }
        }
        abv(a) {
            super.abv(a);
            a.la = this.aet;
            a.ld = this.aev;
            a.b1 = this.aeu;
        }
        abt(a) {
            super.abt(a);
            a.b1 = this.aes;
            a.zoomMaximumCategoryRange = this.aft;
            a.zoomToCategoryRange = this.afv;
            a.zoomToCategoryStart = this.afw;
            a.zoomMaximumItemSpan = this.afu;
            a.zoomToItemSpan = this.afx;
        }
        get_b1() {
            return 0;
        }
        get b1() {
            return this.get_b1();
        }
        get ads() {
            return this.adr;
        }
        set ads(a) {
            if (a != this.adr) {
                let b = this.ads;
                this.adr = a;
                this.te("ChartType", enumGetBox(CategoryChartType_$type, b), enumGetBox(CategoryChartType_$type, this.ads));
            }
        }
        get adu() {
            return this.adt;
        }
        set adu(a) {
            let b = this.adu;
            if (a != b) {
                this.adt = a;
                this.te("MarkerCollisionAvoidance", enumGetBox(CategorySeriesMarkerCollisionAvoidance_$type, b), enumGetBox(CategorySeriesMarkerCollisionAvoidance_$type, this.adu));
            }
        }
        get aeo() {
            return this.aed;
        }
        set aeo(a) {
            let b = this.aeo;
            if (a != b) {
                this.aed = a;
                this.te("IsSplineShapePartOfRange", b, this.aeo);
            }
        }
        get aep() {
            return this.aee;
        }
        set aep(a) {
            let b = this.aep;
            if (a != b) {
                this.aee = a;
                this.te("IsTransitionInEnabled", b, this.aep);
            }
        }
        get adw() {
            return this.adv;
        }
        set adw(a) {
            let b = this.adw;
            if (a != b) {
                this.adv = a;
                this.te("TransitionInMode", enumGetBox(CategoryTransitionInMode_$type, b), enumGetBox(CategoryTransitionInMode_$type, this.adw));
            }
        }
        get ad6() {
            return this.ad5;
        }
        set ad6(a) {
            let b = this.ad6;
            if (a != b) {
                this.ad5 = a;
                this.te("TransitionInSpeedType", enumGetBox(TransitionInSpeedType_$type, b), enumGetBox(TransitionInSpeedType_$type, this.ad6));
            }
        }
        get afo() {
            return this.ae1;
        }
        set afo(a) {
            let b = this.afo;
            if (a != b) {
                this.ae1 = a;
                this.te("XAxisInterval", b, this.afo);
            }
        }
        get afr() {
            return this.ae4;
        }
        set afr(a) {
            let b = this.afr;
            if (a != b) {
                this.ae4 = a;
                this.te("XAxisMinorInterval", b, this.afr);
            }
        }
        get afn() {
            return this.ae0;
        }
        set afn(a) {
            let b = this.afn;
            if (a != b) {
                this.ae0 = a;
                this.te("XAxisGap", b, this.afn);
            }
        }
        get afq() {
            return this.ae3;
        }
        set afq(a) {
            let b = this.afq;
            if (a != b) {
                this.ae3 = a;
                this.te("XAxisMinimumGapSize", b, this.afq);
            }
        }
        get afp() {
            return this.ae2;
        }
        set afp(a) {
            let b = this.afp;
            if (a != b) {
                this.ae2 = a;
                this.te("XAxisMaximumGap", b, this.afp);
            }
        }
        get afs() {
            return this.ae5;
        }
        set afs(a) {
            let b = this.afs;
            if (a != b) {
                this.ae5 = a;
                this.te("XAxisOverlap", b, this.afs);
            }
        }
        get af0() {
            return this.afb;
        }
        set af0(a) {
            let b = this.af0;
            if (a != b) {
                this.afb = a;
                this.te("YAxisInterval", b, this.af0);
            }
        }
        get ado() {
            return this.adn;
        }
        set ado(a) {
            let b = this.ado;
            if (a != b) {
                this.adn = a;
                this.te("AutoMarginAndAngleUpdateMode", enumGetBox(AutoMarginsAndAngleUpdateMode_$type, b), enumGetBox(AutoMarginsAndAngleUpdateMode_$type, this.ado));
            }
        }
        ahk() {
            if (this.dataChart != null) {
                this.dataChart.xf();
            }
        }
        get aeq() {
            return this.aef;
        }
        set aeq(a) {
            let b = this.aeq;
            if (a != b) {
                this.aef = a;
                this.te("ShouldAutoExpandMarginForInitialLabels", b, this.aeq);
            }
        }
        get aer() {
            return this.aeg;
        }
        set aer(a) {
            let b = this.aer;
            if (a != b) {
                this.aeg = a;
                this.te(CategoryChart.agn, b, this.aer);
            }
        }
        get aff() {
            return this.aey;
        }
        set aff(a) {
            let b = this.aff;
            if (a != b) {
                this.aey = a;
                this.te("AutoExpandMarginExtraPadding", b, this.aff);
            }
        }
        get afg() {
            return this.aez;
        }
        set afg(a) {
            let b = this.afg;
            if (a != b) {
                this.aez = a;
                this.te("AutoExpandMarginMaximumValue", b, this.afg);
            }
        }
        get aev() {
            return this.aek;
        }
        set aev(a) {
            let b = this.aev;
            if (a != b) {
                this.aek = a;
                this.te("YAxisFavorLabellingScaleEnd", b, this.aev);
            }
        }
        get aes() {
            return this.aeh;
        }
        set aes(a) {
            let b = this.aes;
            if (a != b) {
                this.aeh = a;
                this.te(CategoryChart.agu, b, this.aes);
            }
        }
        get aeu() {
            return this.aej;
        }
        set aeu(a) {
            let b = this.aeu;
            if (a != b) {
                this.aej = a;
                this.te(CategoryChart.ag8, b, this.aeu);
            }
        }
        get adq() {
            return this.adp;
        }
        set adq(a) {
            let b = this.adq;
            if (a != b) {
                this.adp = a;
                this.te("YAxisAutoRangeBufferMode", enumGetBox(AxisRangeBufferMode_$type, b), enumGetBox(AxisRangeBufferMode_$type, this.adq));
            }
        }
        get aew() {
            return this.ael;
        }
        set aew(a) {
            let b = this.aew;
            if (a != b) {
                this.ael = a;
                this.te("YAxisIsLogarithmic", b, this.aew);
            }
        }
        get af9() {
            return this.af6;
        }
        set af9(a) {
            let b = this.af9;
            if (a != b) {
                this.af6 = a;
                this.te("YAxisLogarithmBase", b, this.af9);
            }
        }
        get af2() {
            return this.afd;
        }
        set af2(a) {
            let b = this.af2;
            if (a != b) {
                this.afd = a;
                this.te("YAxisMinimumValue", b, this.af2);
            }
        }
        get af1() {
            return this.afc;
        }
        set af1(a) {
            let b = this.af1;
            if (a != b) {
                this.afc = a;
                this.te("YAxisMaximumValue", b, this.af1);
            }
        }
        get af3() {
            return this.afe;
        }
        set af3(a) {
            let b = this.af3;
            if (a != b) {
                this.afe = a;
                this.te("YAxisMinorInterval", b, this.af3);
            }
        }
        get afm() {
            return this.xAxis.mw;
        }
        get afl() {
            return this.xAxis.mv;
        }
        afi() {
            return this.afm;
        }
        afk() {
            return this.afz;
        }
        afh() {
            return this.afl;
        }
        afj() {
            return this.afy;
        }
        get afz() {
            return this.yAxis.lx;
        }
        get afy() {
            return this.yAxis.lw;
        }
        get adl() {
            return this.adj;
        }
        set adl(a) {
            let b = this.adl;
            if (a != b) {
                this.adj = a;
                this.te("NegativeBrushes", b, this.adl);
            }
        }
        get adm() {
            return this.adk;
        }
        set adm(a) {
            let b = this.adm;
            if (a != b) {
                this.adk = a;
                this.te("NegativeOutlines", b, this.adm);
            }
        }
        get aet() {
            return this.aei;
        }
        set aet(a) {
            let b = this.aet;
            if (a != b) {
                this.aei = a;
                this.te("YAxisAbbreviateLargeNumbers", b, this.aet);
            }
        }
        get aft() {
            return this.ae6;
        }
        set aft(a) {
            let b = this.aft;
            if (a != b) {
                this.ae6 = a;
                this.te("XAxisZoomMaximumCategoryRange", b, this.aft);
            }
        }
        get afu() {
            return this.ae7;
        }
        set afu(a) {
            let b = this.afu;
            if (a != b) {
                this.ae7 = a;
                this.te("XAxisZoomMaximumItemSpan", b, this.afu);
            }
        }
        get afv() {
            return this.ae8;
        }
        set afv(a) {
            let b = this.afv;
            if (a != b) {
                this.ae8 = a;
                this.te("XAxisZoomToCategoryRange", b, this.afv);
            }
        }
        get afw() {
            return this.ae9;
        }
        set afw(a) {
            let b = this.afw;
            if (a != b) {
                this.ae9 = a;
                this.te("XAxisZoomToCategoryStart", b, this.afw);
            }
        }
        get afx() {
            return this.afa;
        }
        set afx(a) {
            let b = this.afx;
            if (a != b) {
                this.afa = a;
                this.te("XAxisZoomToItemSpan", b, this.afx);
            }
        }
        get aem() {
            return this.aeb;
        }
        set aem(a) {
            let b = this.aem;
            if (a != b) {
                this.aeb = a;
                this.te("IsCategoryHighlightingEnabled", b, this.aem);
            }
        }
        get aen() {
            return this.aec;
        }
        set aen(a) {
            let b = this.aen;
            if (a != b) {
                this.aec = a;
                this.te("IsItemHighlightingEnabled", b, this.aen);
            }
        }
        constructor() {
            super();
            this.af4 = 1000;
            this.af5 = 1000;
            this.ad7 = null;
            this.ad8 = null;
            this.adr = 9;
            this.adt = 1;
            this.aed = false;
            this.aee = true;
            this.adv = 0;
            this.ad5 = 0;
            this.ae1 = 0;
            this.ae4 = 0;
            this.ae0 = 0;
            this.ae3 = 0;
            this.ae2 = 1;
            this.ae5 = 0;
            this.afb = NaN;
            this.adn = 1;
            this.aef = true;
            this.aeg = true;
            this.aey = DeviceUtils.g(2);
            this.aez = DeviceUtils.g(60);
            this.aek = true;
            this.aeh = true;
            this.aej = false;
            this.adp = 0;
            this.ael = false;
            this.af6 = 10;
            this.afd = NaN;
            this.afc = NaN;
            this.afe = 0;
            this.adj = null;
            this.adk = null;
            this.aei = true;
            this.ae6 = 3;
            this.ae7 = NaN;
            this.ae8 = NaN;
            this.ae9 = NaN;
            this.afa = NaN;
            this.aeb = false;
            this.aec = false;
            this.aex = null;
            DVContainer.instance.registerIfLoaded("CategoryChartToolbarFactoryManager");
            this.r9();
        }
        get_g2() {
            let a = new List$1(DataSeriesType_$type, 0);
            if (TypeRegistrar.isRegistered("AreaSeries")) {
                a.add(2);
            }
            if (TypeRegistrar.isRegistered("ColumnSeries")) {
                a.add(1);
            }
            if (TypeRegistrar.isRegistered("LineSeries")) {
                a.add(0);
            }
            if (TypeRegistrar.isRegistered("PointSeries")) {
                a.add(10);
            }
            if (TypeRegistrar.isRegistered("SplineSeries")) {
                a.add(6);
            }
            if (TypeRegistrar.isRegistered("SplineAreaSeries")) {
                a.add(7);
            }
            if (TypeRegistrar.isRegistered("StepAreaSeries")) {
                a.add(5);
            }
            if (TypeRegistrar.isRegistered("StepLineSeries")) {
                a.add(4);
            }
            if (TypeRegistrar.isRegistered("WaterfallSeries")) {
                a.add(8);
            }
            return a;
        }
        get g2() {
            return this.get_g2();
        }
        g6() {
            if (this.aex == null) {
                this.aex = CategoryChartMockDataGenerator.a();
            }
            return this.aex;
        }
        cr(a) {
            if (a != null) {
                let b = super.cr(a);
                if (b == 2) {
                    if (a.ey && this.f8) {
                        return 13;
                    }
                }
            }
            return super.cr(a);
        }
        ct(a) {
            if (a != null) {
                let b = super.cr(a);
                if (b == 2) {
                    if (a.ey && this.f8) {
                        return 13;
                    }
                }
            }
            return super.ct(a);
        }
        get_gp() {
            return this.xAxis != null && this.xAxis.categoryMode != 0;
        }
        ahi(a, b) {
            switch (b.propertyName) {
                case "ActualMinimum":
                    this.to("XAxisActualMinimum");
                    break;
                case "ActualMaximum":
                    this.to("XAxisActualMaximum");
                    break;
            }
        }
        ahj(a, b) {
            switch (b.propertyName) {
                case "ActualMinimumValue":
                    this.to("YAxisActualMinimum");
                    break;
                case "ActualMaximumValue":
                    this.to("YAxisActualMaximum");
                    break;
            }
        }
        t0() {
            super.t0();
            this.xAxis.f0 = this.y4 == null ? XYChart.zg(this.xAxis, this.bd.dataSeries) : this.y4;
            this.xAxis.itemsSource = this.dataChart != null && this.dataChart.series.count > 0 ? this.dataChart.series._inner[0].itemsSource : null;
            if (this.aeq) {
                this.s6((a) => a.xf());
            }
        }
        get xAxis() {
            return this._xAxis;
        }
        set xAxis(a) {
            this._xAxis = a;
        }
        get yAxis() {
            return this._yAxis;
        }
        set yAxis(a) {
            this._yAxis = a;
        }
        ad0(a, b) {
            switch (a) {
                case 2: return this.c4(1);
                case 3: return this.c4(10);
                case 0: return this.c4(0);
                case 1: return this.c4(2);
                case 6: return this.c4(6);
                case 7: return this.c4(7);
                case 4: return this.c4(4);
                case 5: return this.c4(5);
                case 8: return this.c4(8);
                case 9: return this.adz(b);
                default: return this.c4(1);
            }
        }
        adz(a) {
            return this.c4(a);
        }
        bc(a) {
            switch (this.ads) {
                case 1: return 2;
                case 0: return 0;
                case 3: return 10;
                case 6: return 6;
                case 7: return 7;
                case 5: return 5;
                case 4: return 4;
                case 8: return 8;
                case 9: return a.suggestedSeries;
                default:
                case 2: return 1;
            }
        }
        c2(a, b) {
            let c = this.ad0(this.ads, a.suggestedSeries);
            c.x5 = a.findMatchingHint(0).path;
            c.xAxis = this.xAxis;
            c.yAxis = this.yAxis;
            return c;
        }
        ty(a) {
            if (a.suggestedSecondaryAxis == 2) {
                this.yAxis.li = true;
                this.yAxis.l9 = 10;
            }
        }
        t1() {
            this.yAxis.li = this.aew;
            this.yAxis.l9 = this.af9;
        }
        get_g1() {
            return ((() => {
                let $ret = new List$1(IDataSeriesAdapterRule_$type, 0);
                $ret.add(new SimpleCategorySeriesRule());
                $ret.add(new SubCollectionsRule());
                return $ret;
            })());
        }
        get g1() {
            return this.get_g1();
        }
        r1(a, b) {
            let c = typeCast(HorizontalAnchoredCategorySeries.$, a);
            if (c != null) {
                c.xh = this.adu;
                c.ua = this.cs(a, b);
            }
        }
        ahg(a) {
            this.ahh((b, c) => a(b));
        }
        ahh(a) {
            if (this.dataChart == null) {
                return;
            }
            for (let b = 0; b < this.dataChart.series.count; b++) {
                let c = typeCast(HorizontalAnchoredCategorySeries.$, this.dataChart.series._inner[b]);
                if (c == null) {
                    continue;
                }
                a(c, b);
            }
        }
        wm() {
            return this.xAxis;
        }
        wn() {
            return this.yAxis;
        }
        ad3() {
            return this.c4(30);
        }
        ad4() {
            return this.c4(31);
        }
        gy(a, b) {
            let c = super.gy(a, b);
            if (c != null) {
                let d = new List$1(Series.$, 0);
                if (this.aeb) {
                    d.add(this.ad3());
                }
                if (this.aec) {
                    d.add(this.ad4());
                }
                for (let e = 0; e < d.count; e++) {
                    let f = d._inner[e];
                    f.name = a + getInstanceType(f).typeName;
                    c.add(f);
                }
            }
            return c;
        }
        a7() {
            if (this.a6 == 0) {
                return 1;
            }
            else {
                return this.a6;
            }
        }
        t6(a, b, c) {
            super.t6(a, b, c);
            if (this.bd.dataSeries.count > 0) {
                if (stringIsNullOrEmpty(this.lz)) {
                    this.b4.setXMemberPath(a, c.getMemberPathFor(16));
                }
                if (stringIsNullOrEmpty(this.l1)) {
                    this.b4.setYMemberPath(a, c.getMemberPathFor(0));
                }
                if (stringIsNullOrEmpty(this.lv)) {
                    this.b4.setLabelMemberPath(a, c.getMemberPathFor(0));
                }
                if (stringIsNullOrEmpty(this.ls)) {
                    this.b4.setContentMemberPath(a, c.getMemberPathFor(0));
                }
            }
        }
        gb() {
            if (this.a9 == 4 || this.a9 == 3) {
                return true;
            }
            else if (this.a9 == 0) {
                if (this.ads == 2 || this.ads == 8) {
                    return false;
                }
                else if (this.ads == 9 && this.bd != null && this.bd.dataSeries != null && this.bd.dataSeries.count > 0) {
                    let a = this.bd.dataSeries._inner[0].suggestedSeries;
                    if (a == 1 || a == 8) {
                        return false;
                    }
                }
                return true;
            }
            return false;
        }
        get_gh() {
            return DVContainer.instance.checkLoaded("CategoryChartToolbarFactoryManager");
        }
        te(a, b, c) {
            super.te(a, b, c);
            switch (a) {
                case "ChartType":
                    this.t0();
                    break;
                case "MarkerCollisionAvoidance":
                    this.ahg((d) => d.xh = this.adu);
                    break;
                case "IsTransitionInEnabled":
                    this.ahg((d) => d.wd = this.aep);
                    break;
                case "IsSplineShapePartOfRange":
                    this.ahg((d) => {
                        if (d.fd) {
                            d.p0(this.aeo);
                        }
                    });
                    break;
                case "TransitionInMode":
                    this.ahg((d) => d.vx = this.adw);
                    break;
                case "TransitionInSpeedType":
                    this.ahg((d) => d.ct = this.ad6);
                    break;
                case "XAxisInterval":
                    this.xAxis.mr = this.afo;
                    break;
                case "XAxisMinorInterval":
                    this.xAxis.ms = this.afr;
                    break;
                case "XAxisGap":
                    this.xAxis.k1 = this.afn;
                    break;
                case "XAxisOverlap":
                    this.xAxis.la = this.afs;
                    break;
                case "XAxisMinimumGapSize":
                    this.xAxis.k9 = this.afq;
                    break;
                case "XAxisMaximumGap":
                    this.xAxis.k8 = this.afp;
                    break;
                case "XAxisZoomMaximumCategoryRange":
                    this.xAxis.zoomMaximumCategoryRange = this.aft;
                    break;
                case "XAxisZoomMaximumItemSpan":
                    this.xAxis.zoomMaximumItemSpan = this.afu;
                    break;
                case "XAxisZoomToCategoryRange":
                    this.xAxis.zoomToCategoryRange = this.afv;
                    break;
                case "XAxisZoomToCategoryStart":
                    this.xAxis.zoomToCategoryStart = this.afw;
                    break;
                case "XAxisZoomToItemSpan":
                    this.xAxis.zoomToItemSpan = this.afx;
                    break;
                case "YAxisInterval":
                    this.yAxis.l1 = this.af0;
                    break;
                case "YAxisFavorLabellingScaleEnd":
                    this.yAxis.ld = this.aev;
                    break;
                case "YAxisAutoRangeBufferMode":
                    this.yAxis.ku = this.adq;
                    break;
                case "YAxisIsLogarithmic":
                    this.yAxis.li = this.aew;
                    break;
                case "YAxisLogarithmBase":
                    this.yAxis.l9 = this.af9;
                    break;
                case "YAxisMinimumValue":
                    this.yAxis.l5 = this.af2;
                    break;
                case "YAxisMaximumValue":
                    this.yAxis.l4 = this.af1;
                    break;
                case "YAxisMinorInterval":
                    this.yAxis.l6 = this.af3;
                    break;
                case "NegativeBrushes":
                case "NegativeOutlines":
                    this.ahh((d, e) => {
                        if (d.ez) {
                            d.pz(ArrayExtension.getModulus$1(Brush.$, this.adl, e), ArrayExtension.getModulus$1(Brush.$, this.adm, e));
                        }
                    });
                    break;
                case "YAxisAbbreviateLargeNumbers":
                    this.ab2((d) => d.la = this.aet);
                    break;
                case "IsCategoryHighlightingEnabled":
                case "IsItemHighlightingEnabled":
                    this.t0();
                    break;
                case "AutoMarginAndAngleUpdateMode":
                    this.s6((d) => d.t9 = this.ado);
                    break;
                case "ShouldAutoExpandMarginForInitialLabels":
                    this.s6((d) => d.u4 = this.aeq);
                    break;
                case CategoryChart.agn:
                    this.s6((d) => d.u7 = this.aer);
                    break;
                case "AutoExpandMarginExtraPadding":
                    this.s6((d) => d.vu = this.aff);
                    break;
                case "AutoExpandMarginMaximumValue":
                    this.s6((d) => d.vv = this.afg);
                    break;
                case CategoryChart.agu:
                    this.aby((d) => d.b1 = this.aes, a);
                    break;
                case CategoryChart.ag8:
                    this.ab2((d) => d.b1 = this.aeu);
                    break;
            }
        }
    }
    CategoryChart.$t = /*@__PURE__*/ markType(CategoryChart, 'CategoryChart', XYChart.$);
    CategoryChart.agn = "ShouldConsiderAutoRotationForInitialLabels";
    CategoryChart.agu = "XAxisEnhancedIntervalPreferMoreCategoryLabels";
    CategoryChart.ag8 = "YAxisEnhancedIntervalPreferMoreCategoryLabels";
    return CategoryChart;
})();
