igniteui-angular-gauges
Version:
Ignite UI Angular gauge components.
1,610 lines • 62 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 { EventEmitter, Output, Component, ViewChild, ContentChildren, Input, ChangeDetectionStrategy, ViewContainerRef } from '@angular/core';
import { AngularRenderer, AngularWrapper } from "igniteui-angular-core";
import { TypeRegistrar } from "igniteui-angular-core";
import { XamBulletGraph } from './XamBulletGraph';
import { CollectionAdapter, brushToString, stringToBrush, toPoint, fromBrushCollection, toBrushCollection, ensureBool, ensureEnum, toSpinal, initializePropertiesFromCss, NamePatcher, arrayFindByName } from "igniteui-angular-core";
import { IgxDataContext } from "igniteui-angular-core";
import { delegateCombine } from "igniteui-angular-core";
import { NotifyCollectionChangedAction } from "igniteui-angular-core";
import { BulletGraphStylingDefaults } from './BulletGraphStylingDefaults';
import { LinearScaleOrientation_$type } from './LinearScaleOrientation';
import { IgxFormatLinearGraphLabelEventArgs } from './igx-format-linear-graph-label-event-args';
import { IgxAlignLinearGraphLabelEventArgs } from './igx-align-linear-graph-label-event-args';
import { IgxLinearGraphRangeComponent } from './igx-linear-graph-range-component';
import { IgxLinearGraphRangeCollection } from './igx-linear-graph-range-collection';
import { HighlightedValueDisplayMode_$type } from "igniteui-angular-core";
import * as i0 from "@angular/core";
/**
* Represents a bullet graph.
*/
var IgxBulletGraphComponent = /** @class */ /*@__PURE__*/ (function () {
function IgxBulletGraphComponent(_renderer, _elRef, _ngZone, _componentFactoryResolver, _injector) {
//super();
var _this = this;
this._renderer = _renderer;
this._elRef = _elRef;
this._ngZone = _ngZone;
this._componentFactoryResolver = _componentFactoryResolver;
this._injector = _injector;
/**
* The ranges actually present in the chart. Do not directly modify this array.
* This array's contents can be modified by causing Angular to reproject the child content.
* Or adding and removing ranges from the manual ranges collection on the ranges property.
*/
this.actualRanges = [];
this._ranges = null;
this._rangesAdapter = null;
this._tooltipTemplate = null;
this._tooltipContent = null;
this._defaultTooltips = null;
this._zoneRunner = null;
this.__p = null;
this._hasUserValues = new Set();
this._stylingContainer = null;
this._stylingParent = null;
this._inStyling = false;
this._formatLabel = null;
this._alignLabel = null;
this._actualMinimumValueChange = null;
this._actualMaximumValueChange = null;
if (this._styling) {
NamePatcher.ensureStylablePatched(Object.getPrototypeOf(this));
}
this._zoneRunner = function (act) { return _this._ngZone.run(act); };
this._implementation = this.createImplementation();
this._container = _renderer.createElement("div");
_renderer.appendChild(_elRef.element.nativeElement, this._container);
_renderer.setStyle(this._container, "display", "block");
_renderer.setStyle(this._container, "width", "100%");
_renderer.setStyle(this._container, "height", "100%");
var root;
root = this._container;
if (this._container.nativeElement != null) {
root = this._container.nativeElement;
}
this._root = root;
var ren = new AngularRenderer(root, this._renderer, window.document, this._ngZone, true, BulletGraphStylingDefaults);
this._wrapper = ren;
var gauge = this.i;
this._rangesAdapter = new CollectionAdapter([], this.i.ranges, this.actualRanges, function (c) { return c.i; }, function (i) {
i._provideRenderer(_this._wrapper);
if (_this._root && _this._root.parentElement) {
i._styling(_this._root, _this, _this);
}
}, function (i) { i._provideRenderer(null); });
this._gauge = gauge;
gauge.provideContainer(ren);
ren.addSizeWatcher(function () {
_this._gauge.containerResized();
});
}
Object.defineProperty(IgxBulletGraphComponent.prototype, "height", {
get: function () {
return this._height;
},
set: function (value) {
this._height = value;
this._renderer.setStyle(this._elRef.element.nativeElement, "height", value);
this._gauge.containerResized();
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "width", {
get: function () {
return this._width;
},
set: function (value) {
this._width = value;
this._renderer.setStyle(this._elRef.element.nativeElement, "width", value);
this._gauge.containerResized();
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "ranges", {
/**
* A collection or manually added axes for the chart.
*/
get: function () {
var _this = this;
if (this._ranges === null) {
var coll = new IgxLinearGraphRangeCollection();
var inner = coll._innerColl;
inner.addListener(function (sender, e) {
switch (e.action) {
case NotifyCollectionChangedAction.Add:
_this._rangesAdapter.insertManualItem(e.newStartingIndex, e.newItems.item(0));
break;
case NotifyCollectionChangedAction.Remove:
_this._rangesAdapter.removeManualItemAt(e.oldStartingIndex);
break;
case NotifyCollectionChangedAction.Replace:
_this._rangesAdapter.removeManualItemAt(e.oldStartingIndex);
_this._rangesAdapter.insertManualItem(e.newStartingIndex, e.newItems.item(0));
break;
case NotifyCollectionChangedAction.Reset:
_this._rangesAdapter.clearManualItems();
break;
}
});
this._ranges = coll;
}
return this._ranges;
},
enumerable: false,
configurable: true
});
IgxBulletGraphComponent.prototype.ngOnDestroy = function () {
this._wrapper.rootWrapper.unlistenAll();
this._gauge.destroy();
this._wrapper.destroy();
};
IgxBulletGraphComponent.prototype.createImplementation = function () {
return new XamBulletGraph();
};
IgxBulletGraphComponent.prototype.ngAfterContentInit = function () {
var _this = this;
if (TypeRegistrar.isRegistered("IgxSimpleDefaultTooltipComponent")) {
var c = TypeRegistrar.get("IgxSimpleDefaultTooltipComponent");
var cf = this._componentFactoryResolver.resolveComponentFactory(c);
var cr_1 = this._dynamicContent.createComponent(cf);
this._defaultTooltips = cr_1;
cr_1.instance.onContentReady.subscribe(function () {
_this._onDefaultTooltipsReady(cr_1);
});
this._ensureTooltipCreated();
}
this._rangesAdapter.updateQuery(this.contentRanges);
};
IgxBulletGraphComponent.prototype.ngAfterViewInit = function () {
this.updateStyle();
this.i.containerResized();
};
IgxBulletGraphComponent.prototype.updateStyle = function () {
this._styling(this._root, this);
if (this.actualRanges && this.actualRanges.length > 0) {
var currRange = this.actualRanges;
for (var i = 0; i < currRange.length; i++) {
currRange[i]._styling(this._root, this, this);
}
}
};
Object.defineProperty(IgxBulletGraphComponent.prototype, "tooltipTemplate", {
get: function () {
return this._tooltipTemplate;
},
set: function (value) {
this._tooltipTemplate = value;
if (value == null) {
if (this._tooltipContent !== null) {
this._tooltipContent.destroy();
this._tooltipContent = null;
}
}
if (this._tooltipContent != null) {
this._tooltipContent.instance.template = this._tooltipTemplate;
}
else {
this._ensureTooltipCreated();
}
},
enumerable: false,
configurable: true
});
IgxBulletGraphComponent.prototype._ensureTooltipCreated = function () {
if (this.i.toolTip == null) {
var tooltip = this.createTooltip();
if (tooltip == null) {
return;
}
this._tooltipContent = tooltip;
tooltip.instance.template = this._tooltipTemplate;
this.i.toolTip = this.createWrapper(tooltip.location.nativeElement);
}
};
IgxBulletGraphComponent.prototype.createWrapper = function (ele) {
var wrapper = new AngularWrapper(ele, this._renderer, this._ngZone);
wrapper.updateToolTip = ele.updateToolTip;
wrapper.hideToolTip = ele.hideToolTip;
return wrapper;
};
IgxBulletGraphComponent.prototype._ensureDefaultTooltip = function () {
if (this._defaultTooltips == null) {
return;
}
this._defaultTooltips.instance["ensureDefaultTooltip"](this);
};
IgxBulletGraphComponent.prototype._onDefaultTooltipsReady = function (cr) {
this._ensureDefaultTooltip();
};
IgxBulletGraphComponent.prototype.createTooltip = function () {
if (!TypeRegistrar.isRegistered("IgxTooltipContainerComponent")) {
return null;
}
var t = TypeRegistrar.get("IgxTooltipContainerComponent");
var cf = this._componentFactoryResolver.resolveComponentFactory(t);
var cr = this._dynamicContent.createComponent(cf);
var ele = cr.location.nativeElement;
var self = this;
ele.updateToolTip = function (c) {
if (c.externalObject) {
c = c.externalObject;
}
else {
var ext = new IgxDataContext();
ext._implementation = c;
c = ext;
}
if (ele.parentElement != self._container) {
if (ele.parentElement != null) {
ele.parentElement.removeChild(ele);
}
self._container.appendChild(ele);
}
cr.instance.context = c;
ele.style.display = "block";
return true;
};
ele.hideToolTip = function () {
ele.style.display = "none";
};
ele.style.display = "none";
return cr;
};
IgxBulletGraphComponent.prototype._runInZone = function (act) {
if (this._zoneRunner != null) {
this._zoneRunner(act);
}
else {
act();
}
};
Object.defineProperty(IgxBulletGraphComponent.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
} /**
* @hidden
*/,
enumerable: false,
configurable: true
});
IgxBulletGraphComponent._createFromInternal = function (internal) {
if (!internal) {
return null;
}
if (!internal.$type) {
return null;
}
var name = internal.$type.name;
var externalName = "Igx" + name + "Component";
if (!TypeRegistrar.isRegistered(externalName)) {
return null;
}
return TypeRegistrar.create(externalName);
};
Object.defineProperty(IgxBulletGraphComponent.prototype, "animating", {
/**
* Gets a value indicating whether the bullet graph is currently animating.
*/
get: function () {
return this.i.a7;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "transitionProgress", {
/**
* Gets the transition progress of the animation when the control is animating.
*/
get: function () {
return this.i.c0;
},
set: function (v) {
this.i.c0 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "orientation", {
/**
* Gets or sets the orientation of the scale.
*/
get: function () {
return this.i.as;
},
set: function (v) {
this.i.as = ensureEnum(LinearScaleOrientation_$type, v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "scaleBackgroundBrush", {
/**
* Gets or sets the background brush for the scale.
*/
get: function () {
return brushToString(this.i.h5);
},
set: function (v) {
this.i.h5 = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "scaleBackgroundOutline", {
/**
* Gets or sets the background outline for the scale.
*/
get: function () {
return brushToString(this.i.h6);
},
set: function (v) {
this.i.h6 = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "scaleBackgroundThickness", {
/**
* Gets or sets the background outline thickness for the scale.
*/
get: function () {
return this.i.ci;
},
set: function (v) {
this.i.ci = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "rangeBrushes", {
/**
* Gets or sets a collection of brushes to be used as the palette for bullet graph ranges.
*/
get: function () {
return fromBrushCollection(this.i.ah);
},
set: function (v) {
this.i.ah = toBrushCollection(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "rangeOutlines", {
/**
* Gets or sets a collection of brushes to be used as the palette for bullet graph outlines.
*/
get: function () {
return fromBrushCollection(this.i.ai);
},
set: function (v) {
this.i.ai = toBrushCollection(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "minimumValue", {
/**
* Gets or sets the minimum value of the scale.
*/
get: function () {
return this.i.b8;
},
set: function (v) {
this.i.b8 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "actualMinimumValue", {
/**
* Gets the resolved minimum value of the scale.
*/
get: function () {
return this.i.bt;
},
set: function (v) {
this.i.bt = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "maximumValue", {
/**
* Gets or sets the maximum value of the scale.
*/
get: function () {
return this.i.b7;
},
set: function (v) {
this.i.b7 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "actualMaximumValue", {
/**
* Gets the resolved maximum value of the scale.
*/
get: function () {
return this.i.bs;
},
set: function (v) {
this.i.bs = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "targetValue", {
/**
* Gets or sets the value indicated by the target value bar.
*/
get: function () {
return this.i.co;
},
set: function (v) {
this.i.co = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "targetValueName", {
/**
* Gets or sets the name used for the target value. The name is displayed in the default target value tooltip.
*/
get: function () {
return this.i.en;
},
set: function (v) {
this.i.en = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "value", {
/**
* Gets or sets the value at which the bar ends.
*/
get: function () {
return this.i.c1;
},
set: function (v) {
this.i.c1 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "valueName", {
/**
* Gets or sets the name used for actual value.
*/
get: function () {
return this.i.e4;
},
set: function (v) {
this.i.e4 = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "highlightValue", {
/**
* Gets or sets the highlight value at which to point the secondary needle of the gauge.
*/
get: function () {
return this.i.b0;
},
set: function (v) {
this.i.b0 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "actualHighlightValueOpacity", {
/**
* Gets the actual opacity of the primary needle while highlighting
*/
get: function () {
return this.i.br;
},
set: function (v) {
this.i.br = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "highlightValueOpacity", {
/**
* Gets or sets the opacity of the primary needle while highlighting
*/
get: function () {
return this.i.b1;
},
set: function (v) {
this.i.b1 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "actualHighlightValueDisplayMode", {
/**
* Gets whether and how to display the highlighted value.
*/
get: function () {
return this.i.az;
},
set: function (v) {
this.i.az = ensureEnum(HighlightedValueDisplayMode_$type, v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "highlightValueDisplayMode", {
/**
* Gets or sets whether and how to display the highlighted value.
*/
get: function () {
return this.i.a0;
},
set: function (v) {
this.i.a0 = ensureEnum(HighlightedValueDisplayMode_$type, v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "rangeInnerExtent", {
/**
* Gets or sets the position at which to start rendering the ranges, measured from the front/bottom of the control as a value from 0 to 1.
* Values further from zero than 1 can be used to make this extend further than the normal size of the bullet graph.
*/
get: function () {
return this.i.cg;
},
set: function (v) {
this.i.cg = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "rangeOuterExtent", {
/**
* Gets or sets the position at which to stop rendering the range as a value from 0 to 1 measured from the front/bottom of the bullet graph.
* Values further from zero than 1 can be used to make this extend further than the normal size of the bullet graph.
*/
get: function () {
return this.i.ch;
},
set: function (v) {
this.i.ch = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "valueInnerExtent", {
/**
* Gets or sets the position at which to start rendering the actual value geometries, measured from the front/bottom of the bullet graph as a value from 0 to 1.
* Values further from zero than 1 can be used to make this extend further than the normal size of the bullet graph.
*/
get: function () {
return this.i.c2;
},
set: function (v) {
this.i.c2 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "valueOuterExtent", {
/**
* Gets or sets the position at which to stop rendering the actual value geometries as a value from 0 to 1 measured from the front/bottom of the bullet graph.
* Values further from zero than 1 can be used to make this extend further than the normal size of the bullet graph.
*/
get: function () {
return this.i.c3;
},
set: function (v) {
this.i.c3 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "interval", {
/**
* Gets or sets the interval to use for the scale.
*/
get: function () {
return this.i.b2;
},
set: function (v) {
this.i.b2 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "ticksPostInitial", {
/**
* A value to start adding tickmarks, added to the scale's MinimumValue.
*/
get: function () {
return this.i.cv;
},
set: function (v) {
this.i.cv = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "ticksPreTerminal", {
/**
* A value to stop adding tickmarks, subtracted from the scale's MaximumValue.
*/
get: function () {
return this.i.cw;
},
set: function (v) {
this.i.cw = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "labelInterval", {
/**
* Gets or sets the interval to use for rendering labels. This defaults to be the same interval as the tickmarks on the scale.
*/
get: function () {
return this.i.b4;
},
set: function (v) {
this.i.b4 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "labelExtent", {
/**
* Gets or sets the position at which to put the labels as a value from 0 to 1, measured from the bottom of the scale.
* Values further from zero than 1 can be used to hide the labels of the bullet graph.
*/
get: function () {
return this.i.b3;
},
set: function (v) {
this.i.b3 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "labelsPostInitial", {
/**
* A value to start adding labels, added to the scale's MinimumValue.
*/
get: function () {
return this.i.b5;
},
set: function (v) {
this.i.b5 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "labelsPreTerminal", {
/**
* A value to stop adding labels, subtracted from the scale's MaximumValue.
*/
get: function () {
return this.i.b6;
},
set: function (v) {
this.i.b6 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "minorTickCount", {
/**
* Gets or sets the number of minor tickmarks to place between major tickmarks.
*/
get: function () {
return this.i.b9;
},
set: function (v) {
this.i.b9 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "tickStartExtent", {
/**
* Gets or sets the position at which to start rendering the major tickmarks as a value from 0 to 1, measured from the front/bottom of the bullet graph.
* Values further from zero than 1 can be used to make this extend further than the normal size of the bullet graph.
*/
get: function () {
return this.i.cx;
},
set: function (v) {
this.i.cx = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "tickEndExtent", {
/**
* Gets or sets the position at which to stop rendering the major tickmarks as a value from 0 to 1, measured from the front/bottom of the bullet graph.
* Values further from zero than 1 can be used to make this extend further than the normal size of the bullet graph.
*/
get: function () {
return this.i.ct;
},
set: function (v) {
this.i.ct = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "tickStrokeThickness", {
/**
* Gets or sets the stroke thickness to use when rendering ticks.
*/
get: function () {
return this.i.cz;
},
set: function (v) {
this.i.cz = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "tickBrush", {
/**
* Gets or sets the brush to use for the major tickmarks.
*/
get: function () {
return brushToString(this.i.h9);
},
set: function (v) {
this.i.h9 = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "fontBrush", {
/**
* Gets or sets the brush to use for the label font.
*/
get: function () {
return brushToString(this.i.h2);
},
set: function (v) {
this.i.h2 = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "valueBrush", {
/**
* Gets or sets the brush to use for the actual value element.
*/
get: function () {
return brushToString(this.i.ia);
},
set: function (v) {
this.i.ia = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "valueOutline", {
/**
* Gets or sets the brush to use for the outline of actual value element.
*/
get: function () {
return brushToString(this.i.ib);
},
set: function (v) {
this.i.ib = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "valueStrokeThickness", {
/**
* Gets or sets the stroke thickness to use when rendering single actual value element.
*/
get: function () {
return this.i.c4;
},
set: function (v) {
this.i.c4 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "minorTickStartExtent", {
/**
* Gets or sets the position at which to start rendering the minor tickmarks as a value from 0 to 1, measured from the front/bottom of the bullet graph.
* Values further from zero than 1 can be used to make this extend further than the normal size of the bullet graph.
*/
get: function () {
return this.i.cc;
},
set: function (v) {
this.i.cc = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "minorTickEndExtent", {
/**
* Gets or sets the position at which to stop rendering the minor tickmarks as a value from 0 to 1, measured from the front/bottom of the bullet graph.
* Values further from zero than 1 can be used to make this extend further than the normal size of the bullet graph.
*/
get: function () {
return this.i.ca;
},
set: function (v) {
this.i.ca = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "minorTickStrokeThickness", {
/**
* Gets or sets the stroke thickness to use when rendering minor ticks.
*/
get: function () {
return this.i.ce;
},
set: function (v) {
this.i.ce = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "minorTickBrush", {
/**
* Gets or sets the brush to use for the minor tickmarks.
*/
get: function () {
return brushToString(this.i.h4);
},
set: function (v) {
this.i.h4 = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "isScaleInverted", {
/**
* Gets or sets a value indicating whether the scale is inverted.
* When the scale is inverted the direction in which the scale values increase is right to left.
*/
get: function () {
return this.i.a9;
},
set: function (v) {
this.i.a9 = ensureBool(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "backingBrush", {
/**
* Gets or sets the brush to use to fill the backing of the bullet graph.
*/
get: function () {
return brushToString(this.i.h0);
},
set: function (v) {
this.i.h0 = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "backingOutline", {
/**
* Gets or sets the brush to use for the outline of the backing.
*/
get: function () {
return brushToString(this.i.h1);
},
set: function (v) {
this.i.h1 = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "backingStrokeThickness", {
/**
* Gets or sets the stroke thickness of the backing outline.
*/
get: function () {
return this.i.bx;
},
set: function (v) {
this.i.bx = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "backingInnerExtent", {
/**
* Gets or sets the inner extent of the bullet graph backing.
*/
get: function () {
return this.i.bv;
},
set: function (v) {
this.i.bv = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "backingOuterExtent", {
/**
* Gets or sets the outer extent of the bullet graph backing.
*/
get: function () {
return this.i.bw;
},
set: function (v) {
this.i.bw = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "scaleStartExtent", {
/**
* Gets or sets the position at which to start rendering the scale, measured from the front/bottom of the bullet graph as a value from 0 to 1.
* Values further from zero than 1 can be used to make this extend further than the normal size of the bullet graph.
*/
get: function () {
return this.i.cn;
},
set: function (v) {
this.i.cn = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "scaleEndExtent", {
/**
* Gets or sets the position at which to stop rendering the scale as a value from 0 to 1, measured from the front/bottom of the bullet graph.
* Values further from zero than 1 can be used to make this extend further than the normal size of the bullet graph.
*/
get: function () {
return this.i.ck;
},
set: function (v) {
this.i.ck = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "targetValueBrush", {
/**
* Gets or sets the brush to use when rendering the fill of the comparative marker.
*/
get: function () {
return brushToString(this.i.h7);
},
set: function (v) {
this.i.h7 = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "targetValueBreadth", {
/**
* Get or sets the breadth of the target value element.
*/
get: function () {
return this.i.cp;
},
set: function (v) {
this.i.cp = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "targetValueInnerExtent", {
/**
* Gets or sets the position at which to start rendering the target value, measured from the front/bottom of the control as a value from 0 to 1.
* Values further from zero than 1 can be used to make this extend further than the normal size of the bullet graph.
*/
get: function () {
return this.i.cq;
},
set: function (v) {
this.i.cq = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "targetValueOuterExtent", {
/**
* Gets or sets the position at which to start rendering the target value, measured from the front/bottom of the control as a value from 0 to 1.
* Values further from zero than 1 can be used to make this extend further than the normal size of the bullet graph.
*/
get: function () {
return this.i.cr;
},
set: function (v) {
this.i.cr = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "targetValueOutline", {
/**
* Gets or sets the brush to use when rendering the outline of the target value.
*/
get: function () {
return brushToString(this.i.h8);
},
set: function (v) {
this.i.h8 = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "targetValueStrokeThickness", {
/**
* Gets or sets the stroke thickness of the outline of the target value bar.
*/
get: function () {
return this.i.cs;
},
set: function (v) {
this.i.cs = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "mergeViewports", {
/**
* Gets or sets whether the scale viewport will be merged with backing viewport.
*/
get: function () {
return this.i.bc;
},
set: function (v) {
this.i.bc = ensureBool(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "labelsVisible", {
/**
* Gets or sets whether the labels are visible in the gauge.
*/
get: function () {
return this.i.bb;
},
set: function (v) {
this.i.bb = ensureBool(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "labelFormat", {
/**
* Gets or sets the label composite format used when creating label values.
*/
get: function () {
return this.i.ds;
},
set: function (v) {
this.i.ds = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "labelFormatSpecifiers", {
/**
* Gets or sets the format specifiers to use with the LabelFormat string.
*/
get: function () {
return this.i.ag;
},
set: function (v) {
if (v && !Array.isArray(v) && typeof (v) == "string") {
var re = /\s*(?:,|\s|$)\s*/gm;
v = v.split(re);
}
this.i.ag = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "transitionDuration", {
/**
* Gets or sets the number of milliseconds over which changes to the bullet graph should be animated.
*/
get: function () {
return this.i.c8;
},
set: function (v) {
this.i.c8 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "showToolTipTimeout", {
/**
* Gets or sets the time in milliseconds that tooltip appearance is delayed with.
*/
get: function () {
return this.i.c7;
},
set: function (v) {
this.i.c7 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "showToolTip", {
/**
* Gets or sets a value indicating whether tooltips are enabled.
*/
get: function () {
return this.i.be;
},
set: function (v) {
this.i.be = ensureBool(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "font", {
/**
* Gets or sets the font.
*/
get: function () {
return this.i.di;
},
set: function (v) {
this.i.di = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "pixelScalingRatio", {
/**
* Gets or sets the scaling value used to affect the pixel density of the control.
* A higher scaling ratio will produce crisper visuals at the expense of memory. Lower values will cause the control
* to appear blurry.
*/
get: function () {
return this.i.cf;
},
set: function (v) {
this.i.cf = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "actualPixelScalingRatio", {
/**
* Gets the actual pixel scaling ratio used to affect the pixel density of the control.
* A higher scaling ratio will produce crisper visuals at the expense of memory. Lower values will cause the control
* to appear blurry.
*/
get: function () {
return this.i.bu;
},
set: function (v) {
this.i.bu = +v;
},
enumerable: false,
configurable: true
});
IgxBulletGraphComponent.prototype.findByName = function (name) {
if (this.findEphemera) {
if (name && name.indexOf("@@e:") == 0) {
return this.findEphemera(name);
}
}
if (this.ranges != null && this.ranges.findByName && this.ranges.findByName(name)) {
return this.ranges.findByName(name);
}
if (this.labelFormatSpecifiers != null && arrayFindByName(this.labelFormatSpecifiers, name)) {
return arrayFindByName(this.labelFormatSpecifiers, name);
}
return null;
};
Object.defineProperty(IgxBulletGraphComponent.prototype, "hasUserValues", {
get: function () {
return this._hasUserValues;
},
enumerable: false,
configurable: true
});
IgxBulletGraphComponent.prototype.__m = function (propertyName) {
if (!this._inStyling) {
this._hasUserValues.add(propertyName);
}
};
IgxBulletGraphComponent.prototype._styling = function (container, component, parent) {
if (this._inStyling) {
return;
}
this._inStyling = true;
this._stylingContainer = container;
this._stylingParent = component;
var genericPrefix = "";
var typeName = this.i.$type.name;
if (typeName.indexOf("Xam") === 0) {
typeName = typeName.substring(3);
}
genericPrefix = toSpinal("BulletGraphComponent");
var additionalPrefixes = [];
var prefix = toSpinal(typeName);
additionalPrefixes.push(prefix + "-");
var b = this.i.$type.baseType;
while (b && b.name != "Object" &&
b.name != "Base" &&
b.name != "Control" &&
b.Name != "DependencyObject" &&
b.Name != "FrameworkElement") {
typeName = b.name;
if (typeName.indexOf("Xam") === 0) {
typeName = typeName.substring(3);
}
var basePrefix = toSpinal(typeName);
additionalPrefixes.push(basePrefix + "-");
b = b.baseType;
}
if (parent) {
var parentTypeName = parent.i.$type.name;
if (parentTypeName.indexOf("Xam") === 0) {
parentTypeName = parentTypeName.substring(3);
}
var parentPrefix = toSpinal(parentTypeName);
additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
}
initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
if (this._otherStyling) {
this._otherStyling(container, component, parent);
}
this._inStyling = false;
};
/**
* Gets the value for the main scale of the bullet graph for a given point within the bounds of the bullet graph.
* @param point * The point for which to retrieve the associated value.
*/
IgxBulletGraphComponent.prototype.getValueForPoint = function (point) {
var iv = this.i.bz(toPoint(point));
return (iv);
};
/**
* Returns visuals as a serialized string.
*/
IgxBulletGraphComponent.prototype.exportSerializedVisualData = function () {
var iv = this.i.dh();
return (iv);
};
/**
* Provide a container for the bullet graph.
* @param container * The container.
*/
IgxBulletGraphComponent.prototype.provideContainer = function (container) {
this.i.provideContainer(container);
};
/**
* Notify that the container has resized.
*/
IgxBulletGraphComponent.prototype.containerResized = function () {
this.i.containerResized();
};
/**
* Notify that the bullet graph styling has updated.
*/
IgxBulletGraphComponent.prototype.styleUpdated = function () {
this.i.f7();
};
/**
* Use to force the bullet graph to finish any deferred work before printing or evaluating its visual.
* This should only be called if the visual of the bullet graph needs to be synchronously saved or evaluated.
* Calling this method too often will hinder the performance of the bullet graph.
*/
IgxBulletGraphComponent.prototype.flush = function () {
this.i.fe();
};
Object.defineProperty(IgxBulletGraphComponent.prototype, "formatLabel", {
/**
* Event which is raised when a label of the bullet graph is formatted.
* Function takes first argument evt and second argument ui.
* Use ui.owner to obtain reference to the bullet graph widget.
* Use ui.actualMinimumValue to obtain the minimum value of the bullet graph scale.
* Use ui.actualMaximumValue to obtain the maximum value of the bullet graph scale.
* Use ui.value to obtain the value on the the bullet graph scale associated with the label.
* Use ui.label to obtain the string value of the label.
*/
get: function () {
var _this = this;
if (this._formatLabel == null) {
this._formatLabel = new EventEmitter();
this.i.formatLabel = delegateCombine(this.i.formatLabel, function (o, e) {
_this._runInZone(function () {
var outerArgs = new IgxFormatLinearGraphLabelEventArgs();
outerArgs._provideImplementation(e);
if (_this.beforeFormatLabel) {
_this.beforeFormatLabel(_this, outerArgs);
}
_this._formatLabel.emit({
sender: _this,
args: outerArgs
});
});
});
}
return this._formatLabel;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "alignLabel", {
/**
* Event which is raised when a label of the bullet graph is aligned along the scale.
* Function takes first argument evt and second argument ui.
* Use ui.owner to obtain reference to gauge widget.
* Use ui.actualMinimumValue to obtain the minimum value of the bullet graph scale.
* Use ui.actualMaximumValue to obtain the maximum value of the bullet graph scale.
* Use ui.value to obtain the value on the the bullet graph scale associated with the label.
* Use ui.label to obtain the string value of the label.
* Use ui.width to obtain the width of the label.
* Use ui.height to obtain the height of the label.
* Use ui.offsetX to obtain the X offset of the label on the bullet graph scale.
* Use ui.offsetY to obtain the Y offset of the label on the bullet graph scale.
*/
get: function () {
var _this = this;
if (this._alignLabel == null) {
this._alignLabel = new EventEmitter();
this.i.alignLabel = delegateCombine(this.i.alignLabel, function (o, e) {
_this._runInZone(function () {
var outerArgs = new IgxAlignLinearGraphLabelEventArgs();
outerArgs._provideImplementation(e);
if (_this.beforeAlignLabel) {
_this.beforeAlignLabel(_this, outerArgs);
}
_this._alignLabel.emit({
sender: _this,
args: outerArgs
});
});
});
}
return this._alignLabel;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "actualMinimumValueChange", {
get: function () {
var _this = this;
if (this._actualMinimumValueChange == null) {
this._actualMinimumValueChange = new EventEmitter();
this.i.propertyChanged = delegateCombine(this.i.propertyChanged, function (o, e) {
var iv = e;
var ext = _this.actualMinimumValue;
if (_this.beforeActualMinimumValueChange) {
_this.beforeActualMinimumValueChange(_this, ext);
}
_this._actualMinimumValueChange.emit(ext);
});
}
return this._actualMinimumValueChange;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxBulletGraphComponent.prototype, "actualMaximumValueChange", {
get: function () {
var _this = this;
if (this._actualMaximumValueChange == null) {
this._actualMaximumValueChange = new EventEmitter();
this.i.propertyChanged = delegateCombine(this.i.propertyChanged, function (o, e) {
var iv = e;
var ext = _this.actualMaximumValue;
if (_this.beforeActualMaximumValueChange) {
_this.beforeActualMaximumValueChange(_this, ext);
}
_this._actualMaximumValueChange.emit(ext);
});
}
return this._actualMaximumValueChange;
},
enumerable: false,
configurable: true
});
IgxBulletGraphComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxBulletGraphComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i0.ComponentFactoryResolver }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
IgxBulletGraphComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: IgxBulletGraphComponent, selector: "igx-bullet-graph", inputs: { height: "height", width: "width", tooltipTemplate: "tooltipTemplate", transitionProgress: "transitionProgress", orientation: "orientation", scaleBackgroundBrush: "scaleBackgroundBrush", scaleBackgroundOutline: "scaleBackgroundOutline", scaleBackgroundThickness: "scaleBackgroundThickness", rangeBrushes: "rangeBrushes", rangeOutlines: "rangeOutlines", minimumValue: "minimumValue", actualMinimumValue: "actualMinimumValue", maximumValue: "maximumValue", actualMaximumValue: "actualMaximumValue", targetValue: "targetValue", targetValueName: "targetValueName", value: "value", valueName: "valueName", highlightValue: "highlightValue", actualHighlightValueOpacity: "actualHighlightValueOpacity", highlightValueOpacity: "highlightValueOpacity", actualHighlightValueDisplayMode: "actualHighlightValueDisplayMode", highlightValueDisplayMode: "highlightValueDisplayMode", rangeInnerExtent: "rangeInnerExtent", rangeOuterExtent: "rangeOuterExtent", valueInnerExtent: "valueInnerExtent", valueOuterExtent: "valueOuterExtent", interval: "interval", ticksPostInitial: "ticksPostInitial", ticksPreTerminal: "ticksPreTerminal", labelInterval: "labelInterval", labelExtent: "labelExtent", labelsPostInitial: "labelsPostInitial", labelsPreTerminal: "labelsPreTerminal", minorTickCount: "minorTickCount", tickStartExtent: "tickStartExtent", tickEndExtent: "tickEndExtent", tickStrokeThickness: "tickStrokeThickness", tickBrush: "tickBrush", fontBrush: "fontBrush", valueBrush: "valueBrush", valueOutline: "valueOutline", valueStrokeThickness: "valueStrokeThickness", minorTickStartExtent: "minorTickStartExtent", minorTickEndExtent: "minorTickEndExtent", minorTickStrokeThickness: "minorTickStrokeThickness", minorTickBrush: "minorTickBrush", isScaleInverted: "isScaleInverted", backingBrush: "backingBrush", backingOutline: "backingOutline", backingStrokeThickness: "backingStrokeThickness", backingInnerExtent: "backingInnerExtent", backingOuterExtent: "backingOuterExtent", scaleStartExtent: "scaleStartExtent", scaleEndExtent: "scaleEndExtent", targetValueBrush: "targetValueBrush", targetValueBreadth: "targetValueBreadth", targetValueInnerExtent: "targetValueInnerExtent", targetValueOuterExtent: "targetValueOuterExtent", targetValueOutline: "targetValueOutline", targetValueStrokeThickness: "targetValueStrokeThickness", mergeViewports: "mergeViewports", labelsVisible: "labelsVisible", labelFormat: "labelFormat", labelFormatSpecifiers: "labelFormatSpecifiers", transitionDuration: "transitionDuration", showToolTipTimeout: "showToolTipTimeout", showToolTip: "showToolTip", font: "font", pixelScalingRatio: "pixelScalingRatio", actualPixelScalingRatio: "actualPixelScalingRatio" }, outputs: { formatLabel: "formatLabel", alignLabel: "alignLabel", actualMinimumValueChange: "actualMinimumValueChange", actualMaximumValueChange: "actualMaximumValueChange" }, host: { classAttribute: "igx-bullet-graph ig-bullet-graph" }, providers: [], queries: [{ propertyName: "contentRanges", predicate: IgxLinearGraphRangeComponent }], viewQueries: [{ propertyName: "_dynamicContent", first: true, predicate: ["dynamicContent"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: "<ng-container #dynamicContent></ng-container>", isInline: true, styles: ["\n\t\t:host {\n\t\t\tdisplay: block;\n\t\t}\n\t"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
return IgxBulletGraphComponent;
}());
export { IgxBulletGraphComponent };
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxBulletGraphComponent, decorators: [{
type: Component,
args: [{
selector: 'igx-bullet-graph',
template: "<ng-container #dynamicContent></ng-container>",
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [],
host: { 'class': 'igx-bullet-graph ig-bullet-graph' },
styles: ["\n\t\t:host {\n\t\t\tdisplay: block;\n\t\t}\n\t"]
}]
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.NgZone }, { type: i0.ComponentFactoryResolver }, { type: i0.Injector }]; }, propDecorators: { _dynamicContent: [{
type: ViewChild,
args: ["dynamicContent", { read: ViewContainerRef, static: true }]
}], height: [{
type: Input
}], width: [{
type: Input
}], contentRanges: [{
type: ContentChildren,
args: [IgxLinearGraphRangeComponent]
}], tooltipTemplate: [{
type: Input
}], transitionProgress: [{
type: Input
}], orientation: [{
type: Input
}], scaleBackgroundBrush: [{
type: Input
}], scaleBackgroundOutline: [{
type: Input
}], scaleBackgroundThickness: [{
type: Input
}], rangeBrushes: [{
type: Input
}], rangeOutlines: [{
type: Input
}], minimumValue: [{
type: Input
}], actualMinimumValue: [{
type: Input
}], maximumValue: [{
type: Input
}], actualMaximumValue: [{
type: Input
}], targetValue: [{
type: Input
}], targetValueName: [{
type: Input
}], value: [{
type: Input
}], valueName: [{
type: Input
}], highlightValue: [{
type: Input
}], actualHighlightValueOpacity: [{
type: Input
}], highlightValueOpacity: [{
type: Input
}], actualHighlightValueDisplayMode: [{
type: Input
}], highlightValueDisplayMode: [{
type: Input
}], rangeInnerExtent: [{
type: Input
}], rangeOuterExtent: [{
type: Input
}], valueInnerExtent: [{
type: Input
}], valueOuterExtent: [{
type: Input
}], interval: [{
type: Input
}], ticksPostInitial: [{
type: Input
}], ticksPreTerminal: [{
type: Input
}], labelInterval: [{
type: Input
}], labelExtent: [{
type: Input
}], labelsPostInitial: [{
type: Input
}], labelsPreTerminal: [{
type: Input
}], minorTickCount: [{
type: Input
}], tickStartExtent: [{
type: Input
}], tickEndExtent: [{
type: Input
}], tickStrokeThickness: [{
type: Input
}], tickBrush: [{
type: Input
}], fontBrush: [{
type: Input
}], valueBrush: [{
type: Input
}], valueOutline: [{
type: Input
}], valueStrokeThickness: [{
type: Input
}], minorTickStartExtent: [{
type: Input
}], minorTickEndExtent: [{
type: Input
}], minorTickStrokeThickness: [{
type: Input
}], minorTickBrush: [{
type: Input
}], isScaleInverted: [{
type: Input
}], backingBrush: [{
type: Input
}], backingOutline: [{
type: Input
}], backingStrokeThickness: [{
type: Input
}], backingInnerExtent: [{
type: Input
}], backingOuterExtent: [{
type: Input
}], scaleStartExtent: [{
type: Input
}], scaleEndExtent: [{
type: Input
}], targetValueBrush: [{
type: Input
}], targetValueBreadth: [{
type: Input
}], targetValueInnerExtent: [{
type: Input
}], targetValueOuterExtent: [{
type: Input
}], targetValueOutline: [{
type: Input
}], targetValueStrokeThickness: [{
type: Input
}], mergeViewports: [{
type: Input
}], labelsVisible: [{
type: Input
}], labelFormat: [{
type: Input
}], labelFormatSpecifiers: [{
type: Input
}], transitionDuration: [{
type: Input
}], showToolTipTimeout: [{
type: Input
}], showToolTip: [{
type: Input
}], font: [{
type: Input
}], pixelScalingRatio: [{
type: Input
}], actualPixelScalingRatio: [{
type: Input
}], formatLabel: [{
type: Output
}], alignLabel: [{
type: Output
}], actualMinimumValueChange: [{
type: Output
}], actualMaximumValueChange: [{
type: Output
}] } });