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.aaz = true;
}
get_es() {
return true;
}
gh() {
return true;
}
acb() {
if (this.aaz == false) {
this.aaz = true;
this.r9(false);
}
}
rr(a, b, c, d) {
super.rr(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.acb();
break;
case DataAnnotationAxisLayer.$$p[27]:
case DataAnnotationAxisLayer.$$p[28]:
this.r9(true);
break;
}
}
aa5(a) {
return a != null && a.dy();
}
}
DataAnnotationAxisLayer.$t = /*@__PURE__*/ markType(DataAnnotationAxisLayer, 'DataAnnotationAxisLayer', AnnotationLayer.$);
DataAnnotationAxisLayer.$$p = /*@__PURE__*/ markDep(DependencyProperty, PropertyMetadata, DataAnnotationAxisLayer, 'raisePropertyChanged', ['AnnotationBackgroundMatchLayer:aa0:acc', [0, true], 'AnnotationBackgroundMode:aat:acd', [AnnotationAppearanceMode_$type, /*@__PURE__*/ enumGetBox(AnnotationAppearanceMode_$type, 0)], 'AnnotationBackground:ac5:ace', [Brush.$, null], 'AnnotationBackgroundShift:aa6:acf', [1, NaN], 'AnnotationBadgeBackground:ac6:acg', [Brush.$, null], 'AnnotationBadgeCornerRadius:aa7:ach', [1, 8], 'AnnotationBadgeEnabled:aa1:aci', [0, false], 'AnnotationBadgeImagePath:abo:acj', [2, null], 'AnnotationBadgeMargin:aa8:ack', [1, 5], 'AnnotationBadgeOutline:ac7:acl', [Brush.$, null], 'AnnotationBadgeOutlineThickness:aa9:acm', [1, 0], 'AnnotationBadgeSize:aba:acn', [1, 16], 'AnnotationBorderColor:ac8:aco', [Brush.$, null], 'AnnotationBorderMatchLayer:aa2:acp', [0, true], 'AnnotationBorderMode:aau:acq', [AnnotationAppearanceMode_$type, /*@__PURE__*/ enumGetBox(AnnotationAppearanceMode_$type, 0)], 'AnnotationBorderRadius:abb:acr', [1, /*@__PURE__*/ DeviceUtils.g(3)], 'AnnotationBorderShift:abc:acs', [1, NaN], 'AnnotationBorderThickness:abd:act', [1, NaN], 'AnnotationLabelDisplayMode:aax:acu', [DataAnnotationDisplayMode_$type, /*@__PURE__*/ enumGetBox(DataAnnotationDisplayMode_$type, 0)], 'AnnotationLabelVisible:aa3:acv', [0, true], 'AnnotationPadding:ada:acw', [Thickness.$, /*@__PURE__*/ new Thickness(1, NaN, NaN, NaN, NaN)], 'AnnotationTextColorMatchLayer:aa4:acx', [0, false], 'AnnotationTextColorMode:aav:acy', [AnnotationAppearanceMode_$type, /*@__PURE__*/ enumGetBox(AnnotationAppearanceMode_$type, 0)], 'AnnotationTextColor:ac9:acz', [Brush.$, null], 'AnnotationTextColorShift:abe:ac0', [1, NaN], 'AnnotationValueMaxPrecision:abf:ac1', [1, -1], 'AnnotationValueMinPrecision:abg:ac2', [1, -1], 'TargetAxis:aaw:ac3', [Axis.$, null], 'TargetMode:aay:ac4', [DataAnnotationTargetMode_$type, /*@__PURE__*/ enumGetBox(DataAnnotationTargetMode_$type, 0)]]);
return DataAnnotationAxisLayer;
})();