UNPKG

igniteui-react-charts

Version:

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

28 lines (27 loc) 1.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 { NumericAxisRenderer } from "./NumericAxisRenderer"; import { markType } from "igniteui-react-core"; /** * @hidden */ export let PercentChangeAxisRenderer = /*@__PURE__*/ (() => { class PercentChangeAxisRenderer extends NumericAxisRenderer { constructor(a) { super(a); } w(a, b, c, d) { let e = super.w(a, b, c, d); if (a.t == null) { e = e.toString() + "%"; } return e; } } PercentChangeAxisRenderer.$t = /*@__PURE__*/ markType(PercentChangeAxisRenderer, 'PercentChangeAxisRenderer', NumericAxisRenderer.$); return PercentChangeAxisRenderer; })();