{ "$schema": "../../TcHmiFramework/Schema/ControlDescription.Schema.json", "apiVersion": 1, "name": "TcHmiLinearGauge", "namespace": "TcHmi.Controls.Beckhoff", "displayName": "Linear Gauge", "version": { "full": "14.4.1.0", "major": 14, "minor": 4, "build": 1, "revision": 0 }, "visible": true, "themeable": "Standard", "base": "TcHmi.Controls.System.TcHmiControl", "description": "A linear Gauge.", "defaultDesignerEvent": ".onValueChanged", "template": "Template.html", "properties": { "containerControl": false, "geometry": { "width": 360, "height": 114 } }, "icons": [ { "name": "Icons/16x16.png", "width": 16, "height": 16 } ], "dependencyFiles": [ { "name": "Style.css", "type": "Stylesheet", "description": "" }, { "name": "../dist/TcHmiLinearGauge/TcHmiLinearGauge.esm.js", "type": "EsModule", "description": "Contains all the main logic as ES module." } ], "themes": { "Base": { "resources": [ { "name": "Themes/Base/Defaults.theme", "type": "ThemedValues", "description": "" }, { "name": "Themes/Base/Style.css", "type": "Stylesheet", "description": "" } ] }, "Base-Dark": { "resources": [ { "name": "Themes/Base-Dark/Defaults.theme", "type": "ThemedValues", "description": "" }, { "name": "Themes/Base-Dark/Style.css", "type": "Stylesheet", "description": "" } ] } }, "attributes": [ { "name": "data-tchmi-value", "propertyName": "Value", "propertySetterName": "setValue", "propertyGetterName": "getValue", "displayName": "Value", "visible": true, "themeable": "Advanced", "displayPriority": 10, "type": "tchmi:general#/definitions/Number", "category": "Common", "description": "The value of the gauge.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": 0 }, { "name": "data-tchmi-min-value", "propertyName": "MinValue", "propertySetterName": "setMinValue", "propertyGetterName": "getMinValue", "displayName": "Min Value", "visible": true, "themeable": "Advanced", "displayPriority": 10, "type": "tchmi:general#/definitions/Number", "category": "Common", "description": "The smallest value the gauge could have.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": 0 }, { "name": "data-tchmi-max-value", "propertyName": "MaxValue", "propertySetterName": "setMaxValue", "propertyGetterName": "getMaxValue", "displayName": "Max Value", "visible": true, "themeable": "Advanced", "displayPriority": 10, "type": "tchmi:general#/definitions/Number", "category": "Common", "description": "The biggest value the gauge could have.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": 100 }, { "name": "data-tchmi-set-point", "propertyName": "SetPoint", "propertySetterName": "setSetPoint", "propertyGetterName": "getSetPoint", "displayName": "Set Point", "visible": true, "themeable": "Advanced", "displayPriority": 20, "type": "tchmi:general#/definitions/Number", "category": "Common", "description": "The set point of the gauge.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-editable", "propertyName": "Editable", "propertySetterName": "setEditable", "propertyGetterName": "getEditable", "displayName": "Editable", "visible": true, "themeable": "Advanced", "displayPriority": 30, "type": "tchmi:general#/definitions/Boolean", "category": "Common", "description": "Whether to show a slider knob or not. If a set point is defined, the set point will be edited instead of the value.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": false }, { "name": "data-tchmi-ignore-invalid-values", "propertyName": "IgnoreInvalidValues", "propertySetterName": "setIgnoreInvalidValues", "propertyGetterName": "getIgnoreInvalidValues", "displayName": "Ignore Invalid Values", "visible": true, "themeable": "Standard", "displayPriority": 30, "type": "tchmi:general#/definitions/Boolean", "category": "Common", "description": "Whether an invalid value should be displayed or not. If not, invalid values are discarded.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": false }, { "name": "data-tchmi-input-processing-point", "propertyName": "InputProcessingPoint", "propertySetterName": "setInputProcessingPoint", "propertyGetterName": "getInputProcessingPoint", "displayName": "Input Processing Point", "visible": true, "themeable": "Advanced", "displayPriority": 50, "type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.InputProcessingPoint", "category": "Common", "description": "When to process the input made by the user. Either while the input is still happening (i.e. while dragging the edit knob) or after the interaction has finished (i.e. the mouse button is released).", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "Change" }, { "name": "data-tchmi-step", "propertyName": "Step", "propertySetterName": "setStep", "propertyGetterName": "getStep", "displayName": "Step", "visible": true, "themeable": "Standard", "displayPriority": 30, "type": "tchmi:framework#/definitions/PositiveNumber", "category": "Value", "description": "Defines in which step increasing/decreasing the gauge value is allowed.\nIf not set or set to 0 there will be no restriction.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": 0 }, { "name": "data-tchmi-range", "propertyName": "Range", "propertySetterName": "setRange", "propertyGetterName": "getRange", "displayName": "Range", "visible": true, "themeable": "Standard", "displayPriority": 40, "type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.GaugeRangeDefinitionList", "category": "Value", "description": "The range of the gauge", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-start-from-zero", "propertyName": "StartFromZero", "propertySetterName": "setStartFromZero", "propertyGetterName": "getStartFromZero", "displayName": "Start From Zero", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:general#/definitions/Boolean", "category": "Value", "description": "Whether to start the progress bar at the zero mark or on the left side. This has no effect if the min value is equal to or greater than zero.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": true, "defaultValueInternal": false }, { "name": "data-tchmi-click-anywhere-to-edit", "propertyName": "ClickAnywhereToEdit", "propertySetterName": "setClickAnywhereToEdit", "propertyGetterName": "getClickAnywhereToEdit", "displayName": "Click Anywhere to Edit", "visible": true, "themeable": "Standard", "displayPriority": 70, "type": "tchmi:general#/definitions/Boolean", "category": "Value", "description": "Click anywhere on the control to edit.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": false }, { "name": "data-tchmi-show-value-text", "propertyName": "ShowValueText", "propertySetterName": "setShowValueText", "propertyGetterName": "getShowValueText", "displayName": "Show Value Text", "visible": true, "themeable": "Standard", "displayPriority": 40, "type": "tchmi:general#/definitions/Boolean", "category": "Value", "description": "Whether to show the current value in text or not.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": true, "defaultValueInternal": false }, { "name": "data-tchmi-decimal-digits", "propertyName": "DecimalDigits", "propertySetterName": "setDecimalDigits", "propertyGetterName": "getDecimalDigits", "displayName": "Decimal Digits", "visible": true, "themeable": "Standard", "displayPriority": 40, "type": "tchmi:general#/definitions/Number", "category": "Common", "description": "Number of displayed decimal digits. Does not affect the value. No restriction if it's unset.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": 3, "defaultValueInternal": null }, { "name": "data-tchmi-value-font-family", "propertyName": "ValueFontFamily", "propertySetterName": "setValueFontFamily", "propertyGetterName": "getValueFontFamily", "displayName": "Value Font Family", "visible": true, "themeable": "Standard", "displayPriority": 70, "type": "tchmi:framework#/definitions/FontFamily", "category": "Value", "description": "Comma separated list of family name or keyword: 'serif', 'sans-serif', 'monospace'.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-value-font-size", "propertyName": "ValueFontSize", "propertySetterName": "setValueFontSize", "propertyGetterName": "getValueFontSize", "displayName": "Value Font Size", "visible": true, "themeable": "Standard", "displayPriority": 70, "type": "tchmi:framework#/definitions/MeasurementValue", "category": "Value", "description": "The size of the font. Percent values are relative to the parent elements font size.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": 14 }, { "name": "data-tchmi-value-font-size-unit", "propertyName": "ValueFontSizeUnit", "propertySetterName": "setValueFontSizeUnit", "propertyGetterName": "getValueFontSizeUnit", "refTo": "ValueFontSize", "displayName": "Value Font Size Unit", "visible": true, "themeable": "Advanced", "displayPriority": 70, "type": "tchmi:framework#/definitions/MeasurementUnit", "category": "Value", "description": "Could be 'px' or for relative sizing '%'.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "px" }, { "name": "data-tchmi-value-font-style", "propertyName": "ValueFontStyle", "propertySetterName": "setValueFontStyle", "propertyGetterName": "getValueFontStyle", "displayName": "Value Font Style", "visible": true, "themeable": "Standard", "displayPriority": 70, "type": "tchmi:framework#/definitions/FontStyle", "category": "Value", "description": "'Normal', 'Italic' (slanted with special glyphs), 'Oblique' (slanted normal glyphs) or 'Auto' for inherited.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "Auto" }, { "name": "data-tchmi-value-font-weight", "propertyName": "ValueFontWeight", "propertySetterName": "setValueFontWeight", "propertyGetterName": "getValueFontWeight", "displayName": "Value Font Weight", "visible": true, "themeable": "Standard", "displayPriority": 70, "type": "tchmi:framework#/definitions/FontWeight", "category": "Value", "description": "'Normal', 'Bold' (glyphs with more weight) or 'Auto' for inherited.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "Normal" }, { "name": "data-tchmi-value-format", "propertyName": "ValueFormat", "propertySetterName": "setValueFormat", "propertyGetterName": "getValueFormat", "displayName": "Value Format", "visible": true, "themeable": "Advanced", "displayPriority": 70, "type": "tchmi:framework#/definitions/Function", "allowedFunctions": { "returnType": "tchmi:general#/definitions/String", "requiredArguments": [ { "type": "tchmi:general#/definitions/Number", "description": "The value to format." } ], "requiredWaitMode": "Synchronous" }, "category": "Value", "description": "A formatting function to format the value text (no HTML allowed).", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-show-labels", "propertyName": "ShowLabels", "propertySetterName": "setShowLabels", "propertyGetterName": "getShowLabels", "displayName": "Show Labels", "visible": true, "themeable": "Standard", "displayPriority": 10, "type": "tchmi:general#/definitions/Boolean", "category": "Labels", "description": "Whether to show labels or not.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": true, "defaultValueInternal": false }, { "name": "data-tchmi-label-range", "propertyName": "LabelRange", "propertySetterName": "setLabelRange", "propertyGetterName": "getLabelRange", "displayName": "Label Range", "visible": true, "themeable": "Standard", "displayPriority": 20, "type": "tchmi:general#/definitions/Number", "category": "Labels", "description": "The range between labels of the gauge.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": 20, "defaultValueInternal": null }, { "name": "data-tchmi-label-position", "propertyName": "LabelPosition", "propertySetterName": "setLabelPosition", "propertyGetterName": "getLabelPosition", "displayName": "Label Position", "visible": true, "themeable": "Standard", "displayPriority": 20, "type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiLinearGauge.LabelPosition", "category": "Labels", "description": "Position of labels and ticks relative to the gauge.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "Top" }, { "name": "data-tchmi-label-font-family", "propertyName": "LabelFontFamily", "propertySetterName": "setLabelFontFamily", "propertyGetterName": "getLabelFontFamily", "displayName": "Label Font Family", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/FontFamily", "category": "Labels", "description": "Comma separated list of family name or keyword: 'serif', 'sans-serif', 'monospace'.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-label-font-size", "propertyName": "LabelFontSize", "propertySetterName": "setLabelFontSize", "propertyGetterName": "getLabelFontSize", "displayName": "Label Font Size", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/MeasurementValue", "category": "Labels", "description": "The size of the font. Percent values are relative to the parent elements font size.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": 14 }, { "name": "data-tchmi-label-font-size-unit", "propertyName": "LabelFontSizeUnit", "propertySetterName": "setLabelFontSizeUnit", "propertyGetterName": "getLabelFontSizeUnit", "refTo": "LabelFontSize", "displayName": "Label Font Size Unit", "visible": true, "themeable": "Advanced", "displayPriority": 60, "type": "tchmi:framework#/definitions/MeasurementUnit", "category": "Labels", "description": "Could be 'px' or for relative sizing '%'.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "px" }, { "name": "data-tchmi-label-font-style", "propertyName": "LabelFontStyle", "propertySetterName": "setLabelFontStyle", "propertyGetterName": "getLabelFontStyle", "displayName": "Label Font Style", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/FontStyle", "category": "Labels", "description": "'Normal', 'Italic' (slanted with special glyphs), 'Oblique' (slanted normal glyphs) or 'Auto' for inherited.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "Auto" }, { "name": "data-tchmi-label-font-weight", "propertyName": "LabelFontWeight", "propertySetterName": "setLabelFontWeight", "propertyGetterName": "getLabelFontWeight", "displayName": "Label Font Weight", "visible": true, "themeable": "Standard", "type": "tchmi:framework#/definitions/FontWeight", "category": "Labels", "displayPriority": 60, "description": "'Normal', 'Bold' (glyphs with more weight) or 'Auto' for inherited.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "Normal" }, { "name": "data-tchmi-label-format", "propertyName": "LabelFormat", "propertySetterName": "setLabelFormat", "propertyGetterName": "getLabelFormat", "displayName": "Label Format", "visible": true, "themeable": "Advanced", "displayPriority": 60, "type": "tchmi:framework#/definitions/Function", "allowedFunctions": { "returnType": "tchmi:general#/definitions/String", "requiredArguments": [ { "type": "tchmi:general#/definitions/Number", "description": "The label number to format." } ], "requiredWaitMode": "Synchronous" }, "category": "Labels", "description": "A formatting function to format the label texts (no HTML allowed).", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-show-ticks", "propertyName": "ShowTicks", "propertySetterName": "setShowTicks", "propertyGetterName": "getShowTicks", "displayName": "Show Ticks", "visible": true, "themeable": "Standard", "displayPriority": 10, "type": "tchmi:general#/definitions/Boolean", "category": "Ticks", "description": "Whether to show ticks or not.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": true, "defaultValueInternal": false }, { "name": "data-tchmi-tick-definition", "propertyName": "TickDefinition", "propertySetterName": "setTickDefinition", "propertyGetterName": "getTickDefinition", "displayName": "Tick Definition", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.GaugeTickDefinition", "category": "Ticks", "description": "Describes the ticks.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": { "mainTickRange": 20, "subTickRange": 5 }, "defaultValueInternal": null }, { "name": "data-tchmi-unit", "propertyName": "Unit", "propertySetterName": "setUnit", "propertyGetterName": "getUnit", "displayName": "Unit", "visible": true, "themeable": "Standard", "displayPriority": 10, "type": "tchmi:general#/definitions/String", "category": "Unit", "description": "Description of the gauge value and its unit.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "" }, { "name": "data-tchmi-unit-orientation", "propertyName": "UnitOrientation", "propertySetterName": "setUnitOrientation", "propertyGetterName": "getUnitOrientation", "displayName": "Unit Orientation", "visible": true, "themeable": "Standard", "displayPriority": 20, "type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiLinearGauge.UnitOrientation", "category": "Unit", "description": "The orientation of the unit text.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "Theme" }, { "name": "data-tchmi-unit-font-family", "propertyName": "UnitFontFamily", "propertySetterName": "setUnitFontFamily", "propertyGetterName": "getUnitFontFamily", "displayName": "Unit Font Family", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/FontFamily", "category": "Unit", "description": "Comma separated list of family name or keyword: 'serif', 'sans-serif', 'monospace'.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-unit-font-size", "propertyName": "UnitFontSize", "propertySetterName": "setUnitFontSize", "propertyGetterName": "getUnitFontSize", "displayName": "Unit Font Size", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/MeasurementValue", "category": "Unit", "description": "The size of the font. Percent values are relative to the parent elements font size.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": 14 }, { "name": "data-tchmi-unit-font-size-unit", "propertyName": "UnitFontSizeUnit", "propertySetterName": "setUnitFontSizeUnit", "propertyGetterName": "getUnitFontSizeUnit", "refTo": "UnitFontSize", "displayName": "Unit Font Size Unit", "visible": true, "themeable": "Advanced", "type": "tchmi:framework#/definitions/MeasurementUnit", "category": "Unit", "displayPriority": 60, "description": "Could be 'px' or for relative sizing '%'.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "px" }, { "name": "data-tchmi-unit-font-style", "propertyName": "UnitFontStyle", "propertySetterName": "setUnitFontStyle", "propertyGetterName": "getUnitFontStyle", "displayName": "Unit Font Style", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/FontStyle", "category": "Unit", "description": "'Normal', 'Italic' (slanted with special glyphs), 'Oblique' (slanted normal glyphs) or 'Auto' for inherited.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "Auto" }, { "name": "data-tchmi-unit-font-weight", "propertyName": "UnitFontWeight", "propertySetterName": "setUnitFontWeight", "propertyGetterName": "getUnitFontWeight", "displayName": "Unit Font Weight", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/FontWeight", "category": "Unit", "description": "'Normal', 'Bold' (glyphs with more weight) or 'Auto' for inherited.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "Normal" }, { "name": "data-tchmi-base-animation-time", "propertyName": "BaseAnimationTime", "propertySetterName": "setBaseAnimationTime", "propertyGetterName": "getBaseAnimationTime", "displayName": "Base Animation Time", "visible": true, "themeable": "Advanced", "displayPriority": 100, "type": "tchmi:general#/definitions/UDINT", "category": "Common", "description": "Base animation time in milliseconds.\nBase animation time refers to the time it takes to animate a change from min value to max value.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": 1000, "defaultValueInternal": 0 }, { "name": "data-tchmi-orientation", "propertyName": "Orientation", "propertySetterName": "setOrientation", "propertyGetterName": "getOrientation", "displayName": "Orientation", "visible": true, "themeable": "Advanced", "displayPriority": 10, "type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiLinearGauge.Orientation", "category": "Appearance", "description": "The orientation of the gauge.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "Horizontal" }, { "name": "data-tchmi-padding", "propertyName": "Padding", "propertySetterName": "setPadding", "propertyGetterName": "getPadding", "displayName": "Padding", "visible": true, "themeable": "Advanced", "displayPriority": 20, "type": "tchmi:framework#/definitions/Padding", "category": "Appearance", "description": "Defines an additional distance between the control border and the bar for the four sides", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-value-color", "propertyName": "ValueColor", "propertySetterName": "setValueColor", "propertyGetterName": "getValueColor", "displayName": "Value Color", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/SolidColor", "category": "Colors", "description": "Color of the value text.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-label-color", "propertyName": "LabelColor", "propertySetterName": "setLabelColor", "propertyGetterName": "getLabelColor", "displayName": "Label Color", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/SolidColor", "category": "Colors", "description": "Color for the axis tick labels", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-unit-color", "propertyName": "UnitColor", "propertySetterName": "setUnitColor", "propertyGetterName": "getUnitColor", "displayName": "Unit Color", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/SolidColor", "category": "Colors", "description": "Defines the color of the displayed unit.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-tick-color", "propertyName": "TickColor", "propertySetterName": "setTickColor", "propertyGetterName": "getTickColor", "displayName": "Tick Color", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/Color", "category": "Colors", "description": "Defines the color of the bar division.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-progress-foreground-color", "propertyName": "ProgressForegroundColor", "propertySetterName": "setProgressForegroundColor", "propertyGetterName": "getProgressForegroundColor", "displayName": "Progress Foreground Color", "visible": true, "themeable": "Standard", "displayPriority": 10, "type": "tchmi:framework#/definitions/Color", "category": "Colors", "description": "Fill color of the progress bar.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-progress-background-color", "propertyName": "ProgressBackgroundColor", "propertySetterName": "setProgressBackgroundColor", "propertyGetterName": "getProgressBackgroundColor", "displayName": "Progress Background Color", "visible": true, "themeable": "Standard", "displayPriority": 10, "type": "tchmi:framework#/definitions/Color", "category": "Colors", "description": "Background color of the progress bar.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-knob-color", "propertyName": "KnobColor", "propertySetterName": "setKnobColor", "propertyGetterName": "getKnobColor", "displayName": "Knob Color", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/Color", "category": "Colors", "description": "Defines the Fill color of the editing knob.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-knob-arrows-color", "propertyName": "KnobArrowsColor", "propertySetterName": "setKnobArrowsColor", "propertyGetterName": "getKnobArrowsColor", "displayName": "Knob Arrows Color", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/SolidColor", "category": "Colors", "description": "Defines the Stroke color of the arrows and border of editing knob.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-value-space", "propertyName": "ValueSpace", "propertySetterName": "setValueSpace", "propertyGetterName": "getValueSpace", "displayName": "Value Space", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/MeasurementValue", "category": "Value", "description": "The size of displayed value. Percent values are relative to the control width.\n Does only affects the vertical orientation.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-value-space-unit", "propertyName": "ValueSpaceUnit", "propertySetterName": "setValueSpaceUnit", "propertyGetterName": "getValueSpaceUnit", "refTo": "ValueSpace", "displayName": "Value Space Unit", "visible": true, "themeable": "Advanced", "type": "tchmi:framework#/definitions/MeasurementUnit", "category": "Value", "displayPriority": 60, "description": "Could be 'px' or for relative sizing '%'.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "px" }, { "name": "data-tchmi-set-point-marker-color", "propertyName": "SetPointMarkerColor", "propertySetterName": "setSetPointMarkerColor", "propertyGetterName": "getSetPointMarkerColor", "displayName": "Set Point Marker Color", "visible": true, "themeable": "Standard", "displayPriority": 80, "type": "tchmi:framework#/definitions/Color", "category": "Colors", "description": "Color of the set point marker.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-markers", "propertyName": "Markers", "propertySetterName": "setMarkers", "propertyGetterName": "getMarkers", "displayName": "Markers", "visible": true, "themeable": "Standard", "displayPriority": 40, "type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.GaugeMarkerDefinitionList", "category": "Value", "description": "The markers of the gauge", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null } ], "attributeCategories": [ { "name": "Value", "displayPriority": 500, "defaultCollapsed": false, "description": "Attributes defining the value." }, { "name": "Labels", "displayPriority": 510, "defaultCollapsed": true, "description": "Attributes defining the labels" }, { "name": "Ticks", "displayPriority": 520, "defaultCollapsed": true, "description": "Attributes defining the ticks." }, { "name": "Unit", "displayPriority": 530, "defaultCollapsed": true, "description": "Attributes defining the unit." }, { "name": "Appearance", "displayPriority": 540, "defaultCollapsed": true, "description": "Attributes defining the appearance." } ], "themedResources": [ { "name": "KnobConfigHorizontal", "displayName": "Knob Config Horizontal", "description": "Knob Configuration for horizontal Gauges.", "type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.GaugeKnobDefinition" }, { "name": "KnobConfigVertical", "displayName": "Knob Config Vertical", "description": "Knob Configuration for vertical Gauges.", "type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.GaugeKnobDefinition" } ], "functions": [], "events": [ { "name": ".onValueChanged", "displayName": ".onValueChanged", "visible": true, "displayPriority": 10, "category": "Control", "description": "The valuechanged event is fired when the value was changed. This event could be fired multiples times while a user interaction.", "heritable": true, "arguments": [] }, { "name": ".onUserInteractionFinished", "displayName": ".onUserInteractionFinished", "visible": true, "displayPriority": 5, "category": "Operator", "description": "The userinteractionfinished event is fired after interaction with mouse or via touch", "heritable": true, "arguments": [] } ], "dataTypes": [ { "schema": "Schema/Types.Schema.json" }, { "schema": "../Schema/Types.Schema.json" } ], "languages": { "en": "Lang/Language.en.json", "de": "Lang/Language.de.json" } }