Get Free Trial
Get Free Trial

Bar graph colour change based on values

Answered
Nagaraj Chatiri asked on October 12, 2019

Hello Team,
Could you let us know how the below can be implemented in the below bar graph chart? Please find file attachment of the bar graph.

  • If the GP budget and sales GP is same – then show ORANGE colour for monthly sales
  • If GP budget > Sales GP, then show RED
  • If GP budget< sales GP, then show GREEN

 
Thanks
Nagaraj

1 answer

Public
Dmytro Zvazhii Flexmonster October 14, 2019

Hello Nagaraj,
Thank you for posting your question here.
 
Our built-in charting functionality does not support such behavior. There is no option to dynamically change colors depending on field values.
 
With such a use case we recommend considering using some 3-rd party charting library such as Google Charts, FusionCharts, Highcharts, etc… Our component provides tools for integrating with any of them: https://www.flexmonster.com/doc/integration-with-highcharts/.
 
Please let us know if you have any questions.
Regards,
Dmytro

Please login or Register to Submit Answer