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.aay = true; return _this; } DataAnnotationAxisLayer.prototype.get_es = function () { return true; }; DataAnnotationAxisLayer.prototype.gg = function () { return true; }; DataAnnotationAxisLayer.prototype.aca = function () { if (this.aay == false) { this.aay = true; this.r8(false); } }; DataAnnotationAxisLayer.prototype.rq = function (a, b, c, d) { _super.prototype.rq.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.aca(); break; case DataAnnotationAxisLayer.$$p[27]: case DataAnnotationAxisLayer.$$p[28]: this.r8(true); break; } }; DataAnnotationAxisLayer.prototype.aa4 = function (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; }(AnnotationLayer)); export { DataAnnotationAxisLayer };