chartjs / chartjs/chartjs-plugin-datalabels

Overlap resolution as function

Open
#183 3 comments 5 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
920
Forks
507
PR merge metrics
No merged PRs in 30d

Description

Obviously the ideal would be to have the ability to simply not hide any labels by adjusting position on the labels until they don't overlap. However, another solution would be to be able to provide a function which is passed a pair of overlapping labels and decides which one to show and which to hide. For example, I would prefer to hide the one with the smaller value, not the one with the smaller dataIndex.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.