I propose to implement an option for TPaletteAxis
which allows to put labels at the boundaries of the
colored boxes instead at the equidistant points provided
It requires about 30 lines of extra code in TPaletteAxis::Paint,
(see att git diff file) no extra field values in the class.
For the option name I propose “CJUST”: (Color JUSTified) since
no A is allowed which conflicts with option “A”: suppress axis.
I attach a diff against the current HEAD, an example macro
and its output which demonstrates the difference to the default.
Given my limited view on roots code I ask somebody more competent
(Olivier) to check possible side effects etc.