igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
72 lines (71 loc) • 4.67 kB
JavaScript
/*
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.aag = true;
}
gb() {
return true;
}
abe() {
if (this.aag == false) {
this.aag = true;
this.ru(false);
}
}
rc(a, b, c, d) {
super.rc(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.abe();
break;
case DataAnnotationAxisLayer.$$p[19]:
case DataAnnotationAxisLayer.$$p[20]:
this.ru(true);
break;
}
}
aal(a) {
return a != null && a.co();
}
}
DataAnnotationAxisLayer.$t = /*@__PURE__*/ markType(DataAnnotationAxisLayer, 'DataAnnotationAxisLayer', AnnotationLayer.$);
DataAnnotationAxisLayer.$$p = /*@__PURE__*/ markDep(DependencyProperty, PropertyMetadata, DataAnnotationAxisLayer, 'raisePropertyChanged', ['AnnotationBackgroundMatchLayer:aah:abf', [0, true], 'AnnotationBackgroundMode:aaa:abg', [AnnotationAppearanceMode_$type, /*@__PURE__*/ enumGetBox(AnnotationAppearanceMode_$type, 0)], 'AnnotationBackground:ab0:abh', [Brush.$, null], 'AnnotationBackgroundShift:aam:abi', [1, NaN], 'AnnotationBorderColor:ab1:abj', [Brush.$, null], 'AnnotationBorderMatchLayer:aai:abk', [0, true], 'AnnotationBorderMode:aab:abl', [AnnotationAppearanceMode_$type, /*@__PURE__*/ enumGetBox(AnnotationAppearanceMode_$type, 0)], 'AnnotationBorderRadius:aan:abm', [1, /*@__PURE__*/ DeviceUtils.g(3)], 'AnnotationBorderShift:aao:abn', [1, NaN], 'AnnotationBorderThickness:aap:abo', [1, NaN], 'AnnotationLabelDisplayMode:aae:abp', [DataAnnotationDisplayMode_$type, /*@__PURE__*/ enumGetBox(DataAnnotationDisplayMode_$type, 0)], 'AnnotationLabelVisible:aaj:abq', [0, true], 'AnnotationPadding:ab3:abr', [Thickness.$, /*@__PURE__*/ new Thickness(1, NaN, NaN, NaN, NaN)], 'AnnotationTextColorMatchLayer:aak:abs', [0, false], 'AnnotationTextColorMode:aac:abt', [AnnotationAppearanceMode_$type, /*@__PURE__*/ enumGetBox(AnnotationAppearanceMode_$type, 0)], 'AnnotationTextColor:ab2:abu', [Brush.$, null], 'AnnotationTextColorShift:aaq:abv', [1, NaN], 'AnnotationValueMaxPrecision:aar:abw', [1, -1], 'AnnotationValueMinPrecision:aas:abx', [1, -1], 'TargetAxis:aad:aby', [Axis.$, null], 'TargetMode:aaf:abz', [DataAnnotationTargetMode_$type, /*@__PURE__*/ enumGetBox(DataAnnotationTargetMode_$type, 0)]]);
return DataAnnotationAxisLayer;
})();