{ "$schema": "../../TcHmiFramework/Schema/ControlDescription.Schema.json", "apiVersion": 1, "name": "TcHmiHorizontalBarChart", "namespace": "TcHmi.Controls.Beckhoff", "displayName": "Horizontal Bar Chart", "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 multipurpose horizontal Bar Chart.", "defaultDesignerEvent": "", "properties": { "containerControl": false, "geometry": { "width": 600, "height": 400 } }, "icons": [ { "name": "Icons/16x16.png", "width": 16, "height": 16 } ], "template": "Template.html", "dependencyFiles": [ { "name": "Style.css", "type": "Stylesheet", "description": "" }, { "name": "../dist/TcHmiHorizontalBarChart/TcHmiHorizontalBarChart.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-sections-background-color", "propertyName": "SectionsBackgroundColor", "propertySetterName": "setSectionsBackgroundColor", "propertyGetterName": "getSectionsBackgroundColor", "displayName": "Sections Background Color", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/Color", "category": "Colors", "description": "The Background color of the graph and legend section.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-bar-graph-data", "propertyName": "BarGraphData", "propertySetterName": "setBarGraphData", "propertyGetterName": "getBarGraphData", "displayName": "Bar Graph Data", "visible": true, "themeable": "Advanced", "displayPriority": 10, "type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiHorizontalBarChart.ChartBarGraphDataDefinitionList", "category": "Common", "description": "The data to be displayed in the bar chart.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": [ [ 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 ], [ 100, 90, 80, 70, 60, 50, 40, 30, 20, 10, 0 ] ], "defaultValueInternal": null }, { "name": "data-tchmi-bar-graph-descriptions", "propertyName": "BarGraphDescriptions", "propertySetterName": "setBarGraphDescriptions", "propertyGetterName": "getBarGraphDescriptions", "displayName": "Bar Graph Descriptions", "visible": true, "themeable": "Advanced", "displayPriority": 10, "type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiHorizontalBarChart.ChartBarGraphDescriptionDefinitionList", "category": "Common", "description": "Description of the bar graph data. Defines the presentation in the graph and the legend.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": [ { "barColor": "%tr%Control::TcHmi.Controls.Beckhoff.TcHmiHorizontalBarChart::DefaultGraphColor%/tr%", "legendName": "data0" }, { "barColor": "%tr%Control::TcHmi.Controls.Beckhoff.TcHmiHorizontalBarChart::DefaultGraphColor%/tr%", "legendName": "data1" } ], "defaultValueInternal": null }, { "name": "data-tchmi-bar-graph-arrangement", "propertyName": "BarGraphArrangement", "propertySetterName": "setBarGraphArrangement", "propertyGetterName": "getBarGraphArrangement", "displayName": "Bar Graph Arrangement", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiHorizontalBarChart.ChartBarGraphArrangement", "category": "Common", "description": "Defines whether separate graphs are displayed on top of each other, next to each other or overlapping.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "Overlapped" }, { "name": "data-tchmi-reference-lines", "propertyName": "ReferenceLines", "propertySetterName": "setReferenceLines", "propertyGetterName": "getReferenceLines", "displayName": "Reference Lines", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiHorizontalBarChart.ChartReferenceLineDefinitionList", "category": "Common", "description": "Defines reference lines that can be displayed in the chart.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-reference-lines-position", "propertyName": "ReferenceLinesPosition", "propertySetterName": "setReferenceLinesPosition", "propertyGetterName": "getReferenceLinesPosition", "displayName": "Reference Lines Position", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiHorizontalBarChart.ChartReferenceLinesPosition", "category": "Common", "description": "Defines whether the reference lines are in the foreground or in the background.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "Background" }, { "name": "data-tchmi-show-legend", "propertyName": "ShowLegend", "propertySetterName": "setShowLegend", "propertyGetterName": "getShowLegend", "displayName": "Show Legend", "visible": true, "themeable": "Standard", "displayPriority": 10, "type": "tchmi:general#/definitions/Boolean", "category": "Common", "description": "Defines whether the legend is displayed or not.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": false }, { "name": "data-tchmi-bar-graph-width", "propertyName": "BarGraphWidth", "propertySetterName": "setBarGraphWidth", "propertyGetterName": "getBarGraphWidth", "displayName": "Bar Graph Width", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:general#/definitions/Number", "category": "Common", "description": "Defines the width of a bar in 'px'.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-show-x-axis", "propertyName": "ShowXAxis", "propertySetterName": "setShowXAxis", "propertyGetterName": "getShowXAxis", "displayName": "Show X Axis", "visible": true, "themeable": "Standard", "displayPriority": 10, "type": "tchmi:general#/definitions/Boolean", "category": "X Axis", "description": "Defines whether the description of the X-axis is displayed or not.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": true }, { "name": "data-tchmi-x-show-labels", "propertyName": "XShowLabels", "propertySetterName": "setXShowLabels", "propertyGetterName": "getXShowLabels", "displayName": "X Show Labels", "visible": true, "themeable": "Standard", "displayPriority": 20, "type": "tchmi:general#/definitions/Boolean", "category": "X Axis", "description": "Defines whether the labels of the X-axis are displayed or not.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": true }, { "name": "data-tchmi-x-position", "propertyName": "XPosition", "propertySetterName": "setXPosition", "propertyGetterName": "getXPosition", "displayName": "X Position", "visible": true, "themeable": "Standard", "displayPriority": 20, "type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiHorizontalBarChart.ChartBarGraphPosition", "category": "X Axis", "description": "Defines the position of the X-axis.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "Left" }, { "name": "data-tchmi-x-axis-auto-scaling", "propertyName": "XAxisAutoScaling", "propertySetterName": "setXAxisAutoScaling", "propertyGetterName": "getXAxisAutoScaling", "displayName": "X Axis Auto Scaling", "visible": true, "themeable": "Standard", "displayPriority": 20, "type": "tchmi:general#/definitions/Boolean", "category": "X Axis", "description": "Defines whether the X-axis is automatically scaled according to the data sets. 'Maintick Min Value', 'Maintick Max Value' and 'X-Axis Maintick Steps' need not be set.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": true }, { "name": "data-tchmi-x-main-tick-min-value", "propertyName": "XMainTickMinValue", "propertySetterName": "setXMainTickMinValue", "propertyGetterName": "getXMainTickMinValue", "displayName": "X Main Tick Min Value", "visible": true, "themeable": "Standard", "displayPriority": 20, "type": "tchmi:general#/definitions/Number", "category": "X Axis", "description": "Defines the minimum value of the X-axis main subdivision.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-x-main-tick-max-value", "propertyName": "XMainTickMaxValue", "propertySetterName": "setXMainTickMaxValue", "propertyGetterName": "getXMainTickMaxValue", "displayName": "X Main Tick Max Value", "visible": true, "themeable": "Standard", "displayPriority": 20, "type": "tchmi:general#/definitions/Number", "category": "X Axis", "description": "Defines the maximumn value of the X-axis main subdivision.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-x-main-tick-steps", "propertyName": "XMainTickSteps", "propertySetterName": "setXMainTickSteps", "propertyGetterName": "getXMainTickSteps", "displayName": "X Main Tick Steps", "visible": true, "themeable": "Standard", "displayPriority": 20, "type": "tchmi:general#/definitions/Number", "category": "X Axis", "description": "Defines the step size of the X-axis main subdivision.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": 11 }, { "name": "data-tchmi-x-axis-decimal-places", "propertyName": "XAxisDecimalPlaces", "propertySetterName": "setXAxisDecimalPlaces", "propertyGetterName": "getXAxisDecimalPlaces", "displayName": "X Axis Decimal Places", "visible": true, "themeable": "Standard", "displayPriority": 20, "type": "tchmi:general#/definitions/Number", "category": "X Axis", "description": "Defines the decimal digits displayed for the X-axis.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": 2 }, { "name": "data-tchmi-x-axis-unit", "propertyName": "XAxisUnit", "propertySetterName": "setXAxisUnit", "propertyGetterName": "getXAxisUnit", "displayName": "X Axis Unit", "visible": true, "themeable": "Standard", "displayPriority": 20, "type": "tchmi:general#/definitions/String", "category": "X Axis", "description": "Defines the displayed unit of the X-axis.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-show-x-axis-name", "propertyName": "ShowXAxisName", "propertySetterName": "setShowXAxisName", "propertyGetterName": "getShowXAxisName", "displayName": "Show X Axis Name", "visible": true, "themeable": "Standard", "displayPriority": 30, "type": "tchmi:general#/definitions/Boolean", "category": "X Axis", "description": "Defines whether the X-axis name is displayed or not.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": false }, { "name": "data-tchmi-x-axis-name", "propertyName": "XAxisName", "propertySetterName": "setXAxisName", "propertyGetterName": "getXAxisName", "displayName": "X Axis Name", "visible": true, "themeable": "Standard", "displayPriority": 30, "type": "tchmi:general#/definitions/String", "category": "X Axis", "description": "Defines the name of the X-axis.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": "x Axis", "defaultValueInternal": null }, { "name": "data-tchmi-x-label-font-family", "propertyName": "XLabelFontFamily", "propertySetterName": "setXLabelFontFamily", "propertyGetterName": "getXLabelFontFamily", "displayName": "X Label Font Family", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/FontFamily", "category": "X Axis", "description": "Defines the font family of the X-axis labels. 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-x-label-font-size", "propertyName": "XLabelFontSize", "propertySetterName": "setXLabelFontSize", "propertyGetterName": "getXLabelFontSize", "displayName": "X Label Font Size", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/MeasurementValue", "category": "X Axis", "description": "Defines the X-axis label font size.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": 12 }, { "name": "data-tchmi-x-label-font-size-unit", "propertyName": "XLabelFontSizeUnit", "propertyGetterName": "getXLabelFontSizeUnit", "refTo": "XLabelFontSize", "displayName": "X Label Font Size Unit", "visible": true, "displayPriority": 60, "type": "tchmi:framework#/definitions/PixelUnit", "category": "X Axis", "description": "Is 'px'.", "readOnly": true, "bindable": false, "defaultBindingMode": "OneWay", "heritable": true, "defaultValueInternal": "px" }, { "name": "data-tchmi-x-label-font-weight", "propertyName": "XLabelFontWeight", "propertySetterName": "setXLabelFontWeight", "propertyGetterName": "getXLabelFontWeight", "displayName": "X Label Font Weight", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/FontWeight", "category": "X Axis", "description": "Defines the font weight of the X-axis label. 'Normal', 'Bold' (glyphs with more weight) or 'Auto' for inherited.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "Auto" }, { "name": "data-tchmi-x-label-font-color", "propertyName": "XLabelFontColor", "propertySetterName": "setXLabelFontColor", "propertyGetterName": "getXLabelFontColor", "displayName": "X Label Font Color", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/SolidColor", "category": "Colors", "description": "Defines the font color of the X-axis label.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-x-axis-width", "propertyName": "XAxisWidth", "propertySetterName": "setXAxisWidth", "propertyGetterName": "getXAxisWidth", "displayName": "X Axis Width", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:general#/definitions/Number", "category": "X Axis", "description": "Defines the thickness of the X-axis.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": 1 }, { "name": "data-tchmi-x-axis-color", "propertyName": "XAxisColor", "propertySetterName": "setXAxisColor", "propertyGetterName": "getXAxisColor", "displayName": "X Axis Color", "visible": true, "themeable": "Standard", "displayPriority": 20, "type": "tchmi:framework#/definitions/SolidColor", "category": "Colors", "description": "Defines the color of the X-axis.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-x-axis-format", "propertyName": "XAxisFormat", "propertySetterName": "setXAxisFormat", "propertyGetterName": "getXAxisFormat", "displayName": "X Axis 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 xAxis label to format. The value is the index of the attribute BarGraphData." } ], "requiredWaitMode": "Synchronous" }, "category": "X Axis", "description": "A formatting function to format the xAxis values (no HTML allowed).", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-x-axis-name-font-family", "propertyName": "XAxisNameFontFamily", "propertySetterName": "setXAxisNameFontFamily", "propertyGetterName": "getXAxisNameFontFamily", "displayName": "X Axis Name Font Family", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/FontFamily", "category": "X Axis", "description": "Defines the X-axis name font family. 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-x-axis-name-font-size", "propertyName": "XAxisNameFontSize", "propertySetterName": "setXAxisNameFontSize", "propertyGetterName": "getXAxisNameFontSize", "displayName": "X Axis Name Font Size", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/MeasurementValue", "category": "X Axis", "description": "Defines the font size of the X-axis name.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": 15 }, { "name": "data-tchmi-x-axis-name-font-size-unit", "propertyName": "XAxisNameFontSizeUnit", "propertyGetterName": "getXAxisNameFontSizeUnit", "refTo": "XAxisNameFontSize", "displayName": "X Axis Name Font Size Unit", "visible": true, "displayPriority": 60, "type": "tchmi:framework#/definitions/PixelUnit", "category": "X Axis", "description": "Is 'px'.", "readOnly": true, "bindable": false, "defaultBindingMode": "OneWay", "heritable": true, "defaultValueInternal": "px" }, { "name": "data-tchmi-x-axis-name-font-weight", "propertyName": "XAxisNameFontWeight", "propertySetterName": "setXAxisNameFontWeight", "propertyGetterName": "getXAxisNameFontWeight", "displayName": "X Axis Name Font Weight", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/FontWeight", "category": "X Axis", "description": "Defines the font weight of the X-axis name. 'Normal', 'Bold' (glyphs with more weight) or 'Auto' for inherited.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "Bold" }, { "name": "data-tchmi-x-axis-name-font-color", "propertyName": "XAxisNameFontColor", "propertySetterName": "setXAxisNameFontColor", "propertyGetterName": "getXAxisNameFontColor", "displayName": "X Axis Name Font Color", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/SolidColor", "category": "Colors", "description": "Defines the font color of the X-axis name.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "allowSymbolExpressionsInObject": true, "defaultValueInternal": null }, { "name": "data-tchmi-show-y-axis", "propertyName": "ShowYAxis", "propertySetterName": "setShowYAxis", "propertyGetterName": "getShowYAxis", "displayName": "Show Y Axis", "visible": true, "themeable": "Standard", "displayPriority": 10, "type": "tchmi:general#/definitions/Boolean", "category": "Y Axis", "description": "Defines whether the Y-axis is displayed or not.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": true }, { "name": "data-tchmi-y-show-labels", "propertyName": "YShowLabels", "propertySetterName": "setYShowLabels", "propertyGetterName": "getYShowLabels", "displayName": "Y Show Labels", "visible": true, "themeable": "Standard", "displayPriority": 20, "type": "tchmi:general#/definitions/Boolean", "category": "Y Axis", "description": "Defines whether the labels of the Y-axis are displayed or not.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": true }, { "name": "data-tchmi-y-logarithmic-scale", "propertyName": "YLogarithmicScale", "propertySetterName": "setYLogarithmicScale", "propertyGetterName": "getYLogarithmicScale", "displayName": "Y Logarithmic Scale", "visible": true, "themeable": "Standard", "displayPriority": 20, "type": "tchmi:general#/definitions/Boolean", "category": "Y Axis", "description": "Defines whether the Y-axis is scaled logarithmically or not.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": false }, { "name": "data-tchmi-y-axis-labeling", "propertyName": "YAxisLabeling", "propertySetterName": "setYAxisLabeling", "propertyGetterName": "getYAxisLabeling", "displayName": "Y Axis Labeling", "visible": true, "themeable": "Standard", "displayPriority": 20, "type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiHorizontalBarChart.ChartAxisLabeling", "category": "Y Axis", "description": "Format of the axis label. Number, Scientific or Auto.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "Number" }, { "name": "data-tchmi-y-axis-auto-scaling", "propertyName": "YAxisAutoScaling", "propertySetterName": "setYAxisAutoScaling", "propertyGetterName": "getYAxisAutoScaling", "displayName": "Y Axis Auto Scaling", "visible": true, "themeable": "Standard", "displayPriority": 20, "type": "tchmi:general#/definitions/Boolean", "category": "Y Axis", "description": "Defines whether the Y-axis is automatically scaled according to the data sets. 'Maintick Min Value', 'Maintick Max Value' and 'X-Axis Maintick Steps' need not be set.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": false }, { "name": "data-tchmi-y-main-tick-min-value", "propertyName": "YMainTickMinValue", "propertySetterName": "setYMainTickMinValue", "propertyGetterName": "getYMainTickMinValue", "displayName": "Y Main Tick Min Value", "visible": true, "themeable": "Standard", "displayPriority": 20, "type": "tchmi:general#/definitions/Number", "category": "Y Axis", "description": "Defines the minimum value of the X-axis main subdivision.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": 0, "defaultValueInternal": null }, { "name": "data-tchmi-y-main-tick-max-value", "propertyName": "YMainTickMaxValue", "propertySetterName": "setYMainTickMaxValue", "propertyGetterName": "getYMainTickMaxValue", "displayName": "Y Main Tick Max Value", "visible": true, "themeable": "Standard", "displayPriority": 20, "type": "tchmi:general#/definitions/Number", "category": "Y Axis", "description": "Defines the maximum value of the X-axis main subdivision.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": 100, "defaultValueInternal": null }, { "name": "data-tchmi-y-main-tick-steps", "propertyName": "YMainTickSteps", "propertySetterName": "setYMainTickSteps", "propertyGetterName": "getYMainTickSteps", "displayName": "Y Main Tick Steps", "visible": true, "themeable": "Standard", "displayPriority": 20, "type": "tchmi:general#/definitions/Number", "category": "Y Axis", "description": "Defines the step size of the Y-axis main subdivision.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": 11 }, { "name": "data-tchmi-show-y-sub-ticks", "propertyName": "ShowYSubTicks", "propertySetterName": "setShowYSubTicks", "propertyGetterName": "getShowYSubTicks", "displayName": "Show Y Sub Ticks", "visible": true, "themeable": "Standard", "displayPriority": 20, "type": "tchmi:general#/definitions/Boolean", "category": "Y Axis", "description": "Defines whether the subdivision of the Y-axis are displayed or not.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": true }, { "name": "data-tchmi-y-sub-tick-steps", "propertyName": "YSubTickSteps", "propertySetterName": "setYSubTickSteps", "propertyGetterName": "getYSubTickSteps", "displayName": "Y Sub Tick Steps", "visible": true, "themeable": "Standard", "displayPriority": 20, "type": "tchmi:general#/definitions/Number", "category": "Y Axis", "description": "Defines the step size of the Y-axis subdivisions.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": 4, "defaultValueInternal": null }, { "name": "data-tchmi-y-axis-decimal-places", "propertyName": "YAxisDecimalPlaces", "propertySetterName": "setYAxisDecimalPlaces", "propertyGetterName": "getYAxisDecimalPlaces", "displayName": "Y Axis Decimal Places", "visible": true, "themeable": "Standard", "displayPriority": 20, "type": "tchmi:general#/definitions/Number", "category": "Y Axis", "description": "Definition of the decimal digits displayed for the Y-axis.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": 2 }, { "name": "data-tchmi-y-axis-unit", "propertyName": "YAxisUnit", "propertySetterName": "setYAxisUnit", "propertyGetterName": "getYAxisUnit", "displayName": "Y Axis Unit", "visible": true, "themeable": "Standard", "displayPriority": 20, "type": "tchmi:general#/definitions/String", "category": "Y Axis", "description": "Defines the displayed unit of the Y-axis.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": "s", "defaultValueInternal": null }, { "name": "data-tchmi-show-y-axis-name", "propertyName": "ShowYAxisName", "propertySetterName": "setShowYAxisName", "propertyGetterName": "getShowYAxisName", "displayName": "Show Y Axis Name", "visible": true, "themeable": "Standard", "displayPriority": 30, "type": "tchmi:general#/definitions/Boolean", "category": "Y Axis", "description": "Defines whether the Y-axis name is displayed or not.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": false }, { "name": "data-tchmi-y-axis-name", "propertyName": "YAxisName", "propertySetterName": "setYAxisName", "propertyGetterName": "getYAxisName", "displayName": "Y Axis Name", "visible": true, "themeable": "Standard", "displayPriority": 30, "type": "tchmi:general#/definitions/String", "category": "Y Axis", "description": "Defines the name of the Y-axis.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": "y Axis 1", "defaultValueInternal": null }, { "name": "data-tchmi-y-label-font-family", "propertyName": "YLabelFontFamily", "propertySetterName": "setYLabelFontFamily", "propertyGetterName": "getYLabelFontFamily", "displayName": "Y Label Font Family", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/FontFamily", "category": "Y Axis", "description": "Defines the font family of the Y-axis labels. 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-y-label-font-size", "propertyName": "YLabelFontSize", "propertySetterName": "setYLabelFontSize", "propertyGetterName": "getYLabelFontSize", "displayName": "Y Label Font Size", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/MeasurementValue", "category": "Y Axis", "description": "Defines the Y-axis label font size.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": 12 }, { "name": "data-tchmi-y-label-font-size-unit", "propertyName": "YLabelFontSizeUnit", "propertyGetterName": "getYLabelFontSizeUnit", "refTo": "YLabelFontSize", "displayName": "Y Label Font Size Unit", "visible": true, "displayPriority": 60, "type": "tchmi:framework#/definitions/PixelUnit", "category": "Y Axis", "description": "Is 'px'.", "readOnly": true, "bindable": false, "defaultBindingMode": "OneWay", "heritable": true, "defaultValueInternal": "px" }, { "name": "data-tchmi-y-label-font-weight", "propertyName": "YLabelFontWeight", "propertySetterName": "setYLabelFontWeight", "propertyGetterName": "getYLabelFontWeight", "displayName": "Y Label Font Weight", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/FontWeight", "category": "Y Axis", "description": "Defines the font weight of the X-axis label. 'Normal', 'Bold' (glyphs with more weight) or 'Auto' for inherited.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "Auto" }, { "name": "data-tchmi-y-label-font-color", "propertyName": "YLabelFontColor", "propertySetterName": "setYLabelFontColor", "propertyGetterName": "getYLabelFontColor", "displayName": "Y Label Font Color", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/SolidColor", "category": "Colors", "description": "Defines the font color of the X-axis label.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-y-axis-width", "propertyName": "YAxisWidth", "propertySetterName": "setYAxisWidth", "propertyGetterName": "getYAxisWidth", "displayName": "Y Axis Width", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:general#/definitions/Number", "category": "Y Axis", "description": "Defines the thickness of the Y-axis.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": 1 }, { "name": "data-tchmi-y-axis-color", "propertyName": "YAxisColor", "propertySetterName": "setYAxisColor", "propertyGetterName": "getYAxisColor", "displayName": "Y Axis Color", "visible": true, "themeable": "Standard", "displayPriority": 20, "type": "tchmi:framework#/definitions/SolidColor", "category": "Colors", "description": "Defines the color of the Y-axis.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-y-axis-name-font-family", "propertyName": "YAxisNameFontFamily", "propertySetterName": "setYAxisNameFontFamily", "propertyGetterName": "getYAxisNameFontFamily", "displayName": "Y Axis Name Font Family", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/FontFamily", "category": "Y Axis", "description": "Defines the Y-axis name font family. 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-y-axis-name-font-size", "propertyName": "YAxisNameFontSize", "propertySetterName": "setYAxisNameFontSize", "propertyGetterName": "getYAxisNameFontSize", "displayName": "Y Axis Name Font Size", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/MeasurementValue", "category": "Y Axis", "description": "Defines the font size of the Y-axis name.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": 15 }, { "name": "data-tchmi-y-axis-name-font-size-unit", "propertyName": "YAxisNameFontSizeUnit", "propertyGetterName": "getYAxisNameFontSizeUnit", "refTo": "YAxisNameFontSize", "displayName": "Y Axis Name Font Size Unit", "visible": true, "displayPriority": 60, "type": "tchmi:framework#/definitions/PixelUnit", "category": "Y Axis", "description": "Is 'px'.", "readOnly": true, "bindable": false, "defaultBindingMode": "OneWay", "heritable": true, "defaultValueInternal": "px" }, { "name": "data-tchmi-y-axis-name-font-weight", "propertyName": "YAxisNameFontWeight", "propertySetterName": "setYAxisNameFontWeight", "propertyGetterName": "getYAxisNameFontWeight", "displayName": "Y Axis Name Font Weight", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/FontWeight", "category": "Y Axis", "description": "Defines the font weight of the Y-axis name. 'Normal', 'Bold' (glyphs with more weight) or 'Auto' for inherited.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "Bold" }, { "name": "data-tchmi-y-axis-name-font-color", "propertyName": "YAxisNameFontColor", "propertySetterName": "setYAxisNameFontColor", "propertyGetterName": "getYAxisNameFontColor", "displayName": "Y Axis Name Font Color", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/SolidColor", "category": "Colors", "description": "Defines the font color of the Y-axis name.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "allowSymbolExpressionsInObject": true, "defaultValueInternal": null }, { "name": "data-tchmi-y-axis-format", "propertyName": "YAxisFormat", "propertySetterName": "setYAxisFormat", "propertyGetterName": "getYAxisFormat", "displayName": "Y Axis 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 xAxis label to format. The value is the index of the attribute BarGraphData." } ], "requiredWaitMode": "Synchronous" }, "category": "Y Axis", "description": "A formatting function to format the yAxis values (no HTML allowed).", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-show-grid", "propertyName": "ShowGrid", "propertySetterName": "setShowGrid", "propertyGetterName": "getShowGrid", "displayName": "Show Grid", "visible": true, "themeable": "Standard", "displayPriority": 10, "type": "tchmi:general#/definitions/Boolean", "category": "Grid", "description": "Defines whether the grid is displayed or not.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": true }, { "name": "data-tchmi-grid-show-horizontal-lines", "propertyName": "GridShowHorizontalLines", "propertySetterName": "setGridShowHorizontalLines", "propertyGetterName": "getGridShowHorizontalLines", "displayName": "Grid Show Horizontal Lines", "visible": true, "themeable": "Standard", "displayPriority": 10, "type": "tchmi:general#/definitions/Boolean", "category": "Grid", "description": "Defines whether the horizontal lines of the grid are displayed or not.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": true }, { "name": "data-tchmi-grid-show-vertical-lines", "propertyName": "GridShowVerticalLines", "propertySetterName": "setGridShowVerticalLines", "propertyGetterName": "getGridShowVerticalLines", "displayName": "Grid Show Vertical Lines", "visible": true, "themeable": "Standard", "displayPriority": 10, "type": "tchmi:general#/definitions/Boolean", "category": "Grid", "description": "Defines whether the vertical lines of the grid are displayed or not.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": true }, { "name": "data-tchmi-grid-background-color", "propertyName": "GridBackgroundColor", "propertySetterName": "setGridBackgroundColor", "propertyGetterName": "getGridBackgroundColor", "displayName": "Grid Background Color", "visible": true, "themeable": "Standard", "displayPriority": 20, "type": "tchmi:framework#/definitions/SolidColor", "category": "Colors", "description": "Defines the background color of the grid.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-grid-line-width", "propertyName": "GridLineWidth", "propertySetterName": "setGridLineWidth", "propertyGetterName": "getGridLineWidth", "displayName": "Grid Line Width", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:general#/definitions/Number", "category": "Grid", "description": "Defines the line width of the grid.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": 1 }, { "name": "data-tchmi-grid-line-style", "propertyName": "GridLineStyle", "propertySetterName": "setGridLineStyle", "propertyGetterName": "getGridLineStyle", "displayName": "Grid Line Style", "visible": true, "displayPriority": 60, "type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.ChartLineStyle", "category": "Grid", "themeable": "Standard", "description": "Defines the style of the grid lines.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "Dashed" }, { "name": "data-tchmi-grid-line-color", "propertyName": "GridLineColor", "propertySetterName": "setGridLineColor", "propertyGetterName": "getGridLineColor", "displayName": "Grid Line Color", "visible": true, "themeable": "Standard", "displayPriority": 20, "type": "tchmi:framework#/definitions/SolidColor", "category": "Colors", "description": "Defines the color of the grid lines.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-subgrid-show-vertical-lines", "propertyName": "SubgridShowVerticalLines", "propertySetterName": "setSubgridShowVerticalLines", "propertyGetterName": "getSubgridShowVerticalLines", "displayName": "Subgrid Show Vertical Lines", "visible": true, "themeable": "Standard", "displayPriority": 20, "type": "tchmi:general#/definitions/Boolean", "category": "Subgrid", "description": "Defines whether the vertical lines of the sub grid are displayed or not.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": false }, { "name": "data-tchmi-subgrid-line-width", "propertyName": "SubgridLineWidth", "propertySetterName": "setSubgridLineWidth", "propertyGetterName": "getSubgridLineWidth", "displayName": "Subgrid Line Width", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:general#/definitions/Number", "category": "Subgrid", "description": "Defines the line width of the sub grid.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": 1 }, { "name": "data-tchmi-subgrid-line-style", "propertyName": "SubgridLineStyle", "propertySetterName": "setSubgridLineStyle", "propertyGetterName": "getSubgridLineStyle", "displayName": "Subgrid Line Style", "visible": true, "displayPriority": 60, "type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.ChartLineStyle", "category": "Subgrid", "themeable": "Standard", "description": "Defines the style of the sub grid lines.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "Dashed" }, { "name": "data-tchmi-subgrid-line-color", "propertyName": "SubgridLineColor", "propertySetterName": "setSubgridLineColor", "propertyGetterName": "getSubgridLineColor", "displayName": "Subgrid Line Color", "visible": true, "themeable": "Standard", "displayPriority": 51, "type": "tchmi:framework#/definitions/SolidColor", "category": "Colors", "description": "Defines the color of the sub grid lines.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-legend-font-family", "propertyName": "LegendFontFamily", "propertySetterName": "setLegendFontFamily", "propertyGetterName": "getLegendFontFamily", "displayName": "Legend Font Family", "visible": true, "themeable": "Standard", "displayPriority": 50, "type": "tchmi:framework#/definitions/FontFamily", "category": "Legend", "description": "Defines the font family of the legend. 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-legend-font-size", "propertyName": "LegendFontSize", "propertySetterName": "setLegendFontSize", "propertyGetterName": "getLegendFontSize", "displayName": "Legend Font Size", "visible": true, "themeable": "Standard", "displayPriority": 50, "type": "tchmi:framework#/definitions/MeasurementValue", "category": "Legend", "description": "Defines the font size of the legend.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": 12 }, { "name": "data-tchmi-legend-font-size-unit", "propertyName": "LegendFontSizeUnit", "propertyGetterName": "getLegendFontSizeUnit", "refTo": "LegendFontSize", "displayName": "Legend Font Size Unit", "visible": true, "displayPriority": 50, "type": "tchmi:framework#/definitions/PixelUnit", "category": "Legend", "description": "Is 'px'.", "readOnly": true, "bindable": false, "defaultBindingMode": "OneWay", "heritable": true, "defaultValueInternal": "px" }, { "name": "data-tchmi-legend-font-style", "propertyName": "LegendFontStyle", "propertySetterName": "setLegendFontStyle", "propertyGetterName": "getLegendFontStyle", "displayName": "Legend Font Style", "visible": true, "themeable": "Standard", "displayPriority": 50, "type": "tchmi:framework#/definitions/FontStyle", "category": "Legend", "description": "Defines the font style of the legend. '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-legend-font-weight", "propertyName": "LegendFontWeight", "propertySetterName": "setLegendFontWeight", "propertyGetterName": "getLegendFontWeight", "displayName": "Legend Font Weight", "visible": true, "themeable": "Standard", "displayPriority": 50, "type": "tchmi:framework#/definitions/FontWeight", "category": "Legend", "description": "Defines the font weight of the legened. 'Normal', 'Bold' (glyphs with more weight) or 'Auto' for inherited.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "Auto" } ], "attributeCategories": [ { "name": "X Axis", "displayPriority": 510, "defaultCollapsed": true, "description": "Attributes defining the X-Axis of the chart." }, { "name": "Y Axis", "displayPriority": 520, "defaultCollapsed": true, "description": "Attributes defining the Y-Axis of the chart." }, { "name": "Grid", "displayPriority": 550, "defaultCollapsed": true, "description": "Attributes defining the grid of the chart." }, { "name": "Subgrid", "displayPriority": 560, "defaultCollapsed": true, "description": "Attributes defining the sub grid of the chart." }, { "name": "Legend", "displayPriority": 570, "defaultCollapsed": true, "description": "Attributes defining the legend of the chart." } ], "themedResources": [ { "name": "DefaultGraphColor", "displayName": "Default Graph Color", "description": "Default Color for Graphs", "type": "tchmi:framework#/definitions/SolidColor" }, { "name": "ReferenceLineColor", "displayName": "Reference Line Color", "description": "Line and label color of reference line", "type": "tchmi:framework#/definitions/SolidColor" }, { "name": "DefaultColorRangeColor", "displayName": "Default Color Range Color", "description": "Default color of color ranges", "type": "tchmi:framework#/definitions/SolidColor" } ], "functions": [], "events": [], "dataTypes": [ { "schema": "Schema/Types.Schema.json" }, { "schema": "../Schema/Types.Schema.json" } ] }