Feature Requesthacktoberfest
Metriche repository
- Star
- (14.858 star)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
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:
