summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorYuriy Taraday <yorik.sar@gmail.com>2020-02-24 20:57:57 +0400
committerGitHub <noreply@github.com>2020-02-24 09:57:57 -0700
commit48229898d362d5de316a651dc2f132ac578fbeb6 (patch)
tree98f9171c03be64016d0e7dee130f0f01abe00564 /web
parent8976349db7fe26b70669f43b62c7e3a21ba7f1ba (diff)
Fix formatting in "Custom dashboards" section (#8102)
It seems `` was replaced by ".
Diffstat (limited to 'web')
-rw-r--r--web/gui/custom/README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/gui/custom/README.md b/web/gui/custom/README.md
index d237e907b7..43ea251898 100644
--- a/web/gui/custom/README.md
+++ b/web/gui/custom/README.md
@@ -612,7 +612,8 @@ provided by the snippet:
data-easypiechart-min-value="20"
data-easypiechart-max-value="40"
></div>
-`"
+```
+
In the first example, a value of `30`, without specifying the minimum, fills the chart bar to '75 %` (100% / 40 * 30). However, in this example the range is now `20` (40 - 20 = 20). The value `30` will fill the chart to ** '50 %`**, since it's in the middle between 20 and 40.
This szenario is useful if you have metrics that change only within a specific range, e.g. temperatures that are very unlikely to fall out of range. In these cases it is more useful to have the chart render the values between the given min and max, to better highlight the changes within them.