View Full Version : Override ext-js contrast calculation

3 Jan 2012, 4:23 AM
Hi all,

I made a simple column chart in ext-js 4, and made the series label color to be 'contrast',
but than I saw that it made it wrong.
I got into code and saw that because I have gradients for the series color- so it calculates an avg of the gradient-stops, and that why it looks not as I want it.

Can someone show me any way to override that calculation? it will be helpful!

Many thanks.

3 Jan 2012, 5:40 AM
Please post in the appropriate forum. I have moved this to the Ext JS 4 Q&A forum for you.