I'm submitting a ... (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here
Current behavior
When a data point's value is 0, it does not display a point and is therefore not selectable
Expected behavior
Data point should be displayed and selectable even if the value is 0
Reproduction of the problem
You can actually test in the demo ... Change one of the data values to 0
What is the motivation / use case for changing the behavior?
Displaying additional information about data, whatever the value is.
Please tell us about your environment:
OSX
ngx-charts version: x.x.x
latest, 5.3.1
Angular version: 2.x.x
4.1.1
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Chrome 58.0.3029.110
Language: [all | TypeScript X.X | ES6/7 | ES5]
Typescript
Temporary workaround is to set value to a tiny value ~=0 such as 0.00000000000000001, and can likely be used as a fix.
Is there any other fix for this ?
The only other fix I know of is to use a string "0" for the value.