igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
75 lines (74 loc) • 5.11 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.aa0 = true;
}
get_es() {
return true;
}
gi() {
return true;
}
acc() {
if (this.aa0 == false) {
this.aa0 = true;
this.sa(false);
}
}
rs(a, b, c, d) {
super.rs(a, b, c, d);
switch (b) {
case DataAnnotationAxisLayer.$$p[20]:
case DataAnnotationAxisLayer.$$p[2]:
case DataAnnotationAxisLayer.$$p[1]:
case DataAnnotationAxisLayer.$$p[3]:
case DataAnnotationAxisLayer.$$p[0]:
case DataAnnotationAxisLayer.$$p[12]:
case DataAnnotationAxisLayer.$$p[14]:
case DataAnnotationAxisLayer.$$p[16]:
case DataAnnotationAxisLayer.$$p[13]:
case DataAnnotationAxisLayer.$$p[17]:
case DataAnnotationAxisLayer.$$p[15]:
case DataAnnotationAxisLayer.$$p[23]:
case DataAnnotationAxisLayer.$$p[22]:
case DataAnnotationAxisLayer.$$p[24]:
case DataAnnotationAxisLayer.$$p[21]:
case DataAnnotationAxisLayer.$$p[19]:
case DataAnnotationAxisLayer.$$p[18]:
this.acc();
break;
case DataAnnotationAxisLayer.$$p[27]:
case DataAnnotationAxisLayer.$$p[28]:
this.sa(true);
break;
}
}
aa6(a) {
return a != null && a.dy();
}
}
DataAnnotationAxisLayer.$t = /*@__PURE__*/ markType(DataAnnotationAxisLayer, 'DataAnnotationAxisLayer', AnnotationLayer.$);
DataAnnotationAxisLayer.$$p = /*@__PURE__*/ markDep(DependencyProperty, PropertyMetadata, DataAnnotationAxisLayer, 'raisePropertyChanged', ['AnnotationBackgroundMatchLayer:aa1:acd', [0, true], 'AnnotationBackgroundMode:aau:ace', [AnnotationAppearanceMode_$type, /*@__PURE__*/ enumGetBox(AnnotationAppearanceMode_$type, 0)], 'AnnotationBackground:ac6:acf', [Brush.$, null], 'AnnotationBackgroundShift:aa7:acg', [1, NaN], 'AnnotationBadgeBackground:ac7:ach', [Brush.$, null], 'AnnotationBadgeCornerRadius:aa8:aci', [1, 8], 'AnnotationBadgeEnabled:aa2:acj', [0, false], 'AnnotationBadgeImagePath:abp:ack', [2, null], 'AnnotationBadgeMargin:aa9:acl', [1, 5], 'AnnotationBadgeOutline:ac8:acm', [Brush.$, null], 'AnnotationBadgeOutlineThickness:aba:acn', [1, 0], 'AnnotationBadgeSize:abb:aco', [1, 16], 'AnnotationBorderColor:ac9:acp', [Brush.$, null], 'AnnotationBorderMatchLayer:aa3:acq', [0, true], 'AnnotationBorderMode:aav:acr', [AnnotationAppearanceMode_$type, /*@__PURE__*/ enumGetBox(AnnotationAppearanceMode_$type, 0)], 'AnnotationBorderRadius:abc:acs', [1, /*@__PURE__*/ DeviceUtils.g(3)], 'AnnotationBorderShift:abd:act', [1, NaN], 'AnnotationBorderThickness:abe:acu', [1, NaN], 'AnnotationLabelDisplayMode:aay:acv', [DataAnnotationDisplayMode_$type, /*@__PURE__*/ enumGetBox(DataAnnotationDisplayMode_$type, 0)], 'AnnotationLabelVisible:aa4:acw', [0, true], 'AnnotationPadding:adb:acx', [Thickness.$, /*@__PURE__*/ new Thickness(1, NaN, NaN, NaN, NaN)], 'AnnotationTextColorMatchLayer:aa5:acy', [0, false], 'AnnotationTextColorMode:aaw:acz', [AnnotationAppearanceMode_$type, /*@__PURE__*/ enumGetBox(AnnotationAppearanceMode_$type, 0)], 'AnnotationTextColor:ada:ac0', [Brush.$, null], 'AnnotationTextColorShift:abf:ac1', [1, NaN], 'AnnotationValueMaxPrecision:abg:ac2', [1, -1], 'AnnotationValueMinPrecision:abh:ac3', [1, -1], 'TargetAxis:aax:ac4', [Axis.$, null], 'TargetMode:aaz:ac5', [DataAnnotationTargetMode_$type, /*@__PURE__*/ enumGetBox(DataAnnotationTargetMode_$type, 0)]]);
return DataAnnotationAxisLayer;
})();