UNPKG

igniteui-react-charts

Version:

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

125 lines (124 loc) 3.69 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 { Base, INotifyPropertyChanged_$type, PropertyChangedEventArgs, markType, EventArgs } from "igniteui-react-core"; /** * @hidden */ export let TimeAxisLabelFormat = /*@__PURE__*/ (() => { class TimeAxisLabelFormat extends Base { constructor() { super(...arguments); this.p = (0); this.c = null; this.f = null; this.e = null; this.labelFormatOverride = null; this.d = null; this.propertyChanged = null; } get q() { return this.p; } set q(a) { let b = this.q; if (a != b) { this.p = a; this.r("Range", b, this.q); } } get g() { return this.c; } set g(a) { let b = this.g; if (a != b) { this.c = a; this.r("Format", b, this.g); } } get n() { return this.f; } set n(a) { let b = this.n; if (a != b) { this.f = a; this.r("RepeatedYearFormat", b, this.n); } } get l() { return this.e; } set l(a) { let b = this.l; if (a != b) { this.e = a; this.r("RepeatedMonthFormat", b, this.l); } } b(a, b) { if (this.labelFormatOverride == null) { return null; } this.labelFormatOverride(a, b); return b.label; } get j() { return this.d; } set j(a) { let b = this.j; if (a != b) { this.d = a; this.r("RepeatedDayFormat", b, this.j); } } r(a, b, c) { this.s(a, b, c); if (this.propertyChanged != null) { this.propertyChanged(this, new PropertyChangedEventArgs(a)); } } s(a, b, c) { } } TimeAxisLabelFormat.$t = /*@__PURE__*/ markType(TimeAxisLabelFormat, 'TimeAxisLabelFormat', Base.$, [INotifyPropertyChanged_$type]); return TimeAxisLabelFormat; })(); /** * @hidden */ export let LabelFormatOverrideEventArgs = /*@__PURE__*/ (() => { class LabelFormatOverrideEventArgs extends EventArgs { constructor() { super(...arguments); this._dateTime = new Date(); this._format = null; this._label = null; } get dateTime() { return this._dateTime; } set dateTime(a) { this._dateTime = a; } get format() { return this._format; } set format(a) { this._format = a; } get label() { return this._label; } set label(a) { this._label = a; } } LabelFormatOverrideEventArgs.$t = /*@__PURE__*/ markType(LabelFormatOverrideEventArgs, 'LabelFormatOverrideEventArgs', EventArgs.$); return LabelFormatOverrideEventArgs; })();