igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
74 lines (73 loc) • 4.76 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 { __extends } 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 !== null && _super.apply(this, arguments) || this;
_this.aam = true;
return _this;
}
DataAnnotationAxisLayer.prototype.gb = function () {
return true;
};
DataAnnotationAxisLayer.prototype.abk = function () {
if (this.aam == false) {
this.aam = true;
this.rz(false);
}
};
DataAnnotationAxisLayer.prototype.rh = function (a, b, c, d) {
_super.prototype.rh.call(this, a, b, c, d);
switch (b) {
case DataAnnotationAxisLayer.$$p[12]:
case DataAnnotationAxisLayer.$$p[2]:
case DataAnnotationAxisLayer.$$p[1]:
case DataAnnotationAxisLayer.$$p[3]:
case DataAnnotationAxisLayer.$$p[0]:
case DataAnnotationAxisLayer.$$p[4]:
case DataAnnotationAxisLayer.$$p[6]:
case DataAnnotationAxisLayer.$$p[8]:
case DataAnnotationAxisLayer.$$p[5]:
case DataAnnotationAxisLayer.$$p[9]:
case DataAnnotationAxisLayer.$$p[7]:
case DataAnnotationAxisLayer.$$p[15]:
case DataAnnotationAxisLayer.$$p[14]:
case DataAnnotationAxisLayer.$$p[16]:
case DataAnnotationAxisLayer.$$p[13]:
case DataAnnotationAxisLayer.$$p[11]:
case DataAnnotationAxisLayer.$$p[10]:
this.abk();
break;
case DataAnnotationAxisLayer.$$p[19]:
case DataAnnotationAxisLayer.$$p[20]:
this.rz(true);
break;
}
};
DataAnnotationAxisLayer.prototype.aar = function (a) {
return a != null && a.dp();
};
DataAnnotationAxisLayer.$t = markType(DataAnnotationAxisLayer, 'DataAnnotationAxisLayer', AnnotationLayer.$);
DataAnnotationAxisLayer.$$p = markDep(DependencyProperty, PropertyMetadata, DataAnnotationAxisLayer, 'raisePropertyChanged', ['AnnotationBackgroundMatchLayer:aan:abl', [0, true], 'AnnotationBackgroundMode:aag:abm', [AnnotationAppearanceMode_$type, enumGetBox(AnnotationAppearanceMode_$type, 0)], 'AnnotationBackground:ab6:abn', [Brush.$, null], 'AnnotationBackgroundShift:aas:abo', [1, NaN], 'AnnotationBorderColor:ab7:abp', [Brush.$, null], 'AnnotationBorderMatchLayer:aao:abq', [0, true], 'AnnotationBorderMode:aah:abr', [AnnotationAppearanceMode_$type, enumGetBox(AnnotationAppearanceMode_$type, 0)], 'AnnotationBorderRadius:aat:abs', [1, DeviceUtils.g(3)], 'AnnotationBorderShift:aau:abt', [1, NaN], 'AnnotationBorderThickness:aav:abu', [1, NaN], 'AnnotationLabelDisplayMode:aak:abv', [DataAnnotationDisplayMode_$type, enumGetBox(DataAnnotationDisplayMode_$type, 0)], 'AnnotationLabelVisible:aap:abw', [0, true], 'AnnotationPadding:ab9:abx', [Thickness.$, new Thickness(1, NaN, NaN, NaN, NaN)], 'AnnotationTextColorMatchLayer:aaq:aby', [0, false], 'AnnotationTextColorMode:aai:abz', [AnnotationAppearanceMode_$type, enumGetBox(AnnotationAppearanceMode_$type, 0)], 'AnnotationTextColor:ab8:ab0', [Brush.$, null], 'AnnotationTextColorShift:aaw:ab1', [1, NaN], 'AnnotationValueMaxPrecision:aax:ab2', [1, -1], 'AnnotationValueMinPrecision:aay:ab3', [1, -1], 'TargetAxis:aaj:ab4', [Axis.$, null], 'TargetMode:aal:ab5', [DataAnnotationTargetMode_$type, enumGetBox(DataAnnotationTargetMode_$type, 0)]]);
return DataAnnotationAxisLayer;
}(AnnotationLayer));
export { DataAnnotationAxisLayer };