1643 lines
65 KiB
JSON
1643 lines
65 KiB
JSON
{
|
|
"$schema": "../../TcHmiFramework/Schema/ControlDescription.Schema.json",
|
|
"apiVersion": 1,
|
|
"name": "TcHmiLineChart",
|
|
"namespace": "TcHmi.Controls.Beckhoff",
|
|
"displayName": "Line 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 Line 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/TcHmiLineChart/TcHmiLineChart.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-line-graph-descriptions",
|
|
"propertyName": "LineGraphDescriptions",
|
|
"propertySetterName": "setLineGraphDescriptions",
|
|
"propertyGetterName": "getLineGraphDescriptions",
|
|
"displayName": "Line Graph Descriptions",
|
|
"visible": true,
|
|
"themeable": "Advanced",
|
|
"displayPriority": 10,
|
|
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiLineChart.ChartLineGraphDescriptionDefinitionList",
|
|
"category": "Common",
|
|
"description": "Description of the line graph data. Defines the presentation in the graph and the legend.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"allowSymbolExpressionsInObject": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"name": "data-tchmi-line-graph-data",
|
|
"propertyName": "LineGraphData",
|
|
"propertySetterName": "setLineGraphData",
|
|
"propertyGetterName": "getLineGraphData",
|
|
"displayName": "Line Graph Data",
|
|
"visible": true,
|
|
"themeable": "Advanced",
|
|
"displayPriority": 10,
|
|
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiLineChart.ChartLineGraphDataDefinitionList",
|
|
"category": "Common",
|
|
"description": "The data to be displayed in the line chart.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"allowSymbolExpressionsInObject": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"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-reference-lines",
|
|
"propertyName": "ReferenceLines",
|
|
"propertySetterName": "setReferenceLines",
|
|
"propertyGetterName": "getReferenceLines",
|
|
"displayName": "Reference Lines",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 60,
|
|
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiLineChart.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.TcHmiLineChart.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-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-logarithmic-scale",
|
|
"propertyName": "XLogarithmicScale",
|
|
"propertySetterName": "setXLogarithmicScale",
|
|
"propertyGetterName": "getXLogarithmicScale",
|
|
"displayName": "X Logarithmic Scale",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 20,
|
|
"type": "tchmi:general#/definitions/Boolean",
|
|
"category": "X Axis",
|
|
"description": "Defines whether the X-axis is scaled logarithmically or not..",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": false
|
|
},
|
|
{
|
|
"name": "data-tchmi-x-axis-labeling",
|
|
"propertyName": "XAxisLabeling",
|
|
"propertySetterName": "setXAxisLabeling",
|
|
"propertyGetterName": "getXAxisLabeling",
|
|
"displayName": "X Axis Labeling",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 20,
|
|
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiLineChart.ChartAxisLabeling",
|
|
"category": "X Axis",
|
|
"description": "Defines the format of the X-axis label. Number, Scientific or Auto.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": "Number"
|
|
},
|
|
{
|
|
"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": false
|
|
},
|
|
{
|
|
"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": 0,
|
|
"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 minimum value of the X-axis main subdivision.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": 100,
|
|
"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-show-x-sub-ticks",
|
|
"propertyName": "ShowXSubTicks",
|
|
"propertySetterName": "setShowXSubTicks",
|
|
"propertyGetterName": "getShowXSubTicks",
|
|
"displayName": "Show X Sub Ticks",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 20,
|
|
"type": "tchmi:general#/definitions/Boolean",
|
|
"category": "X Axis",
|
|
"description": "Defines whether the subdivision of the X-axis are displayed or not.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": true
|
|
},
|
|
{
|
|
"name": "data-tchmi-x-sub-tick-steps",
|
|
"propertyName": "XSubTickSteps",
|
|
"propertySetterName": "setXSubTickSteps",
|
|
"propertyGetterName": "getXSubTickSteps",
|
|
"displayName": "X Sub 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 subdivisions.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": 4,
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"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": "s",
|
|
"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 1",
|
|
"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": null
|
|
},
|
|
{
|
|
"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-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,
|
|
"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."
|
|
}
|
|
],
|
|
"requiredWaitMode": "Synchronous"
|
|
},
|
|
"category": "X Axis",
|
|
"description": "A formatting function to format the xAxis values (HTML not allowed).",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"allowSymbolExpressionsInObject": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"name": "data-tchmi-y-axis",
|
|
"propertyName": "YAxis",
|
|
"propertySetterName": "setYAxis",
|
|
"propertyGetterName": "getYAxis",
|
|
"displayName": "Y Axis",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 10,
|
|
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiLineChart.ChartYAxisDefinitionList",
|
|
"category": "Y Axis",
|
|
"description": "Defines one or more Y-axes.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"allowSymbolExpressionsInObject": true,
|
|
"defaultValue": [
|
|
{
|
|
"id": 1,
|
|
"showAxis": true,
|
|
"position": "Left",
|
|
"logarithmicScale": false,
|
|
"axisLabeling": "Number",
|
|
"mainTickMinValue": 0,
|
|
"mainTickMaxValue": 100,
|
|
"showLabels": true,
|
|
"labelFontColor": "%tr%Control::TcHmi.Controls.Beckhoff.TcHmiLineChart::YAxisLabelFontColor%/tr%",
|
|
"axisColor": "%tr%Control::TcHmi.Controls.Beckhoff.TcHmiLineChart::YAxisAxisColor%/tr%",
|
|
"showAxisName": true,
|
|
"axisName": "y Axis 1",
|
|
"axisNameFontFamily": null,
|
|
"axisNameFontSize": 15,
|
|
"axisNameFontSizeUnit": "px",
|
|
"axisNameFontWeight": "Bold",
|
|
"axisNameFontColor": "%tr%Control::TcHmi.Controls.Beckhoff.TcHmiLineChart::YAxisAxisNameFontColor%/tr%",
|
|
"decimalPlaces": 2,
|
|
"unit": "mm",
|
|
"autoScaling": false
|
|
},
|
|
{
|
|
"id": 2,
|
|
"showAxis": true,
|
|
"position": "Right",
|
|
"logarithmicScale": false,
|
|
"axisLabeling": "Number",
|
|
"mainTickMinValue": 10,
|
|
"mainTickMaxValue": 20,
|
|
"decimalPlaces": 2,
|
|
"showLabels": true,
|
|
"showAxisName": true,
|
|
"axisName": "y Axis 2",
|
|
"axisNameFontFamily": null,
|
|
"axisNameFontSize": 15,
|
|
"axisNameFontSizeUnit": "px",
|
|
"axisNameFontWeight": "Bold",
|
|
"axisNameFontColor": "%tr%Control::TcHmi.Controls.Beckhoff.TcHmiLineChart::YAxisAxisNameFontColor%/tr%",
|
|
"axisColor": "%tr%Control::TcHmi.Controls.Beckhoff.TcHmiLineChart::YAxisAxisColor%/tr%",
|
|
"labelFontColor": "%tr%Control::TcHmi.Controls.Beckhoff.TcHmiLineChart::YAxisLabelFontColor%/tr%",
|
|
"unit": "mm"
|
|
}
|
|
],
|
|
"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-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 widht of the Y-axes.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": 1
|
|
},
|
|
{
|
|
"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": null
|
|
},
|
|
{
|
|
"name": "data-tchmi-y-label-font-size-unit",
|
|
"propertyName": "YLabelFontSizeUnit",
|
|
"propertyGetterName": "getYLabelFontSizeUnit",
|
|
"refTo": "YLabelFontSize",
|
|
"displayName": "Y Label Font Size Unit",
|
|
"visible": true,
|
|
"type": "tchmi:framework#/definitions/PixelUnit",
|
|
"category": "Y Axis",
|
|
"displayPriority": 60,
|
|
"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-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": 20,
|
|
"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": 20,
|
|
"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-horizontal-lines",
|
|
"propertyName": "SubgridShowHorizontalLines",
|
|
"propertySetterName": "setSubgridShowHorizontalLines",
|
|
"propertyGetterName": "getSubgridShowHorizontalLines",
|
|
"displayName": "Subgrid Show Horizontal Lines",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 20,
|
|
"type": "tchmi:general#/definitions/Boolean",
|
|
"category": "Subgrid",
|
|
"description": "Defines whether the horizontal 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-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-show-menu-bar",
|
|
"propertyName": "ShowMenuBar",
|
|
"propertySetterName": "setShowMenuBar",
|
|
"propertyGetterName": "getShowMenuBar",
|
|
"displayName": "Show Menu Bar",
|
|
"visible": true,
|
|
"displayPriority": 10,
|
|
"type": "tchmi:general#/definitions/Boolean",
|
|
"category": "Menu Bar",
|
|
"themeable": "Standard",
|
|
"description": "Defines whether the menu bar is displayed or not.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": false
|
|
},
|
|
{
|
|
"name": "data-tchmi-menu-bar-position",
|
|
"propertyName": "MenuBarPosition",
|
|
"propertySetterName": "setMenuBarPosition",
|
|
"propertyGetterName": "getMenuBarPosition",
|
|
"displayName": "Menu Bar Position",
|
|
"visible": true,
|
|
"displayPriority": 20,
|
|
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiLineChart.ChartMenuBarPosition",
|
|
"category": "Menu Bar",
|
|
"themeable": "Standard",
|
|
"description": "The position (top or botton) of the menu bar.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": "Bottom"
|
|
},
|
|
{
|
|
"name": "data-tchmi-show-tooltip",
|
|
"propertyName": "ShowTooltip",
|
|
"propertySetterName": "setShowTooltip",
|
|
"propertyGetterName": "getShowTooltip",
|
|
"displayName": "Show Tooltip",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 10,
|
|
"type": "tchmi:general#/definitions/Boolean",
|
|
"category": "Tooltip",
|
|
"description": "Defines whether a tooltip is displayed when the mouse hovers over a data point or not.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": true
|
|
},
|
|
{
|
|
"name": "data-tchmi-tooltip-format",
|
|
"propertyName": "TooltipFormat",
|
|
"propertySetterName": "setTooltipFormat",
|
|
"propertyGetterName": "getTooltipFormat",
|
|
"displayName": "Tooltip 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 x-value to format."
|
|
},
|
|
{
|
|
"type": "tchmi:general#/definitions/Number",
|
|
"description": "The y-value to format."
|
|
}
|
|
],
|
|
"requiredWaitMode": "Synchronous"
|
|
},
|
|
"category": "Tooltip",
|
|
"description": "A formatting function to format the tooltip text (HTML allowed).",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"allowSymbolExpressionsInObject": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"name": "data-tchmi-tooltip-font-family",
|
|
"propertyName": "TooltipFontFamily",
|
|
"propertySetterName": "setTooltipFontFamily",
|
|
"propertyGetterName": "getTooltipFontFamily",
|
|
"displayName": "Tooltip Font Family",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 60,
|
|
"type": "tchmi:framework#/definitions/FontFamily",
|
|
"category": "Tooltip",
|
|
"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-tooltip-font-size",
|
|
"propertyName": "TooltipFontSize",
|
|
"propertySetterName": "setTooltipFontSize",
|
|
"propertyGetterName": "getTooltipFontSize",
|
|
"displayName": "Tooltip Font Size",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 60,
|
|
"type": "tchmi:framework#/definitions/MeasurementValue",
|
|
"category": "Tooltip",
|
|
"description": "The size of the font.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"name": "data-tchmi-tooltip-font-size-unit",
|
|
"propertyName": "TooltipFontSizeUnit",
|
|
"propertyGetterName": "getTooltipFontSizeUnit",
|
|
"refTo": "TooltipFontSize",
|
|
"displayName": "Tooltip Font Size Unit",
|
|
"visible": true,
|
|
"displayPriority": 60,
|
|
"type": "tchmi:framework#/definitions/PixelUnit",
|
|
"category": "Tooltip",
|
|
"description": "Is 'px'.",
|
|
"readOnly": true,
|
|
"bindable": false,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValueInternal": "px"
|
|
},
|
|
{
|
|
"name": "data-tchmi-tooltip-font-weight",
|
|
"propertyName": "TooltipFontWeight",
|
|
"propertySetterName": "setTooltipFontWeight",
|
|
"propertyGetterName": "getTooltipFontWeight",
|
|
"displayName": "Tooltip Font Weight",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 60,
|
|
"type": "tchmi:framework#/definitions/FontWeight",
|
|
"category": "Tooltip",
|
|
"description": "'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-tooltip-font-color",
|
|
"propertyName": "TooltipFontColor",
|
|
"propertySetterName": "setTooltipFontColor",
|
|
"propertyGetterName": "getTooltipFontColor",
|
|
"displayName": "Tooltip Font Color",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 60,
|
|
"type": "tchmi:framework#/definitions/SolidColor",
|
|
"category": "Colors",
|
|
"description": "Defines the text color of the tooltip.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"allowSymbolExpressionsInObject": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"name": "data-tchmi-tooltip-background-color",
|
|
"propertyName": "TooltipBackgroundColor",
|
|
"propertySetterName": "setTooltipBackgroundColor",
|
|
"propertyGetterName": "getTooltipBackgroundColor",
|
|
"displayName": "Tooltip Background Color",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 60,
|
|
"type": "tchmi:framework#/definitions/Color",
|
|
"category": "Colors",
|
|
"description": "Defines the background color of the tooltip.",
|
|
"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"
|
|
},
|
|
{
|
|
"name": "data-tchmi-mouse-mode",
|
|
"propertyName": "MouseMode",
|
|
"propertySetterName": "setMouseMode",
|
|
"propertyGetterName": "getMouseMode",
|
|
"displayName": "Mouse Mode",
|
|
"visible": true,
|
|
"displayPriority": 60,
|
|
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiLineChart.ChartMouseMode",
|
|
"category": "Common",
|
|
"themeable": "Advanced",
|
|
"description": "The mouse mode in stop modus.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": "PanX"
|
|
}
|
|
],
|
|
"attributeCategories": [
|
|
{
|
|
"name": "X Axis",
|
|
"displayPriority": 510,
|
|
"defaultCollapsed": false,
|
|
"description": "Attributes defining the X-Axis of the chart."
|
|
},
|
|
{
|
|
"name": "Y Axis",
|
|
"displayPriority": 520,
|
|
"defaultCollapsed": false,
|
|
"description": "Attributes defining the Y-Axis of the chart."
|
|
},
|
|
{
|
|
"name": "Grid",
|
|
"displayPriority": 550,
|
|
"defaultCollapsed": false,
|
|
"description": "Attributes defining the grid of the chart."
|
|
},
|
|
{
|
|
"name": "Subgrid",
|
|
"displayPriority": 560,
|
|
"defaultCollapsed": false,
|
|
"description": "Attributes defining the sub grid of the chart."
|
|
},
|
|
{
|
|
"name": "Menu Bar",
|
|
"displayPriority": 590,
|
|
"description": "Attributes defining the menu bar"
|
|
},
|
|
{
|
|
"name": "Tooltip",
|
|
"displayPriority": 570,
|
|
"defaultCollapsed": false,
|
|
"description": "Attributes defining the tooltip of the chart."
|
|
},
|
|
{
|
|
"name": "Legend",
|
|
"displayPriority": 580,
|
|
"defaultCollapsed": true,
|
|
"description": "Attributes defining the legend of the chart."
|
|
}
|
|
],
|
|
"functions": [
|
|
{
|
|
"name": "pause",
|
|
"displayName": "pause",
|
|
"visible": true,
|
|
"description": "Stop getting new data.",
|
|
"category": "Common",
|
|
"params": [],
|
|
"type": null,
|
|
"heritable": true
|
|
},
|
|
{
|
|
"name": "resetZoom",
|
|
"displayName": "resetZoom",
|
|
"visible": true,
|
|
"description": "Reset the zooming and panning.",
|
|
"category": "Common",
|
|
"params": [],
|
|
"type": null,
|
|
"heritable": true
|
|
},
|
|
{
|
|
"name": "play",
|
|
"displayName": "play",
|
|
"visible": true,
|
|
"description": "Reset the zoom and get new data.",
|
|
"category": "Common",
|
|
"params": [],
|
|
"type": null,
|
|
"heritable": true
|
|
}
|
|
],
|
|
"events": [],
|
|
"themedResources": [
|
|
{
|
|
"name": "LineGraphDescriptionLineColor",
|
|
"displayName": "Line Graph Description Line Color",
|
|
"description": "Color of a line",
|
|
"type": "tchmi:framework#/definitions/SolidColor"
|
|
},
|
|
{
|
|
"name": "LineGraphDescriptionPointDotFillColor",
|
|
"displayName": "Line Graph Description Point Dot Fill Color",
|
|
"description": "Fill color of a point",
|
|
"type": "tchmi:framework#/definitions/SolidColor"
|
|
},
|
|
{
|
|
"name": "LineGraphDescriptionPointDotStrokeColor",
|
|
"displayName": "Line Graph Description Point Dot Stroke Color",
|
|
"description": "Stroke color of a point",
|
|
"type": "tchmi:framework#/definitions/SolidColor"
|
|
},
|
|
{
|
|
"name": "YAxisLabelFontColor",
|
|
"displayName": "Y Axis Label Font Color",
|
|
"description": "Font color of yAxis",
|
|
"type": "tchmi:framework#/definitions/SolidColor"
|
|
},
|
|
{
|
|
"name": "YAxisAxisColor",
|
|
"displayName": "Y Axis Axis Color",
|
|
"description": "Axis color of yAxis",
|
|
"type": "tchmi:framework#/definitions/SolidColor"
|
|
},
|
|
{
|
|
"name": "YAxisAxisNameFontColor",
|
|
"displayName": "Y Axis Axis Name Font Color",
|
|
"description": "Axis name color of yAxis",
|
|
"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": "LineGraphDescriptionFillColor",
|
|
"displayName": "Line Graph Description Fill Color",
|
|
"description": "Fill color of an area",
|
|
"type": "tchmi:framework#/definitions/SolidColor"
|
|
},
|
|
{
|
|
"name": "DefaultColorRangeColor",
|
|
"displayName": "Default Color Range Color",
|
|
"description": "Default color of color ranges",
|
|
"type": "tchmi:framework#/definitions/SolidColor"
|
|
},
|
|
{
|
|
"name": "DefaultFillColorRangeColor",
|
|
"displayName": "Default Fill Color Range Color",
|
|
"description": "Default fill color of color ranges",
|
|
"type": "tchmi:framework#/definitions/SolidColor"
|
|
},
|
|
{
|
|
"name": "HighlightDotColor",
|
|
"displayName": "Point Dot Highlight Color",
|
|
"description": "Color for the highlighted fill of the dot.",
|
|
"type": "tchmi:framework#/definitions/SolidColor"
|
|
},
|
|
{
|
|
"name": "HighlightDotStrokeColor",
|
|
"displayName": "Point Dot Stroke Highlight Color",
|
|
"description": "Color for the stroke of the dot if the dot is to be highlighted",
|
|
"type": "tchmi:framework#/definitions/SolidColor"
|
|
}
|
|
],
|
|
"dataTypes": [
|
|
{
|
|
"schema": "Schema/Types.Schema.json"
|
|
},
|
|
{
|
|
"schema": "../Schema/Types.Schema.json"
|
|
}
|
|
],
|
|
"languages": {
|
|
"en": "Lang/Language.en.json",
|
|
"de": "Lang/Language.de.json"
|
|
}
|
|
} |