Skip to content

Commit

Permalink
dataRef overrides
Browse files Browse the repository at this point in the history
This extends the panelConfig to support dataRef overrides at the
label, labelColor, fillColor level. This allows people to configure
thresholds from a different data source. i.e. they might have a
normailized metric for thresholds alongside the actual value metric
that should be displayed.

This also completes the tidyup of the troublehooting->debugging rename.
  • Loading branch information
andymchugh committed Feb 17, 2024
1 parent 3df2261 commit 143019b
Show file tree
Hide file tree
Showing 6 changed files with 267 additions and 185 deletions.
6 changes: 3 additions & 3 deletions provisioning/dashboards/dashboard1_FlowPanel.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"showLineNumbers": false,
"showMiniMap": false
},
"content": "# The Flow Panel\n\nThis dashboard along with the two companion dashboards demonstrate the core functionality of the Flow panel:\n|Features|Features|Features|Features|\n|--------|--------|--------|--------|\n|label content|panel config|units|time-slider|\n|label color|site config|tooltips|url links|\n|fill color|variable config overrides|auto-scaling|hue gradient|\n\n\nThe first panel is what you get out-the-box when you create a FLow panel. A basic SVG driven\nfrom test data via sample config. It shows everything working and is the starting point\nfor someone to go exploring. How they should explore is explained in the\n[Docs](https://github.com/andymchugh/andrewbmchugh-flow-panel-docs/blob/main/README.md) which are\nreachable from the SVG widget as well as the 'Docs' button in the Troubleshooting section of\nthe editor.\n\nThe second panel shows a more typical usage to give a sense of the range of widget support\nyou get from using a product like draw.io. It's more aspirational, helping them reason\nabout how to apply it to their own architecture and see the benefits of a shared siteConfig\nin terms of data maintenance.\n",
"content": "# The Flow Panel\n\nThis dashboard along with the two companion dashboards demonstrate the core functionality of the Flow panel:\n|Features|Features|Features|Features|\n|--------|--------|--------|--------|\n|label content|panel config|units|time-slider|\n|label color|site config|tooltips|url links|\n|fill color|variable config overrides|auto-scaling|hue gradient|\n\n\nThe first panel is what you get out-the-box when you create a FLow panel. A basic SVG driven\nfrom test data via sample config. It shows everything working and is the starting point\nfor someone to go exploring. How they should explore is explained in the\n[Docs](https://github.com/andymchugh/andrewbmchugh-flow-panel-docs/blob/main/README.md) which are\nreachable from the SVG widget as well as the 'Docs' button in the Debugging section of\nthe editor.\n\nThe second panel shows a more typical usage to give a sense of the range of widget support\nyou get from using a product like draw.io. It's more aspirational, helping them reason\nabout how to apply it to their own architecture and see the benefits of a shared siteConfig\nin terms of data maintenance.\n",
"mode": "markdown"
},
"pluginVersion": "10.0.3",
Expand All @@ -64,7 +64,7 @@
"svg": "https://raw.githubusercontent.com/andymchugh/andrewbmchugh-flow-panel-docs/main/examples/darkThemeSvg1.svg",
"testDataEnabled": true,
"timeSliderEnabled": true,
"troubleshootingCtr": {
"debuggingCtr": {
"dataCtr": 0,
"mappingsCtr": 0
}
Expand All @@ -89,7 +89,7 @@
"svg": "https://raw.githubusercontent.com/andymchugh/andrewbmchugh-flow-panel-docs/main/examples/darkThemeSvg2.svg",
"testDataEnabled": true,
"timeSliderEnabled": true,
"troubleshootingCtr": {
"debuggingCtr": {
"dataCtr": 0,
"mappingsCtr": 0
}
Expand Down
Loading

0 comments on commit 143019b

Please sign in to comment.