You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BUG: Graph is stick out when set min or max options to yAxes. #3506
Hello. When I set min (or max) parameter to yAxes options in line chart, data which less than min value (or greater than max value) is sticked out from drawing area, and labels are overlayed with lines. It also occurs in bar chart.
I know when I set suggestedMin options to yAxes, y-axis labels are auto-scaled. But I want to hide data less than specified value. Is that a bug or can I get any solutions?
Expected Behavior
Values less than min or greater than max value are not displayed from drawing area, and labels are not overlayed with data.
Activity
etimberg commentedon Oct 23, 2016
Thanks for the detailed report. You can add some basic clipping by adding the following plugin to your chart
Closing as duplicate of #3491 and #2870
Implement clipping (#3658)
Implement clipping (chartjs#3658)