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.
Name |
Last commit
|
Last Update |
---|---|---|
.github | Loading commit data... | |
.hooks | Loading commit data... | |
conf | Loading commit data... | |
docker | Loading commit data... | |
docs | Loading commit data... | |
emails | Loading commit data... | |
examples | Loading commit data... | |
packaging | Loading commit data... | |
pkg | Loading commit data... | |
public | Loading commit data... | |
scripts | Loading commit data... | |
tests | Loading commit data... | |
vendor | Loading commit data... | |
.bra.toml | Loading commit data... | |
.editorconfig | Loading commit data... | |
.gitignore | Loading commit data... | |
.jscs.json | Loading commit data... | |
.jshintrc | Loading commit data... | |
CHANGELOG.md | Loading commit data... | |
CODE_OF_CONDUCT.md | Loading commit data... | |
Gruntfile.js | Loading commit data... | |
LICENSE.md | Loading commit data... | |
Makefile | Loading commit data... | |
NOTICE.md | Loading commit data... | |
README.md | Loading commit data... | |
ROADMAP.md | Loading commit data... | |
appveyor.yml | Loading commit data... | |
build.go | Loading commit data... | |
circle.yml | Loading commit data... | |
karma.conf.js | Loading commit data... | |
latest.json | Loading commit data... | |
package.json | Loading commit data... | |
tsconfig.json | Loading commit data... | |
tslint.json | Loading commit data... | |
yarn.lock | Loading commit data... |