fix(examples): ui-chart colors + numeric width/height (flow-lint)

Two charts were missing colors and had string width/height. Lint-clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
znetsixe
2026-05-29 19:18:45 +02:00
parent 21d77a8afa
commit e05fe62db9

View File

@@ -727,8 +727,8 @@
"name": "Raw write rate", "name": "Raw write rate",
"label": "Raw field write rate", "label": "Raw field write rate",
"order": 1, "order": 1,
"width": "6", "width": 6,
"height": "4", "height": 4,
"chartType": "line", "chartType": "line",
"category": "topic", "category": "topic",
"xAxisLabel": "time", "xAxisLabel": "time",
@@ -746,7 +746,18 @@
"yAxisProperty": "payload", "yAxisProperty": "payload",
"yAxisPropertyType": "msg", "yAxisPropertyType": "msg",
"action": "append", "action": "append",
"interpolation": "linear" "interpolation": "linear",
"colors": [
"#0095FF",
"#FF0000",
"#FF7F0E",
"#2CA02C",
"#A347E1",
"#D62728",
"#FF9896",
"#9467BD",
"#C5B0D5"
]
}, },
{ {
"id": "cse_ui_chart_knot", "id": "cse_ui_chart_knot",
@@ -756,8 +767,8 @@
"name": "Knot write rate", "name": "Knot write rate",
"label": "CoreSync knot write rate", "label": "CoreSync knot write rate",
"order": 2, "order": 2,
"width": "6", "width": 6,
"height": "4", "height": 4,
"chartType": "line", "chartType": "line",
"category": "topic", "category": "topic",
"xAxisLabel": "time", "xAxisLabel": "time",
@@ -775,7 +786,18 @@
"yAxisProperty": "payload", "yAxisProperty": "payload",
"yAxisPropertyType": "msg", "yAxisPropertyType": "msg",
"action": "append", "action": "append",
"interpolation": "linear" "interpolation": "linear",
"colors": [
"#0095FF",
"#FF0000",
"#FF7F0E",
"#2CA02C",
"#A347E1",
"#D62728",
"#FF9896",
"#9467BD",
"#C5B0D5"
]
}, },
{ {
"id": "cse_dbg_measure_process", "id": "cse_dbg_measure_process",