Open ajduke opened 4 years ago
As this is not a good experience for the starter developer for this library like me, I am planning to raise the PR for the to fix the README
to fix this. I know, in the core of the library we will need to fix this
@ajduke Thanks for pointing it out, we definitely need to fix this. I will merge your PR first and see if I can find a good way to handle this
@timqian I have raised #47 PR to fix this issue, i had already explained in PR why the issue was happening. Let me know, if any changes needs to PR.
Also, this issue will exists in the other charts as well as above or if user is passing options.dataColors
as empty array
Fixed in this commit https://github.com/timqian/chart.xkcd/commit/cef9ba26d5e27fb75ae028c536dabd3a4d143489#diff-fbc43a77b4e8fe64398aa79145272a6bR33
and deployed to v1.1.11
Describe the bug I was tinkering around this library and started the example from the
README.md
for Line chart and found that , its not plotting the graph without presence of theoptions
config. Its plots thex
andy
axes but no lines inside those graph, look forscreenshot 1
for more detailsBut If i do provide the
options
, even with empty object, it plots lines accordinglyScreenshot
Screenshot 1
How to reproduce Look for the codepen link here