Feature Requesthacktoberfest
Repository metrics
- Stars
- (14,858 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
Hi there.
Firstly, thanks for an amazing lib! It's a breeze to use : )
I'm wondering if under tooltipOptions I could also pass in a format method to deal with long labels?
Ideally (expected behaviour)...
tooltipOptions: {
formatTooltipX: d=> (d + '').toUpperCase,
formatTooltipY: d => d,
formatTooltipLabelY: d => (d + '').substring(0, 10) + '...'
}
Edit: Another request would be to list the values vertically stacked instead of horizontally. This would allow users to avoid situations like these:

And allow for tooltips which are better to grasp (cognitively), like these:
