Skip to content

GWT: height of charts legend and title are inside graph? #61

Discussion options

You must be logged in to vote

@MartinSchwarzbauer I have checked more in details you axis configuration and there is a property which is the root cause of the rendering.

Remove the bounds setting in the linear axis or set to Bound.TICKS (instead of Bound.DATA), and it works.

 y_axis.setBounds(Bounds.TICKS);

Anyway the Chart.js community is having a look because there is a weird behavior:

chartjs/Chart.js#9178

Replies: 9 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by stockiNail
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants