UNPKG

igniteui-react-charts

Version:

Ignite UI React charting components for building rich data visualizations using TypeScript APIs.

62 lines (61 loc) 2.28 kB
/* 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 { DomainChartToolbarProvider } from "./DomainChartToolbarProvider"; import { markType } from "igniteui-react-core"; /** * @hidden */ var DataPieChartToolbarProvider = /** @class */ /*@__PURE__*/ (function (_super) { __extends(DataPieChartToolbarProvider, _super); function DataPieChartToolbarProvider() { var _this = _super !== null && _super.apply(this, arguments) || this; _this.ah = null; return _this; } DataPieChartToolbarProvider.prototype.j = function (a, b) { var c = a; switch (b.name) { case "ShowGridlines": { var d = b; d.isChecked = c.ahg != null; } break; } }; DataPieChartToolbarProvider.prototype.ac = function (a, b, c, d) { var e = a; switch (b) { case "AngleAxisMajorStroke": this.k("ShowGridlines", 2, a.ahg != null); break; } }; DataPieChartToolbarProvider.prototype.s = function (a, b) { var c = a; if (this.h(b, "ShowGridlines")) { if (c.ahg == null) { if (this.ah != null) { c.ahg = this.ah; } else { c.ahg = c.dataChart.abh; } } } else { if (c.ahg != null) { this.ah = c.ahg; c.ahg = null; } } }; DataPieChartToolbarProvider.$t = markType(DataPieChartToolbarProvider, 'DataPieChartToolbarProvider', DomainChartToolbarProvider.$); return DataPieChartToolbarProvider; }(DomainChartToolbarProvider)); export { DataPieChartToolbarProvider };