igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
42 lines (41 loc) • 1.97 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 { __extends } from "tslib";
import { FinancialChartDropDownControlViewModel } from "./FinancialChartDropDownControlViewModel";
import { FinancialChartType_$type } from "./FinancialChartType";
import { EnumUtil, markType } from "igniteui-react-core";
/**
* @hidden
*/
var FinancialChartTypePickerViewModel = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(FinancialChartTypePickerViewModel, _super);
function FinancialChartTypePickerViewModel() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this._chartType = 0;
return _this;
}
Object.defineProperty(FinancialChartTypePickerViewModel.prototype, "chartType", {
get: function () {
return this._chartType;
},
set: function (a) {
this._chartType = a;
},
enumerable: false,
configurable: true
});
Object.defineProperty(FinancialChartTypePickerViewModel.prototype, "chartTypeString", {
get: function () {
return EnumUtil.getName(FinancialChartType_$type, this.chartType);
},
enumerable: false,
configurable: true
});
FinancialChartTypePickerViewModel.$t = markType(FinancialChartTypePickerViewModel, 'FinancialChartTypePickerViewModel', FinancialChartDropDownControlViewModel.$);
return FinancialChartTypePickerViewModel;
}(FinancialChartDropDownControlViewModel));
export { FinancialChartTypePickerViewModel };