Ratjoy.com » Forums » Suggestions, Technical Support and Feedback » Kudos and feature enhancement request

Kudos and feature enhancement request

Nathan Dilday
RJ: ndkid
CO: ndkid

Post Rating: 0
+ / -

Total Posts: 47
Karma: 46
Joined: Apr 17, 2012
First, kudos on the company coloration, Scott... it's one of those ways that we can make our companies feel different and personal that I appreciate!

Now that it's in, however, since the graphs appear to still be using a neutral grey for the percentages on the pie charts, they can blend badly depending on the company color choice. Is your charting library customizable enough that you can have the text color vary depending on the pie slice color to ensure high contrast? I'm pretty sure someone has already written a quick "look at background color and determine whether to use white or black text" algorithm on stackoverflow. :-)
David Archer
RJ: BallC
CO: BallC

Post Rating: 0
+ / -

Total Posts: 142
Karma: 135
Joined: Apr 11, 2012
It's actually a W3C recommendation:


and they've published the algorithm to calculate luminence from RGB:

Scott (Admin)
RJ: Ratan Joyce
CO: Ratan Joyce

Post Rating: 0
+ / -

Total Posts: 1175
Karma: 5083
Joined: Jan 13, 2012
Thanks for suggesting, it'll be included as part of the SEC update.

You need to register or login to post a reply.