{ "$schema": "../../TcHmiFramework/Schema/ControlDescription.Schema.json", "apiVersion": 1, "name": "TcHmiSparkline", "namespace": "TcHmi.Controls.Beckhoff", "displayName": "Sparkline", "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 Sparkline.", "defaultDesignerEvent": "", "properties": { "containerControl": false, "geometry": { "width": 300, "height": 100 } }, "icons": [ { "name": "Icons/16x16.png", "width": 16, "height": 16 } ], "template": "Template.html", "dependencyFiles": [ { "name": "Style.css", "type": "Stylesheet", "description": "" }, { "name": "../dist/TcHmiSparkline/TcHmiSparkline.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-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.TcHmiSparkline.LineGraphDescriptionList", "category": "Common", "description": "Description of the line graph data. Defines the presentation in the graph.", "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.TcHmiSparkline.LineGraphDataList", "category": "Common", "description": "The data to be displayed in the sparkline.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-x-axis-start", "propertyName": "XAxisStart", "propertySetterName": "setXAxisStart", "propertyGetterName": "getXAxisStart", "displayName": "X Axis Start", "visible": true, "displayPriority": 10, "type": "tchmi:general#/definitions/Number", "category": "Common", "themeable": "Standard", "description": "The start value of the imagined xAxis of the sparkline.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-x-axis-end", "propertyName": "XAxisEnd", "propertySetterName": "setXAxisEnd", "propertyGetterName": "getXAxisEnd", "displayName": "X Axis End", "visible": true, "displayPriority": 10, "type": "tchmi:general#/definitions/Number", "category": "Common", "themeable": "Standard", "description": "The end value of the imagined xAxis of the sparkline.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-show-label", "propertyName": "ShowLabel", "propertySetterName": "setShowLabel", "propertyGetterName": "getShowLabel", "displayName": "Show Label", "visible": true, "displayPriority": 10, "type": "tchmi:general#/definitions/Boolean", "category": "Label", "description": "Defines whether the label of each the chart is displayed or not.", "themeable": "Standard", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": false }, { "name": "data-tchmi-label-color", "propertyName": "LabelColor", "propertySetterName": "setLabelColor", "propertyGetterName": "getLabelColor", "displayName": "Label Color", "visible": true, "displayPriority": 60, "type": "tchmi:framework#/definitions/SolidColor", "category": "Colors", "themeable": "Standard", "description": "Defines the color of the label.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-label-position", "propertyName": "LabelPosition", "propertySetterName": "setLabelPosition", "propertyGetterName": "getLabelPosition", "displayName": "Label Position", "visible": true, "themeable": "Standard", "displayPriority": 10, "type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiSparkline.LabelPosition", "category": "Label", "description": "Defines where the label is displayed.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "Left" }, { "name": "data-tchmi-label-font-family", "propertyName": "LabelFontFamily", "propertySetterName": "setLabelFontFamily", "propertyGetterName": "getLabelFontFamily", "displayName": "Label Font Family", "visible": true, "displayPriority": 60, "type": "tchmi:framework#/definitions/FontFamily", "category": "Label", "themeable": "Standard", "description": "Defines the font family of the label. Comma separated list of family name or keyword: 'serif', 'sans-serif', 'monospace'.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-label-font-size", "propertyName": "LabelFontSize", "propertySetterName": "setLabelFontSize", "propertyGetterName": "getLabelFontSize", "displayName": "Label Font Size", "visible": true, "displayPriority": 60, "themeable": "Standard", "type": "tchmi:framework#/definitions/MeasurementValue", "category": "Label", "description": "Defines the label font size.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": 12 }, { "name": "data-tchmi-label-font-size-unit", "propertyName": "LabelFontSizeUnit", "propertyGetterName": "getLabelFontSizeUnit", "refTo": "LabelFontSize", "displayName": "Label Font Size Unit", "visible": true, "displayPriority": 50, "type": "tchmi:framework#/definitions/PixelUnit", "category": "Label", "description": "Is 'px'.", "readOnly": true, "bindable": false, "defaultBindingMode": "OneWay", "heritable": true, "defaultValueInternal": "px" }, { "name": "data-tchmi-label-font-weight", "propertyName": "LabelFontWeight", "propertySetterName": "setLabelFontWeight", "propertyGetterName": "getLabelFontWeight", "displayName": "Label Font Weight", "visible": true, "displayPriority": 60, "type": "tchmi:framework#/definitions/FontWeight", "category": "Label", "themeable": "Standard", "description": "Defines the font weight of the 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-y-axis", "propertyName": "ShowYAxis", "propertySetterName": "setShowYAxis", "propertyGetterName": "getShowYAxis", "displayName": "Show YAxis", "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": false }, { "name": "data-tchmi-y-axis-color", "propertyName": "YAxisColor", "propertySetterName": "setYAxisColor", "propertyGetterName": "getYAxisColor", "displayName": "Y Axis Color", "visible": true, "displayPriority": 60, "type": "tchmi:framework#/definitions/SolidColor", "category": "Colors", "themeable": "Standard", "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-position", "propertyName": "YAxisPosition", "propertySetterName": "setYAxisPosition", "propertyGetterName": "getYAxisPosition", "displayName": "YAxis Position", "visible": true, "themeable": "Standard", "displayPriority": 10, "type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiSparkline.AxisPosition", "category": "Y Axis", "description": "Defines where the y-axis is displayed.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "Right" }, { "name": "data-tchmi-y-axis-decimal-places", "propertyName": "YAxisDecimalPlaces", "propertySetterName": "setYAxisDecimalPlaces", "propertyGetterName": "getYAxisDecimalPlaces", "displayName": "Y Axis Decimal Places", "visible": true, "displayPriority": 60, "type": "tchmi:general#/definitions/Number", "category": "Y Axis", "themeable": "Standard", "description": "Determines the decimal places of the label on the y-axis.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": 0 }, { "name": "data-tchmi-y-axis-width", "propertyName": "YAxisWidth", "propertySetterName": "setYAxisWidth", "propertyGetterName": "getYAxisWidth", "displayName": "Y Axis Width", "visible": true, "displayPriority": 60, "type": "tchmi:general#/definitions/Number", "category": "Y Axis", "themeable": "Standard", "description": "Defines the thickness of the Y-axis.", "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, "displayPriority": 60, "type": "tchmi:framework#/definitions/FontFamily", "category": "Y Axis", "themeable": "Standard", "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, "displayPriority": 60, "themeable": "Standard", "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": 50, "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, "displayPriority": 60, "type": "tchmi:framework#/definitions/FontWeight", "category": "Y Axis", "themeable": "Standard", "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" } ], "attributeCategories": [ { "name": "Label", "displayPriority": 510, "description": "Attributes defining the label of the chart" }, { "name": "Y Axis", "displayPriority": 520, "description": "Attributes defining the Y-Axis of the chart" } ], "themedResources": [ { "name": "DefaultGraphColor", "displayName": "Default Graph Color", "description": "Color of a line", "type": "tchmi:framework#/definitions/SolidColor" }, { "name": "DefaultYAxisColor", "displayName": "Default Y Axis Color", "description": "Color of a y-axis line", "type": "tchmi:framework#/definitions/SolidColor" }, { "name": "ReferenceLineColor", "displayName": "Reference Line Color", "description": "Color of a reference line", "type": "tchmi:framework#/definitions/SolidColor" }, { "name": "LabelColor", "displayName": "Label Color", "description": "Color of the label", "type": "tchmi:framework#/definitions/SolidColor" } ], "functions": [], "events": [], "dataTypes": [ { "schema": "Schema/Types.Schema.json" }, { "schema": "../Schema/Types.Schema.json" } ], "languages": { "en": "Lang/Language.en.json", "de": "Lang/Language.de.json" } }