Fix report's chart cluttered with overlapping data labels
When there was too many data labels on a report's chart, some texts were
overlapping resulting in cluttered and unreadable graph.
This commit fixes the issue so that in regions crowded with labels only
one data label text is displayed.
BUG: 399261
Signed-off-by: Robert Szczesiak <dev.rszczesiak@gmail.com>
(cherry picked from commit 3bf120d2b2ae461c02d20e7f84b1f87a680f61dd)