UNPKG

igniteui-angular-charts

Version:

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

57 lines (56 loc) 1.82 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 class CategoryChartToolbarProvider extends DomainChartToolbarProvider { constructor() { super(...arguments); this.ak = null; } static { this.$t = markType(CategoryChartToolbarProvider, 'CategoryChartToolbarProvider', DomainChartToolbarProvider.$); } j(a, b) { let c = a; switch (b.name) { case "ShowGridlines": { let d = b; d.isChecked = c.ait != null; } break; } } af(a, b, c, d) { let e = a; switch (b) { case "XAxisMajorStroke": this.k("ShowGridlines", 2, a.ait != null); break; } } u(a, b) { let c = a; if (this.h(b, "ShowGridlines")) { if (c.ait == null) { if (this.ak != null) { c.ait = this.ak; } else { c.ait = c.dataChart.adx; } } } else { if (c.ait != null) { this.ak = c.ait; c.ait = null; } } } }