UNPKG

igniteui-react-charts

Version:

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

77 lines (76 loc) 5.27 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 { __extends, __read, __spreadArray } from "tslib"; 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 */ var DataAnnotationAxisLayer = /** @class */ /*@__PURE__*/ (function (_super) { __extends(DataAnnotationAxisLayer, _super); function DataAnnotationAxisLayer() { var _this = _super.apply(this, __spreadArray([], __read(arguments), false)) || this; _this.aaz = true; return _this; } DataAnnotationAxisLayer.prototype.get_es = function () { return true; }; DataAnnotationAxisLayer.prototype.gh = function () { return true; }; DataAnnotationAxisLayer.prototype.acb = function () { if (this.aaz == false) { this.aaz = true; this.r9(false); } }; DataAnnotationAxisLayer.prototype.rr = function (a, b, c, d) { _super.prototype.rr.call(this, 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; } }; DataAnnotationAxisLayer.prototype.aa5 = function (a) { return a != null && a.dy(); }; DataAnnotationAxisLayer.$t = markType(DataAnnotationAxisLayer, 'DataAnnotationAxisLayer', AnnotationLayer.$); DataAnnotationAxisLayer.$$p = markDep(DependencyProperty, PropertyMetadata, DataAnnotationAxisLayer, 'raisePropertyChanged', ['AnnotationBackgroundMatchLayer:aa0:acc', [0, true], 'AnnotationBackgroundMode:aat:acd', [AnnotationAppearanceMode_$type, 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, enumGetBox(AnnotationAppearanceMode_$type, 0)], 'AnnotationBorderRadius:abb:acr', [1, DeviceUtils.g(3)], 'AnnotationBorderShift:abc:acs', [1, NaN], 'AnnotationBorderThickness:abd:act', [1, NaN], 'AnnotationLabelDisplayMode:aax:acu', [DataAnnotationDisplayMode_$type, enumGetBox(DataAnnotationDisplayMode_$type, 0)], 'AnnotationLabelVisible:aa3:acv', [0, true], 'AnnotationPadding:ada:acw', [Thickness.$, new Thickness(1, NaN, NaN, NaN, NaN)], 'AnnotationTextColorMatchLayer:aa4:acx', [0, false], 'AnnotationTextColorMode:aav:acy', [AnnotationAppearanceMode_$type, 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, enumGetBox(DataAnnotationTargetMode_$type, 0)]]); return DataAnnotationAxisLayer; }(AnnotationLayer)); export { DataAnnotationAxisLayer };