UNPKG

igniteui-react-charts

Version:

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

72 lines (71 loc) 4.67 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 { AnnotationLayer } from "./AnnotationLayer"; import { DataAnnotationDisplayMode_$type } from "./DataAnnotationDisplayMode"; import { DependencyProperty } from "igniteui-react-core"; import { Brush } from "igniteui-react-core"; import { AnnotationAppearanceMode_$type } from "./AnnotationAppearanceMode"; import { Thickness } from "igniteui-react-core"; import { Axis } from "./Axis"; import { DataAnnotationTargetMode_$type } from "./DataAnnotationTargetMode"; import { enumGetBox, markType, markDep } from "igniteui-react-core"; import { PropertyMetadata } from "igniteui-react-core"; import { DeviceUtils } from "igniteui-react-core"; /** * @hidden */ export let DataAnnotationAxisLayer = /*@__PURE__*/ (() => { class DataAnnotationAxisLayer extends AnnotationLayer { constructor() { super(...arguments); this.aam = true; } gb() { return true; } abk() { if (this.aam == false) { this.aam = true; this.rz(false); } } rh(a, b, c, d) { super.rh(a, b, c, d); switch (b) { case DataAnnotationAxisLayer.$$p[12]: case DataAnnotationAxisLayer.$$p[2]: case DataAnnotationAxisLayer.$$p[1]: case DataAnnotationAxisLayer.$$p[3]: case DataAnnotationAxisLayer.$$p[0]: case DataAnnotationAxisLayer.$$p[4]: case DataAnnotationAxisLayer.$$p[6]: case DataAnnotationAxisLayer.$$p[8]: case DataAnnotationAxisLayer.$$p[5]: case DataAnnotationAxisLayer.$$p[9]: case DataAnnotationAxisLayer.$$p[7]: case DataAnnotationAxisLayer.$$p[15]: case DataAnnotationAxisLayer.$$p[14]: case DataAnnotationAxisLayer.$$p[16]: case DataAnnotationAxisLayer.$$p[13]: case DataAnnotationAxisLayer.$$p[11]: case DataAnnotationAxisLayer.$$p[10]: this.abk(); break; case DataAnnotationAxisLayer.$$p[19]: case DataAnnotationAxisLayer.$$p[20]: this.rz(true); break; } } aar(a) { return a != null && a.dp(); } } DataAnnotationAxisLayer.$t = /*@__PURE__*/ markType(DataAnnotationAxisLayer, 'DataAnnotationAxisLayer', AnnotationLayer.$); DataAnnotationAxisLayer.$$p = /*@__PURE__*/ markDep(DependencyProperty, PropertyMetadata, DataAnnotationAxisLayer, 'raisePropertyChanged', ['AnnotationBackgroundMatchLayer:aan:abl', [0, true], 'AnnotationBackgroundMode:aag:abm', [AnnotationAppearanceMode_$type, /*@__PURE__*/ enumGetBox(AnnotationAppearanceMode_$type, 0)], 'AnnotationBackground:ab6:abn', [Brush.$, null], 'AnnotationBackgroundShift:aas:abo', [1, NaN], 'AnnotationBorderColor:ab7:abp', [Brush.$, null], 'AnnotationBorderMatchLayer:aao:abq', [0, true], 'AnnotationBorderMode:aah:abr', [AnnotationAppearanceMode_$type, /*@__PURE__*/ enumGetBox(AnnotationAppearanceMode_$type, 0)], 'AnnotationBorderRadius:aat:abs', [1, /*@__PURE__*/ DeviceUtils.g(3)], 'AnnotationBorderShift:aau:abt', [1, NaN], 'AnnotationBorderThickness:aav:abu', [1, NaN], 'AnnotationLabelDisplayMode:aak:abv', [DataAnnotationDisplayMode_$type, /*@__PURE__*/ enumGetBox(DataAnnotationDisplayMode_$type, 0)], 'AnnotationLabelVisible:aap:abw', [0, true], 'AnnotationPadding:ab9:abx', [Thickness.$, /*@__PURE__*/ new Thickness(1, NaN, NaN, NaN, NaN)], 'AnnotationTextColorMatchLayer:aaq:aby', [0, false], 'AnnotationTextColorMode:aai:abz', [AnnotationAppearanceMode_$type, /*@__PURE__*/ enumGetBox(AnnotationAppearanceMode_$type, 0)], 'AnnotationTextColor:ab8:ab0', [Brush.$, null], 'AnnotationTextColorShift:aaw:ab1', [1, NaN], 'AnnotationValueMaxPrecision:aax:ab2', [1, -1], 'AnnotationValueMinPrecision:aay:ab3', [1, -1], 'TargetAxis:aaj:ab4', [Axis.$, null], 'TargetMode:aal:ab5', [DataAnnotationTargetMode_$type, /*@__PURE__*/ enumGetBox(DataAnnotationTargetMode_$type, 0)]]); return DataAnnotationAxisLayer; })();