/*
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 {
        ur() {
            super.ur();
            if (this.dataChart == null) {
                return;
            }
            let a = this.dataChart.c8.j.e();
            this.af7 = a.d;
            this.af8 = a.e;
            if (this.afh == null) {
                this.afh = a.k;
            }
            if (this.afo == null) {
                this.afo = a.k;
            }
            this.abg = 0;
            this.afp = AxisDefaults.h;
            this.afs = null;
            this.afl = AxisDefaults.g;
            this.afi = null;
            this.aaz = AxisDefaults.f;
            this.afm = AxisDefaults.j;
            this.aa0 = AxisDefaults.e;
            this.gi = true;
            this.gj = true;
            this.bf = 0;
            this.jg = Defaults.j;
            this.xk = Defaults.ae;
            this.xf = Defaults.af;
            this.xg = Defaults.ag;
            this.ahb = true;
        }
        ut(a, b) {
            super.ut(a, b);
            a.kc = this.ait;
            a.kd = this.aiu;
            a.dc = this.agv;
            a.dd = this.agw;
        }
        vi(a, b, c) {
            super.vi(a, b, c);
            switch (a) {
                case "TransitionInDuration":
                    this.ug((d) => d.kc = this.ait);
                    break;
                case "TransitionOutDuration":
                    this.ug((d) => d.kd = this.aiu);
                    break;
                case "TransitionInEasingFunction":
                    this.ug((d) => d.dc = this.agv);
                    break;
                case "TransitionOutEasingFunction":
                    this.ug((d) => d.dd = this.agw);
                    break;
            }
        }
        get ait() {
            return this.aiq;
        }
        set ait(a) {
            let b = this.ait;
            if (a != b) {
                this.aiq = a;
                this.vf("TransitionInDuration", b, this.ait);
            }
        }
        get aiu() {
            return this.air;
        }
        set aiu(a) {
            let b = this.aiu;
            if (a != b) {
                this.air = a;
                this.vf("TransitionOutDuration", b, this.aiu);
            }
        }
        get agv() {
            return this.agt;
        }
        set agv(a) {
            let b = this.agv;
            if (a != b) {
                this.agt = a;
                this.vf("TransitionInEasingFunction", b, this.agv);
            }
        }
        get agw() {
            return this.agu;
        }
        set agw(a) {
            let b = this.agw;
            if (a != b) {
                this.agu = a;
                this.vf("TransitionOutEasingFunction", b, this.agw);
            }
        }
        ai0() {
            let cvd_ = this.lp();
            cvd_.scaleByViewport();
            return (cvd_.serialize());
        }
        um(a, b) {
            super.um(a, b);
            a.eh = this.ga;
            a.w2 = this.ahc;
            a.w5 = this.ahd;
            a.xs = this.ah1;
            a.xt = this.ah2;
            a.v7 = this.aga;
        }
        us(a, b) {
            super.us(a, b);
            let c = typeCast(HorizontalAnchoredCategorySeries.$, a);
            if (c == null) {
                return;
            }
            c.aaf = this.agg;
            c.zb = this.ahb;
            c.yv = this.agi;
            c.c3 = this.ags;
            c.trendLineBrush = ArrayExtension.getModulus$1(Brush.$, this.ah, b);
            c.trendLineType = this.d9;
            c.trendLineThickness = this.kc;
            c.w1 = this.c0(a, b);
            if (a.fk) {
                a.rw(ArrayExtension.getModulus$1(Brush.$, this.af7, b), ArrayExtension.getModulus$1(Brush.$, this.af8, b));
            }
        }
        agj() {
            return new CategoryXAxis();
        }
        agn() {
            return new NumericYAxis();
        }
        t3() {
            this.xAxis = this.agj();
            this.xAxis.name = "xAxis";
            let a = this.xAxis;
            a.propertyChanged = delegateCombine(a.propertyChanged, runOn(this, this.aj4));
            this.yAxis = this.agn();
            this.yAxis.name = "yAxis";
            let b = this.yAxis;
            b.propertyChanged = delegateCombine(b.propertyChanged, runOn(this, this.aj5));
            if (this.xAxis.az == null) {
                this.xAxis.az = new AxisLabelSettings();
            }
            if (this.yAxis.az == null) {
                this.yAxis.az = new AxisLabelSettings();
            }
        }
        aeh(a) {
            super.aeh(a);
            a.lb = this.ahf;
            a.le = this.ahh;
            a.b1 = this.ahg;
        }
        aef(a) {
            super.aef(a);
            a.b1 = this.ahe;
            a.zoomMaximumCategoryRange = this.aif;
            a.zoomToCategoryRange = this.aih;
            a.zoomToCategoryStart = this.aii;
            a.zoomMaximumItemSpan = this.aig;
            a.zoomToItemSpan = this.aij;
        }
        get_b9() {
            return 0;
        }
        get b9() {
            return this.get_b9();
        }
        get age() {
            return this.agd;
        }
        set age(a) {
            if (a != this.agd) {
                let b = this.age;
                this.agd = a;
                this.vf("ChartType", enumGetBox(CategoryChartType_$type, b), enumGetBox(CategoryChartType_$type, this.age));
            }
        }
        get agg() {
            return this.agf;
        }
        set agg(a) {
            let b = this.agg;
            if (a != b) {
                this.agf = a;
                this.vf("MarkerCollisionAvoidance", enumGetBox(CategorySeriesMarkerCollisionAvoidance_$type, b), enumGetBox(CategorySeriesMarkerCollisionAvoidance_$type, this.agg));
            }
        }
        get aha() {
            return this.agz;
        }
        set aha(a) {
            let b = this.aha;
            if (a != b) {
                this.agz = a;
                this.vf("IsSplineShapePartOfRange", b, this.aha);
            }
        }
        get ahb() {
            return this.ag0;
        }
        set ahb(a) {
            let b = this.ahb;
            if (a != b) {
                this.ag0 = a;
                this.vf("IsTransitionInEnabled", b, this.ahb);
            }
        }
        get agi() {
            return this.agh;
        }
        set agi(a) {
            let b = this.agi;
            if (a != b) {
                this.agh = a;
                this.vf("TransitionInMode", enumGetBox(CategoryTransitionInMode_$type, b), enumGetBox(CategoryTransitionInMode_$type, this.agi));
            }
        }
        get ags() {
            return this.agr;
        }
        set ags(a) {
            let b = this.ags;
            if (a != b) {
                this.agr = a;
                this.vf("TransitionInSpeedType", enumGetBox(TransitionInSpeedType_$type, b), enumGetBox(TransitionInSpeedType_$type, this.ags));
            }
        }
        get aia() {
            return this.ahn;
        }
        set aia(a) {
            let b = this.aia;
            if (a != b) {
                this.ahn = a;
                this.vf("XAxisInterval", b, this.aia);
            }
        }
        get aid() {
            return this.ahq;
        }
        set aid(a) {
            let b = this.aid;
            if (a != b) {
                this.ahq = a;
                this.vf("XAxisMinorInterval", b, this.aid);
            }
        }
        get ah9() {
            return this.ahm;
        }
        set ah9(a) {
            let b = this.ah9;
            if (a != b) {
                this.ahm = a;
                this.vf("XAxisGap", b, this.ah9);
            }
        }
        get aic() {
            return this.ahp;
        }
        set aic(a) {
            let b = this.aic;
            if (a != b) {
                this.ahp = a;
                this.vf("XAxisMinimumGapSize", b, this.aic);
            }
        }
        get aib() {
            return this.aho;
        }
        set aib(a) {
            let b = this.aib;
            if (a != b) {
                this.aho = a;
                this.vf("XAxisMaximumGap", b, this.aib);
            }
        }
        get aie() {
            return this.ahr;
        }
        set aie(a) {
            let b = this.aie;
            if (a != b) {
                this.ahr = a;
                this.vf("XAxisOverlap", b, this.aie);
            }
        }
        get aim() {
            return this.ahx;
        }
        set aim(a) {
            let b = this.aim;
            if (a != b) {
                this.ahx = a;
                this.vf("YAxisInterval", b, this.aim);
            }
        }
        get aga() {
            return this.af9;
        }
        set aga(a) {
            let b = this.aga;
            if (a != b) {
                this.af9 = a;
                this.vf("AutoMarginAndAngleUpdateMode", enumGetBox(AutoMarginsAndAngleUpdateMode_$type, b), enumGetBox(AutoMarginsAndAngleUpdateMode_$type, this.aga));
            }
        }
        aj6() {
            if (this.dataChart != null) {
                this.dataChart.zd();
            }
        }
        get ahc() {
            return this.ag1;
        }
        set ahc(a) {
            let b = this.ahc;
            if (a != b) {
                this.ag1 = a;
                this.vf("ShouldAutoExpandMarginForInitialLabels", b, this.ahc);
            }
        }
        get ahd() {
            return this.ag2;
        }
        set ahd(a) {
            let b = this.ahd;
            if (a != b) {
                this.ag2 = a;
                this.vf(CategoryChart.ai9, b, this.ahd);
            }
        }
        get ah1() {
            return this.ahk;
        }
        set ah1(a) {
            let b = this.ah1;
            if (a != b) {
                this.ahk = a;
                this.vf("AutoExpandMarginExtraPadding", b, this.ah1);
            }
        }
        get ah2() {
            return this.ahl;
        }
        set ah2(a) {
            let b = this.ah2;
            if (a != b) {
                this.ahl = a;
                this.vf("AutoExpandMarginMaximumValue", b, this.ah2);
            }
        }
        get ahh() {
            return this.ag6;
        }
        set ahh(a) {
            let b = this.ahh;
            if (a != b) {
                this.ag6 = a;
                this.vf("YAxisFavorLabellingScaleEnd", b, this.ahh);
            }
        }
        get ahe() {
            return this.ag3;
        }
        set ahe(a) {
            let b = this.ahe;
            if (a != b) {
                this.ag3 = a;
                this.vf(CategoryChart.ajg, b, this.ahe);
            }
        }
        get ahg() {
            return this.ag5;
        }
        set ahg(a) {
            let b = this.ahg;
            if (a != b) {
                this.ag5 = a;
                this.vf(CategoryChart.aju, b, this.ahg);
            }
        }
        get agc() {
            return this.agb;
        }
        set agc(a) {
            let b = this.agc;
            if (a != b) {
                this.agb = a;
                this.vf("YAxisAutoRangeBufferMode", enumGetBox(AxisRangeBufferMode_$type, b), enumGetBox(AxisRangeBufferMode_$type, this.agc));
            }
        }
        get ahi() {
            return this.ag7;
        }
        set ahi(a) {
            let b = this.ahi;
            if (a != b) {
                this.ag7 = a;
                this.vf("YAxisIsLogarithmic", b, this.ahi);
            }
        }
        get aiv() {
            return this.ais;
        }
        set aiv(a) {
            let b = this.aiv;
            if (a != b) {
                this.ais = a;
                this.vf("YAxisLogarithmBase", b, this.aiv);
            }
        }
        get aio() {
            return this.ahz;
        }
        set aio(a) {
            let b = this.aio;
            if (a != b) {
                this.ahz = a;
                this.vf("YAxisMinimumValue", b, this.aio);
            }
        }
        get ain() {
            return this.ahy;
        }
        set ain(a) {
            let b = this.ain;
            if (a != b) {
                this.ahy = a;
                this.vf("YAxisMaximumValue", b, this.ain);
            }
        }
        get aip() {
            return this.ah0;
        }
        set aip(a) {
            let b = this.aip;
            if (a != b) {
                this.ah0 = a;
                this.vf("YAxisMinorInterval", b, this.aip);
            }
        }
        get ah8() {
            return this.xAxis.my;
        }
        get ah7() {
            return this.xAxis.mx;
        }
        ah4() {
            return this.ah8;
        }
        ah6() {
            return this.ail;
        }
        ah3() {
            return this.ah7;
        }
        ah5() {
            return this.aik;
        }
        get ail() {
            return this.yAxis.ly;
        }
        get aik() {
            return this.yAxis.lx;
        }
        get af7() {
            return this.af5;
        }
        set af7(a) {
            let b = this.af7;
            if (a != b) {
                this.af5 = a;
                this.vf("NegativeBrushes", b, this.af7);
            }
        }
        get af8() {
            return this.af6;
        }
        set af8(a) {
            let b = this.af8;
            if (a != b) {
                this.af6 = a;
                this.vf("NegativeOutlines", b, this.af8);
            }
        }
        get ahf() {
            return this.ag4;
        }
        set ahf(a) {
            let b = this.ahf;
            if (a != b) {
                this.ag4 = a;
                this.vf("YAxisAbbreviateLargeNumbers", b, this.ahf);
            }
        }
        get aif() {
            return this.ahs;
        }
        set aif(a) {
            let b = this.aif;
            if (a != b) {
                this.ahs = a;
                this.vf("XAxisZoomMaximumCategoryRange", b, this.aif);
            }
        }
        get aig() {
            return this.aht;
        }
        set aig(a) {
            let b = this.aig;
            if (a != b) {
                this.aht = a;
                this.vf("XAxisZoomMaximumItemSpan", b, this.aig);
            }
        }
        get aih() {
            return this.ahu;
        }
        set aih(a) {
            let b = this.aih;
            if (a != b) {
                this.ahu = a;
                this.vf("XAxisZoomToCategoryRange", b, this.aih);
            }
        }
        get aii() {
            return this.ahv;
        }
        set aii(a) {
            let b = this.aii;
            if (a != b) {
                this.ahv = a;
                this.vf("XAxisZoomToCategoryStart", b, this.aii);
            }
        }
        get aij() {
            return this.ahw;
        }
        set aij(a) {
            let b = this.aij;
            if (a != b) {
                this.ahw = a;
                this.vf("XAxisZoomToItemSpan", b, this.aij);
            }
        }
        get ag8() {
            return this.agx;
        }
        set ag8(a) {
            let b = this.ag8;
            if (a != b) {
                this.agx = a;
                this.vf("IsCategoryHighlightingEnabled", b, this.ag8);
            }
        }
        get ag9() {
            return this.agy;
        }
        set ag9(a) {
            let b = this.ag9;
            if (a != b) {
                this.agy = a;
                this.vf("IsItemHighlightingEnabled", b, this.ag9);
            }
        }
        constructor() {
            super();
            this.aiq = 1000;
            this.air = 1000;
            this.agt = null;
            this.agu = null;
            this.agd = 9;
            this.agf = 1;
            this.agz = false;
            this.ag0 = true;
            this.agh = 0;
            this.agr = 0;
            this.ahn = 0;
            this.ahq = 0;
            this.ahm = 0;
            this.ahp = 0;
            this.aho = 1;
            this.ahr = 0;
            this.ahx = NaN;
            this.af9 = 1;
            this.ag1 = true;
            this.ag2 = true;
            this.ahk = DeviceUtils.g(2);
            this.ahl = DeviceUtils.g(60);
            this.ag6 = true;
            this.ag3 = true;
            this.ag5 = false;
            this.agb = 0;
            this.ag7 = false;
            this.ais = 10;
            this.ahz = NaN;
            this.ahy = NaN;
            this.ah0 = 0;
            this.af5 = null;
            this.af6 = null;
            this.ag4 = true;
            this.ahs = 3;
            this.aht = NaN;
            this.ahu = NaN;
            this.ahv = NaN;
            this.ahw = NaN;
            this.agx = false;
            this.agy = false;
            this.ahj = null;
            DVContainer.instance.registerIfLoaded("CategoryChartToolbarFactoryManager");
            this.t8();
        }
        get_hs() {
            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 hs() {
            return this.get_hs();
        }
        hy() {
            if (this.ahj == null) {
                this.ahj = CategoryChartMockDataGenerator.a();
            }
            return this.ahj;
        }
        cz(a) {
            if (a != null) {
                let b = super.cz(a);
                if (b == 2) {
                    if (a.fj && this.gv) {
                        return 13;
                    }
                }
            }
            return super.cz(a);
        }
        c1(a) {
            if (a != null) {
                let b = super.cz(a);
                if (b == 2) {
                    if (a.fj && this.gv) {
                        return 13;
                    }
                }
            }
            return super.c1(a);
        }
        get_hd() {
            return this.xAxis != null && this.xAxis.categoryMode != 0;
        }
        aj4(a, b) {
            switch (b.propertyName) {
                case "ActualMinimum":
                    this.vr("XAxisActualMinimum");
                    break;
                case "ActualMaximum":
                    this.vr("XAxisActualMaximum");
                    break;
            }
        }
        aj5(a, b) {
            switch (b.propertyName) {
                case "ActualMinimumValue":
                    this.vr("YAxisActualMinimum");
                    break;
                case "ActualMaximumValue":
                    this.vr("YAxisActualMaximum");
                    break;
            }
        }
        v4() {
            super.v4();
            this.xAxis.f1 = this.abq == null ? XYChart.ab2(this.xAxis, this.bj.dataSeries) : this.abq;
            this.xAxis.itemsSource = this.dataChart != null && this.dataChart.series.count > 0 ? this.dataChart.series._inner[0].itemsSource : null;
            if (this.ahc) {
                this.u6((a) => a.zd());
            }
        }
        get xAxis() {
            return this._xAxis;
        }
        set xAxis(a) {
            this._xAxis = a;
        }
        get yAxis() {
            return this._yAxis;
        }
        set yAxis(a) {
            this._yAxis = a;
        }
        agm(a, b) {
            switch (a) {
                case 2: return this.dc(1);
                case 3: return this.dc(10);
                case 0: return this.dc(0);
                case 1: return this.dc(2);
                case 6: return this.dc(6);
                case 7: return this.dc(7);
                case 4: return this.dc(4);
                case 5: return this.dc(5);
                case 8: return this.dc(8);
                case 9: return this.agl(b);
                default: return this.dc(1);
            }
        }
        agl(a) {
            return this.dc(a);
        }
        bi(a) {
            switch (this.age) {
                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;
            }
        }
        da(a, b) {
            let c = this.agm(this.age, a.suggestedSeries);
            c.aa3 = a.findMatchingHint(0).path;
            c.xAxis = this.xAxis;
            c.yAxis = this.yAxis;
            return c;
        }
        v2(a) {
            if (a.suggestedSecondaryAxis == 2) {
                this.yAxis.lj = true;
                this.yAxis.ma = 10;
            }
        }
        v5() {
            this.yAxis.lj = this.ahi;
            this.yAxis.ma = this.aiv;
        }
        get_hr() {
            return ((() => {
                let $ret = new List$1(IDataSeriesAdapterRule_$type, 0);
                $ret.add(new SimpleCategorySeriesRule());
                $ret.add(new SubCollectionsRule());
                return $ret;
            })());
        }
        get hr() {
            return this.get_hr();
        }
        tx(a, b) {
            let c = typeCast(HorizontalAnchoredCategorySeries.$, a);
            if (c != null) {
                c.aaf = this.agg;
                c.w1 = this.c0(a, b);
            }
        }
        aj2(a) {
            this.aj3((b, c) => a(b));
        }
        aj3(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);
            }
        }
        y8() {
            return this.xAxis;
        }
        y9() {
            return this.yAxis;
        }
        agp() {
            return this.dc(30);
        }
        agq() {
            return this.dc(31);
        }
        ho(a, b) {
            let c = super.ho(a, b);
            if (c != null) {
                let d = new List$1(Series.$, 0);
                if (this.agx) {
                    d.add(this.agp());
                }
                if (this.agy) {
                    d.add(this.agq());
                }
                for (let e = 0; e < d.count; e++) {
                    let f = d._inner[e];
                    f.name = a + getInstanceType(f).typeName;
                    c.add(f);
                }
            }
            return c;
        }
        bd() {
            if (this.bc == 0) {
                return 1;
            }
            else {
                return this.bc;
            }
        }
        wa(a, b, c) {
            super.wa(a, b, c);
            if (this.bj.dataSeries.count > 0) {
                if (stringIsNullOrEmpty(this.ne)) {
                    this.cc.setXMemberPath(a, c.getMemberPathFor(16));
                }
                if (stringIsNullOrEmpty(this.ng)) {
                    this.cc.setYMemberPath(a, c.getMemberPathFor(0));
                }
                if (stringIsNullOrEmpty(this.m6)) {
                    this.cc.setLabelMemberPath(a, c.getMemberPathFor(0));
                }
                if (stringIsNullOrEmpty(this.m3)) {
                    this.cc.setContentMemberPath(a, c.getMemberPathFor(0));
                }
            }
        }
        gy() {
            if (this.bf == 4 || this.bf == 3) {
                return true;
            }
            else if (this.bf == 0) {
                if (this.age == 2 || this.age == 8) {
                    return false;
                }
                else if (this.age == 9 && this.bj != null && this.bj.dataSeries != null && this.bj.dataSeries.count > 0) {
                    let a = this.bj.dataSeries._inner[0].suggestedSeries;
                    if (a == 1 || a == 8) {
                        return false;
                    }
                }
                return true;
            }
            return false;
        }
        get_g5() {
            return DVContainer.instance.checkLoaded("CategoryChartToolbarFactoryManager");
        }
        vf(a, b, c) {
            super.vf(a, b, c);
            switch (a) {
                case "ChartType":
                    this.t7();
                    break;
                case "MarkerCollisionAvoidance":
                    this.aj2((d) => d.aaf = this.agg);
                    break;
                case "IsTransitionInEnabled":
                    this.aj2((d) => d.zb = this.ahb);
                    break;
                case "IsSplineShapePartOfRange":
                    this.aj2((d) => {
                        if (d.fy) {
                            d.rx(this.aha);
                        }
                    });
                    break;
                case "TransitionInMode":
                    this.aj2((d) => d.yv = this.agi);
                    break;
                case "TransitionInSpeedType":
                    this.aj2((d) => d.c3 = this.ags);
                    break;
                case "XAxisInterval":
                    this.xAxis.mt = this.aia;
                    break;
                case "XAxisMinorInterval":
                    this.xAxis.mu = this.aid;
                    break;
                case "XAxisGap":
                    this.xAxis.k2 = this.ah9;
                    break;
                case "XAxisOverlap":
                    this.xAxis.lb = this.aie;
                    break;
                case "XAxisMinimumGapSize":
                    this.xAxis.la = this.aic;
                    break;
                case "XAxisMaximumGap":
                    this.xAxis.k9 = this.aib;
                    break;
                case "XAxisZoomMaximumCategoryRange":
                    this.xAxis.zoomMaximumCategoryRange = this.aif;
                    break;
                case "XAxisZoomMaximumItemSpan":
                    this.xAxis.zoomMaximumItemSpan = this.aig;
                    break;
                case "XAxisZoomToCategoryRange":
                    this.xAxis.zoomToCategoryRange = this.aih;
                    break;
                case "XAxisZoomToCategoryStart":
                    this.xAxis.zoomToCategoryStart = this.aii;
                    break;
                case "XAxisZoomToItemSpan":
                    this.xAxis.zoomToItemSpan = this.aij;
                    break;
                case "YAxisInterval":
                    this.yAxis.l2 = this.aim;
                    break;
                case "YAxisFavorLabellingScaleEnd":
                    this.yAxis.le = this.ahh;
                    break;
                case "YAxisAutoRangeBufferMode":
                    this.yAxis.kv = this.agc;
                    break;
                case "YAxisIsLogarithmic":
                    this.yAxis.lj = this.ahi;
                    break;
                case "YAxisLogarithmBase":
                    this.yAxis.ma = this.aiv;
                    break;
                case "YAxisMinimumValue":
                    this.yAxis.l6 = this.aio;
                    break;
                case "YAxisMaximumValue":
                    this.yAxis.l5 = this.ain;
                    break;
                case "YAxisMinorInterval":
                    this.yAxis.l7 = this.aip;
                    break;
                case "NegativeBrushes":
                case "NegativeOutlines":
                    this.aj3((d, e) => {
                        if (d.fk) {
                            d.rw(ArrayExtension.getModulus$1(Brush.$, this.af7, e), ArrayExtension.getModulus$1(Brush.$, this.af8, e));
                        }
                    });
                    break;
                case "YAxisAbbreviateLargeNumbers":
                    this.aeo((d) => d.lb = this.ahf);
                    break;
                case "IsCategoryHighlightingEnabled":
                case "IsItemHighlightingEnabled":
                    this.t7();
                    break;
                case "AutoMarginAndAngleUpdateMode":
                    this.u6((d) => d.v7 = this.aga);
                    break;
                case "ShouldAutoExpandMarginForInitialLabels":
                    this.u6((d) => d.w2 = this.ahc);
                    break;
                case CategoryChart.ai9:
                    this.u6((d) => d.w5 = this.ahd);
                    break;
                case "AutoExpandMarginExtraPadding":
                    this.u6((d) => d.xs = this.ah1);
                    break;
                case "AutoExpandMarginMaximumValue":
                    this.u6((d) => d.xt = this.ah2);
                    break;
                case CategoryChart.ajg:
                    this.aek((d) => d.b1 = this.ahe, a);
                    break;
                case CategoryChart.aju:
                    this.aeo((d) => d.b1 = this.ahg);
                    break;
            }
        }
    }
    CategoryChart.$t = /*@__PURE__*/ markType(CategoryChart, 'CategoryChart', XYChart.$);
    CategoryChart.ai9 = "ShouldConsiderAutoRotationForInitialLabels";
    CategoryChart.ajg = "XAxisEnhancedIntervalPreferMoreCategoryLabels";
    CategoryChart.aju = "YAxisEnhancedIntervalPreferMoreCategoryLabels";
    return CategoryChart;
})();
