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

Broken Tooltip Array Returns

Open griffinlacek opened this issue 10 years ago • 2 comments

Currently returning an array from a tooltip callback will not show the array content, which are supposed to be their own lines for each index of the array. This functionality works with 2.1.4. Returning one string works as expected.

https://codepen.io/griffinlacek/pen/rLeXro

griffinlacek avatar Jun 14 '16 22:06 griffinlacek

@griffinlacek I fixed this in #2776 and pushed a new release v2.1.6 that has this fix. My apologies for the inconvenience.

etimberg avatar Jun 14 '16 23:06 etimberg

@griffinlacek I think in the tooltip an array gets reduced with a comma instead of showing multi-lines, is that possible?

faulix avatar Oct 15 '16 13:10 faulix