Skip to content

Commit

Permalink
fix built-in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve-Mcl committed Sep 24, 2024
1 parent 71f6b33 commit 913ee57
Show file tree
Hide file tree
Showing 3 changed files with 116 additions and 8 deletions.
40 changes: 38 additions & 2 deletions examples/bar-chart.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,23 @@
"group": "",
"name": "",
"label": "Sales in Million",
"order": 9007199254740991,
"order": 3,
"chartType": "bar",
"category": "location",
"categoryType": "property",
"xAxisLabel": "",
"xAxisProperty": "",
"xAxisPropertyType": "msg",
"xAxisPropertyType": "str",
"xAxisType": "category",
"xAxisFormat": "",
"xAxisFormatType": "auto",
"yAxisLabel": "",
"yAxisProperty": "sales_millions",
"yAxisPropertyType": "property",
"ymin": "",
"ymax": "",
"action": "append",
"stackSeries": false,
"pointShape": "circle",
"pointRadius": 4,
"showLegend": false,
Expand Down Expand Up @@ -71,5 +77,35 @@
"2a23595f05d3331e"
]
]
},
{
"id": "f4c5f4c74fbd2db2",
"type": "inject",
"z": "0758321f1687e812",
"name": "Clear",
"props": [
{
"p": "payload"
},
{
"p": "action",
"v": "replace",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "[]",
"payloadType": "json",
"x": 210,
"y": 800,
"wires": [
[
"2a23595f05d3331e"
]
]
}
]
40 changes: 38 additions & 2 deletions examples/line-chart.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,25 @@
"type": "ui-chart",
"z": "0758321f1687e812",
"group": "",
"name": "",
"name": "Line Chart",
"label": "chart",
"order": 9007199254740991,
"chartType": "line",
"category": "location",
"categoryType": "property",
"xAxisLabel": "",
"xAxisProperty": "datestamp",
"xAxisPropertyType": "msg",
"xAxisPropertyType": "property",
"xAxisType": "time",
"xAxisFormat": "",
"xAxisFormatType": "auto",
"yAxisLabel": "",
"yAxisProperty": "temp",
"yAxisPropertyType": "property",
"ymin": "",
"ymax": "",
"action": "append",
"stackSeries": false,
"pointShape": "circle",
"pointRadius": 4,
"showLegend": true,
Expand Down Expand Up @@ -71,5 +77,35 @@
"efccfdf502300871"
]
]
},
{
"id": "33ee5762cce0ee32",
"type": "inject",
"z": "862ec766f2af6f61",
"name": "Clear",
"props": [
{
"p": "payload"
},
{
"p": "action",
"v": "replace",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "[]",
"payloadType": "json",
"x": 290,
"y": 1100,
"wires": [
[
"efccfdf502300871"
]
]
}
]
44 changes: 40 additions & 4 deletions examples/scatter-chart.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,25 @@
"type": "ui-chart",
"z": "0758321f1687e812",
"group": "",
"name": "",
"name": "Scatter Chart",
"label": "chart",
"order": 9007199254740991,
"order": 4,
"chartType": "scatter",
"category": "",
"categoryType": "str",
"xAxisLabel": "",
"xAxisProperty": "x",
"xAxisPropertyType": "msg",
"xAxisPropertyType": "property",
"xAxisType": "linear",
"xAxisFormat": "",
"xAxisFormatType": "auto",
"yAxisLabel": "",
"yAxisProperty": "y",
"yAxisPropertyType": "property",
"ymin": "",
"ymax": "",
"action": "replace",
"stackSeries": false,
"pointShape": "circle",
"pointRadius": 4,
"showLegend": true,
Expand Down Expand Up @@ -47,7 +53,7 @@
"id": "937b42a40fdcf424",
"type": "inject",
"z": "0758321f1687e812",
"name": "",
"name": "Arc data",
"props": [
{
"p": "payload"
Expand All @@ -71,5 +77,35 @@
"91ced026339a3eeb"
]
]
},
{
"id": "60e4dfb81bdbcb03",
"type": "inject",
"z": "0758321f1687e812",
"name": "Clear",
"props": [
{
"p": "payload"
},
{
"p": "action",
"v": "replace",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "[]",
"payloadType": "json",
"x": 250,
"y": 860,
"wires": [
[
"91ced026339a3eeb"
]
]
}
]

0 comments on commit 913ee57

Please sign in to comment.