grafana/public
Adrien Raffin-Caboisse 213ba0377b Fix coloring in singlestat if null value (#9438)
This modification aim to allow users to set value via textMapping and
these values to be used in background coloring as it text coloring.

This pull request closes #8404, but doesn't agree with #9012.
The issue #9012 consider that no coloring output should be put when
there is no data. I partially agree with this as I explicitely setted a
value in the textMapping I obviously want to treat `N/A` as a number.

`data.valueFormatted` contain the stringified version of `data.value`

If `Number()` cannot convert a string into a number a `NaN` value is
returned. So the code is still valid if the inputted value in
`data.valueFormatted` is not a number.
2017-10-05 20:26:28 +02:00
..
app Fix coloring in singlestat if null value (#9438) 2017-10-05 20:26:28 +02:00
dashboards Fix typos (#8954) 2017-07-31 12:12:28 +02:00
emails include error message in email notification (#8392) 2017-05-17 09:51:51 +02:00
fonts upgrade to Font Awesome 4.7.0 2017-05-10 09:28:00 +03:00
img adding support for token-based slack file.upload API call for posting images to slack 2017-09-30 21:20:20 -04:00
sass colorpicker: refactoring the new unififed colorpicker, #9347 2017-10-04 07:56:41 +02:00
test Merge branch 'day_rounding' of https://github.com/ctide/grafana into ctide-day_rounding2 2017-10-02 16:20:23 +02:00
vendor Webpack (#9391) 2017-10-01 20:02:25 +02:00
views Webpack (#9391) 2017-10-01 20:02:25 +02:00
robots.txt add support for robots.txt file 2015-06-15 19:02:38 -04:00