Series

{
"type": "Series",
"properties": {
"labelName": "Data",
"nameSuffix": "Series"
"noun": "Series",
"bindingPropertyName": "data"
},
"template": [
{
"type": "InputBox",
"properties": {
"labelName": "Name:",
"allowBinding": true,
"allowManualEntry": true,
"bindingPropertyName": "id"
}
},
{
"type": "InputBox",
"properties": {
"labelName": "Input Box 1:",
"allowBinding": true,
"allowManualEntry": false,
"bindingPropertyName": "input1"
}
},
{
"type": "InputBox",
"properties": {
"labelName": "Input Box 2:",
"allowBinding": true,
"allowManualEntry": false,
"bindingPropertyName": "input2"
}
},
{
"type": "ColorOpacityInput",
"properties": {
"labelName": "Color Input",
"bindingPropertyName": "colorInput",
"allowCheckbox": true,
"hasOpacity": false
}
},
{
"type": "HR",
"properties": {}
},
{
"type": "Label",
"properties": {
"text": "Some Text here"
}
},
{
"type": "InputBox",
"properties": {
"labelName": "Input Box 3:",
"allowBinding": true,
"allowManualEntry": true,
"bindingPropertyName": "input3"
}
},
{
"type": "HR",
"properties": {}
},
{
"type": "HTMLLabelElement",
"properties": {
"text": "Check boxes:"
}
},
{
"type": "Checkbox",
"properties": {
"labelName": "Check box 1",
"bindingPropertyName": "checkbox1"
}
},
{
"type": "Checkbox",
"properties": {
"labelName": "Check box 2",
"bindingPropertyName": "checkbox2"
}
}
],
"templateState": {
"id": "Series 1",
"input1": "",
"input2": "",
"input3": ""
"colorInput": {
"color": [
{
"color": "#5a5a5a",
"alpha": 1,
"ratio": 0
}
],
"enabled": true,
"weight": 2
},
"checkbox1": true,
"checkbox2": false
}
}The property name needs to match the string specified in bindingPropertyName property. The value will be the default value to show in the input box.
The series pseudo element allows for the end user to add values to an array in state. There are three sections to a series.
Configurable properties

Last updated
Was this helpful?