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.aa0 = true; return _this; } DataAnnotationAxisLayer.prototype.get_es = function () { return true; }; DataAnnotationAxisLayer.prototype.gi = function () { return true; }; DataAnnotationAxisLayer.prototype.acc = function () { if (this.aa0 == false) { this.aa0 = true; this.sa(false); } }; DataAnnotationAxisLayer.prototype.rs = function (a, b, c, d) { _super.prototype.rs.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.acc(); break; case DataAnnotationAxisLayer.$$p[27]: case DataAnnotationAxisLayer.$$p[28]: this.sa(true); break; } }; DataAnnotationAxisLayer.prototype.aa6 = function (a) { return a != null && a.dy(); }; DataAnnotationAxisLayer.$t = markType(DataAnnotationAxisLayer, 'DataAnnotationAxisLayer', AnnotationLayer.$); DataAnnotationAxisLayer.$$p = markDep(DependencyProperty, PropertyMetadata, DataAnnotationAxisLayer, 'raisePropertyChanged', ['AnnotationBackgroundMatchLayer:aa1:acd', [0, true], 'AnnotationBackgroundMode:aau:ace', [AnnotationAppearanceMode_$type, 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, enumGetBox(AnnotationAppearanceMode_$type, 0)], 'AnnotationBorderRadius:abc:acs', [1, DeviceUtils.g(3)], 'AnnotationBorderShift:abd:act', [1, NaN], 'AnnotationBorderThickness:abe:acu', [1, NaN], 'AnnotationLabelDisplayMode:aay:acv', [DataAnnotationDisplayMode_$type, enumGetBox(DataAnnotationDisplayMode_$type, 0)], 'AnnotationLabelVisible:aa4:acw', [0, true], 'AnnotationPadding:adb:acx', [Thickness.$, new Thickness(1, NaN, NaN, NaN, NaN)], 'AnnotationTextColorMatchLayer:aa5:acy', [0, false], 'AnnotationTextColorMode:aaw:acz', [AnnotationAppearanceMode_$type, 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, enumGetBox(DataAnnotationTargetMode_$type, 0)]]); return DataAnnotationAxisLayer; }(AnnotationLayer)); export { DataAnnotationAxisLayer };