igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
80 lines (79 loc) • 2.34 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 { Base, markType } from "igniteui-react-core";
import { IFinancialPriceSeriesProxy_$type } from "./IFinancialPriceSeriesProxy";
/**
* @hidden
*/
export let FinancialPriceSeriesProxy = /*@__PURE__*/ (() => {
class FinancialPriceSeriesProxy extends Base {
getCloseMemberPath(a) {
return a.zv;
}
getHighMemberPath(a) {
return a.z8;
}
getLowMemberPath(a) {
return a.aad;
}
getOpenMemberPath(a) {
return a.aah;
}
getVolumeMemberPath(a) {
return a.aal;
}
matchesType(a) {
if (!a.fa) {
return false;
}
if (a.fb || a.fc) {
return false;
}
return true;
}
setCategoryMode(a, b) {
a.xz = b;
}
setCloseMemberPath(a, b) {
a.zv = b;
}
setDisplayType(a, b) {
a.abo = b;
}
setHighMemberPath(a, b) {
a.z8 = b;
}
setLowMemberPath(a, b) {
a.aad = b;
}
setOpenMemberPath(a, b) {
a.aah = b;
}
setVolumeMemberPath(a, b) {
a.aal = b;
}
setXAxis(a, b) {
a.xr = b;
}
setYAxis(a, b) {
a.ya = b;
}
setTrendLineType(a, b) {
if (a.fd) {
a.trendLineType = b;
}
}
getTrendLineType(a) {
if (a.fd) {
return a.trendLineType;
}
return 0;
}
}
FinancialPriceSeriesProxy.$t = /*@__PURE__*/ markType(FinancialPriceSeriesProxy, 'FinancialPriceSeriesProxy', Base.$, [IFinancialPriceSeriesProxy_$type]);
return FinancialPriceSeriesProxy;
})();