/*
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 { Base, markType, getInstanceType } from "igniteui-angular-core/ES2015/type";
import { IFinancialPriceSeriesProxy_$type } from "./IFinancialPriceSeriesProxy";
import { stringEndsWith } from "igniteui-angular-core/ES2015/string";
/**
 * @hidden
 */
export class FinancialPriceSeriesProxy extends Base {
    getCloseMemberPath(a) {
        return a.n4;
    }
    getHighMemberPath(a) {
        return a.n7;
    }
    getLowMemberPath(a) {
        return a.oc;
    }
    getOpenMemberPath(a) {
        return a.og;
    }
    getVolumeMemberPath(a) {
        return a.ok;
    }
    matchesType(a) {
        if (!a.cr) {
            return false;
        }
        if (stringEndsWith(getInstanceType(a).typeName, "Indicator") || stringEndsWith(getInstanceType(a).typeName, "Overlay")) {
            return false;
        }
        return true;
    }
    setCategoryMode(a, b) {
        a.l7 = b;
    }
    setCloseMemberPath(a, b) {
        a.n4 = b;
    }
    setDisplayType(a, b) {
        a.pc = b;
    }
    setHighMemberPath(a, b) {
        a.n7 = b;
    }
    setLowMemberPath(a, b) {
        a.oc = b;
    }
    setOpenMemberPath(a, b) {
        a.og = b;
    }
    setVolumeMemberPath(a, b) {
        a.ok = b;
    }
    setXAxis(a, b) {
        a.l0 = b;
    }
    setYAxis(a, b) {
        a.ml = b;
    }
}
FinancialPriceSeriesProxy.$t = markType(FinancialPriceSeriesProxy, 'FinancialPriceSeriesProxy', Base.$, [IFinancialPriceSeriesProxy_$type]);
//# sourceMappingURL=FinancialPriceSeriesProxy.js.map