/*
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 { ShapeSeriesBase } from "./ShapeSeriesBase";
import { StyleSelector } from "./StyleSelector";
import { DependencyProperty } from "igniteui-react-core";
import { Style } from "igniteui-react-core";
import { markType, markDep, typeCast } from "igniteui-react-core";
import { ShapeSeriesViewBase } from "./ShapeSeriesViewBase";
import { PropertyMetadata } from "igniteui-react-core";
import { Path } from "igniteui-react-core";
import { stringIsNullOrEmpty } from "igniteui-react-core";
/**
 * @hidden
 */
export let ScatterPolylineSeries = /*@__PURE__*/ (() => {
    class ScatterPolylineSeries extends ShapeSeriesBase {
        constructor() {
            super();
            this.ab = ScatterPolylineSeries.$;
        }
        bf() {
            return new ScatterPolylineSeriesView(this);
        }
        i2(a) {
            super.i2(a);
            this.nm = a;
        }
        get_mp() {
            return false;
        }
        i7(a, b, c, d) {
            super.i7(a, b, c, d);
            switch (b) {
                case ScatterPolylineSeries.$$p[0]:
                    this.nm.cn(this.ns);
                    this.jl(false);
                    this.it();
                    break;
                case ScatterPolylineSeries.$$p[1]:
                    this.nm.co(this.nn);
                    this.jl(false);
                    this.it();
                    break;
            }
        }
        nb(a) {
            let b = a;
            b.cn(this.ns);
            b.co(this.nn);
            super.nb(a);
        }
        ar(a, b) {
            let c = this.nm.cs(a, b, true);
            if (c != null) {
                return c.dataContext;
            }
            return super.ar(a, b);
        }
    }
    ScatterPolylineSeries.$t = /*@__PURE__*/ markType(ScatterPolylineSeries, 'ScatterPolylineSeries', ShapeSeriesBase.$);
    ScatterPolylineSeries.$$p = /*@__PURE__*/ markDep(DependencyProperty, PropertyMetadata, ScatterPolylineSeries, 'raisePropertyChanged', ['ShapeStyle:ns:nq', [Style.$, null], 'ShapeStyleSelector:nn:nr', [StyleSelector.$, null]]);
    return ScatterPolylineSeries;
})();
/**
 * @hidden
 */
export let ScatterPolylineSeriesView = /*@__PURE__*/ (() => {
    class ScatterPolylineSeriesView extends ShapeSeriesViewBase {
        constructor(a) {
            super(a);
        }
        cu(a, b) {
            return this.cv(a, b, false);
        }
        cc(a, b) {
            super.cc(a, b);
            ShapeSeriesViewBase.cb(this, a, b);
        }
        ca(a, b) {
            let c = typeCast(Path.$, a);
            if (c == null) {
                return;
            }
            c.ak = b;
        }
        bb(a, b) {
            super.bb(a, b);
            let c = a;
            c._fill = null;
        }
        bc(a, b) {
            super.bc(a, b);
            let c = a;
            c._fill = null;
        }
        b2(a) {
            return a.width >= this.by.mz || a.height >= this.by.mz;
        }
        getDefaultTooltipTemplate() {
            let a = "<div class='ui-chart-default-tooltip-content'><span";
            let b = this.e.a0.a$q(this.e);
            if (!stringIsNullOrEmpty(b)) {
                a += " style='color:" + b + "'";
            }
            a += ">" + this.by.fx + "</span><br/>";
            a += "</div>";
            return a;
        }
    }
    ScatterPolylineSeriesView.$t = /*@__PURE__*/ markType(ScatterPolylineSeriesView, 'ScatterPolylineSeriesView', ShapeSeriesViewBase.$);
    return ScatterPolylineSeriesView;
})();
//# sourceMappingURL=ScatterPolylineSeries_combined.js.map
