Color codes are visible properly in table(grid) but in charts showing differently.

Re-Open
Dama Ankaiah asked on January 21, 2022

Hi Team,
We have applied customized color codes in table(grid) which are visible as expected. But same color codes visible differently(brightness) when we applied  to charts.
Could you please help us on this with sample in angular.
Please find the attached table ,chart and  code images.
 
Thanks,
Ankaiah

2 answers

Public
Maksym Diachenko Maksym Diachenko Flexmonster January 24, 2022

Hello, Dama!
 
Thank you for raising a ticket.
 
We have checked the code samples and examples you provided us. It looks like the applyShade function is transforming colors, so color codes are displayed differently. The applyShade can be useful if you have expanded values in charts.
 
Please refer to this example of applying custom colors to a pie chart:
https://jsfiddle.net/flexmonster/yvfgpxkm/
 
Hope you will find this answer helpful!
 
Best Regards,
Maksym

Public
Dama Ankaiah January 29, 2022

Hi Maksym,
 
My issue resolved. Thank you!
 
Regards,
Ankaiah

Please login or Register to Submit Answer