UNPKG

igniteui-angular-charts

Version:

Ignite UI Angular charting components for building rich data visualizations for modern web apps.

60 lines (59 loc) 2.17 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 { DomainChartToolbarProvider } from "./DomainChartToolbarProvider"; import { markType } from "igniteui-angular-core"; /** * @hidden */ export let DataPieChartToolbarProvider = /*@__PURE__*/ (() => { class DataPieChartToolbarProvider extends DomainChartToolbarProvider { constructor() { super(...arguments); this.ak = null; } j(a, b) { let c = a; switch (b.name) { case "ShowGridlines": { let d = b; d.isChecked = c.ah5 != null; } break; } } af(a, b, c, d) { let e = a; switch (b) { case "AngleAxisMajorStroke": this.k("ShowGridlines", 2, a.ah5 != null); break; } } u(a, b) { let c = a; if (this.h(b, "ShowGridlines")) { if (c.ah5 == null) { if (this.ak != null) { c.ah5 = this.ak; } else { c.ah5 = c.dataChart.adt; } } } else { if (c.ah5 != null) { this.ak = c.ah5; c.ah5 = null; } } } } DataPieChartToolbarProvider.$t = markType(DataPieChartToolbarProvider, 'DataPieChartToolbarProvider', DomainChartToolbarProvider.$); return DataPieChartToolbarProvider; })();