Singlestat: Add y min/max config to singlestat sparklines (#17527)

* Add scaling toggle to Singlestat panel

This toggle allows a user to choose between auto scaling or
zero-based scaling.

* Update Singlestat docs to include Zero Scale option

* Add min/max config to Singlestat sparklines y axis
This commit is contained in:
☃ pitr
2019-06-11 21:39:09 +02:00
committed by Torkel Ödegaard
parent fcd2fb8b04
commit 3e64214338
3 changed files with 19 additions and 4 deletions

View File

@@ -57,8 +57,10 @@ Sparklines are a great way of seeing the historical data related to the summary
1. **Show**: The show checkbox will toggle whether the spark line is shown in the Panel. When unselected, only the Singlestat value will appear.
2. **Full Height**: Check if you want the sparklines to take up the full panel height, or uncheck if they should be below the main Singlestat value.
3. **Line Color**: This color selection applies to the color of the sparkline itself.
4. **Fill Color**: This color selection applies to the area below the sparkline.
3. **Y-Min**: The minimum Y value. (default auto)
4. **Y-Max**: The maximum Y value. (default auto)
5. **Line Color**: This color selection applies to the color of the sparkline itself.
6. **Fill Color**: This color selection applies to the area below the sparkline.
<div class="clearfix"></div>