Chart.js icon indicating copy to clipboard operation
Chart.js copied to clipboard

If a tooltip is too large - try and centralise as much as possible

Open nnnick opened this issue 12 years ago • 3 comments

If the text is bigger than the canvas there's not much we can do, but in cases where the tooltip is just to the left/right of the canvas, we could centralise it more to try and fit within the whole width of the canvas:

Example screenshot: https://mduk.pw/RNFcZ2

nnnick avatar Jun 30 '14 15:06 nnnick

Original issue: #397

nnnick avatar Jun 30 '14 21:06 nnnick

This should already be addressed in v2.

etimberg avatar Dec 23 '15 22:12 etimberg

Closing as v1 is mainly for bug fixes, see https://github.com/chartjs/Chart.js/blob/master/docs/08-Notes.md

fulldecent avatar May 08 '16 19:05 fulldecent