I calculate a custom color palette considering the count of data I have. I wanted that my color is getting brighter with each displayed data. I don't found a good formular or rather algorithm to do this - so I decided to decrease the A-value of my RGBA-Color.
The result is ok, but I found one issue: the line which connects one pie segment with its label does not use exactly the same color (surely to achieve a better visibility of this thin lines).
Now it would be nice if you can answer my three questions:
a) How I can make the lines ends at the border of its label (on the left, or rather on the right side)?
b) How I can make the lines to use exactly the same color like its segment and label?
c) do you know an algorithm to make color brighter only using its RGB-values
Thank you very much.