mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 04:09:08 +02:00
4fbb1bdbbc
When datasets.data contains a null value, the label displays incorrect value. code additions: - unit tests for truthy label values (when data is null) - checks to ensure handling of null value in getLabelByIndex method added mock data sets from issue #3528 example expect the return value from getLabelForIndex method to be valid (truthy) added check for null of first data value in getLabelForIndex fixed indentation and null comparison operator in code fixed mistake in definition of firstData variable changed testing for data on index 0 to using index variable changed firstData to use value instead condense the statments to use value variable
13 lines
96 B
Plaintext
13 lines
96 B
Plaintext
/coverage
|
|
/custom
|
|
/dist
|
|
/docs/index.md
|
|
/node_modules
|
|
|
|
.DS_Store
|
|
.idea
|
|
.vscode
|
|
bower.json
|
|
|
|
*.swp
|