igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
75 lines (74 loc) • 5.07 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-angular-core";
import { Brush } from "igniteui-angular-core";
import { AnnotationAppearanceMode_$type } from "./AnnotationAppearanceMode";
import { Thickness } from "igniteui-angular-core";
import { Axis } from "./Axis";
import { DataAnnotationTargetMode_$type } from "./DataAnnotationTargetMode";
import { enumGetBox, markType, markDep } from "igniteui-angular-core";
import { PropertyMetadata } from "igniteui-angular-core";
import { DeviceUtils } from "igniteui-angular-core";
/**
* @hidden
*/
export let DataAnnotationAxisLayer = /*@__PURE__*/ (() => {
class DataAnnotationAxisLayer extends AnnotationLayer {
constructor() {
super(...arguments);
this.aay = true;
}
get_es() {
return true;
}
gg() {
return true;
}
aca() {
if (this.aay == false) {
this.aay = true;
this.r7(false);
}
}
rp(a, b, c, d) {
super.rp(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.aca();
break;
case DataAnnotationAxisLayer.$$p[27]:
case DataAnnotationAxisLayer.$$p[28]:
this.r7(true);
break;
}
}
aa4(a) {
return a != null && a.dx();
}
}
DataAnnotationAxisLayer.$t = markType(DataAnnotationAxisLayer, 'DataAnnotationAxisLayer', AnnotationLayer.$);
DataAnnotationAxisLayer.$$p = markDep(DependencyProperty, PropertyMetadata, DataAnnotationAxisLayer, 'raisePropertyChanged', ['AnnotationBackgroundMatchLayer:aaz:acb', [0, true], 'AnnotationBackgroundMode:aas:acc', [AnnotationAppearanceMode_$type, enumGetBox(AnnotationAppearanceMode_$type, 0)], 'AnnotationBackground:ac4:acd', [Brush.$, null], 'AnnotationBackgroundShift:aa5:ace', [1, NaN], 'AnnotationBadgeBackground:ac5:acf', [Brush.$, null], 'AnnotationBadgeCornerRadius:aa6:acg', [1, 8], 'AnnotationBadgeEnabled:aa0:ach', [0, false], 'AnnotationBadgeImagePath:abn:aci', [2, null], 'AnnotationBadgeMargin:aa7:acj', [1, 5], 'AnnotationBadgeOutline:ac6:ack', [Brush.$, null], 'AnnotationBadgeOutlineThickness:aa8:acl', [1, 0], 'AnnotationBadgeSize:aa9:acm', [1, 16], 'AnnotationBorderColor:ac7:acn', [Brush.$, null], 'AnnotationBorderMatchLayer:aa1:aco', [0, true], 'AnnotationBorderMode:aat:acp', [AnnotationAppearanceMode_$type, enumGetBox(AnnotationAppearanceMode_$type, 0)], 'AnnotationBorderRadius:aba:acq', [1, DeviceUtils.g(3)], 'AnnotationBorderShift:abb:acr', [1, NaN], 'AnnotationBorderThickness:abc:acs', [1, NaN], 'AnnotationLabelDisplayMode:aaw:act', [DataAnnotationDisplayMode_$type, enumGetBox(DataAnnotationDisplayMode_$type, 0)], 'AnnotationLabelVisible:aa2:acu', [0, true], 'AnnotationPadding:ac9:acv', [Thickness.$, new Thickness(1, NaN, NaN, NaN, NaN)], 'AnnotationTextColorMatchLayer:aa3:acw', [0, false], 'AnnotationTextColorMode:aau:acx', [AnnotationAppearanceMode_$type, enumGetBox(AnnotationAppearanceMode_$type, 0)], 'AnnotationTextColor:ac8:acy', [Brush.$, null], 'AnnotationTextColorShift:abd:acz', [1, NaN], 'AnnotationValueMaxPrecision:abe:ac0', [1, -1], 'AnnotationValueMinPrecision:abf:ac1', [1, -1], 'TargetAxis:aav:ac2', [Axis.$, null], 'TargetMode:aax:ac3', [DataAnnotationTargetMode_$type, enumGetBox(DataAnnotationTargetMode_$type, 0)]]);
return DataAnnotationAxisLayer;
})();