Note: I think it’s a different problem than #4759. That problem might have to do with total chart padding and this doesn’t (I’ve tested). Here, specifically the top of a
<Line> chart is getting clipped/cut off early.
Edit: So far, the padding I’ve been able to add is to the outside of the whole chart, not to just an axis itself. I’ll keep looking for a way to do that.
I think you can add extra padding to make it work, but is this the indended behavior to start with? Is that the intended solution? Is the chart being created incorrectly (see below)? If so, it’s not a bug, but then a note about padding could be added to the docs because it seems non-obvious. To be fair, maybe it’s there and I didn’t see it.
Steps to Reproduce (for bugs)
A link to the gh-pages live example would be useless because that code is going to change, but here’s a pastebin of the current code:
I’m not sure if it’s relevant, but it’s meant to be a graph showing effects of income on various other factors.
- Chart.js version: 2.7
- Browser name and version: Chrome 61.0.3163.100
- Link to your project: Again, the project code is not going to stay the same