Chart color based on value

This public forum is for user-to-user discussions of PHP Report Maker. Note that this is not support forum.

Chart color based on value

Postby supaplex » Thu Aug 10, 2017 7:06 pm

Is it possible to determine the color of the graph in the Y-axis, depending on the value?
Example:
when value <50 then 00ff00
when value <100 then 000000
when value <200 then 00ff00
else ffffff
supaplex
 
Posts: 2
Joined: Thu Jul 27, 2017 6:54 pm

Re: Chart color based on value

Postby Webmaster » Fri Aug 11, 2017 9:29 am

Please read help file topic: Server Events and Client Scripts -> Chart_DataRendered
Webmaster
 
Posts: 10734
Joined: Fri Aug 06, 2004 5:59 pm

Re: Chart color based on value

Postby supaplex » Fri Aug 18, 2017 3:49 am

Thanks!
supaplex
 
Posts: 2
Joined: Thu Jul 27, 2017 6:54 pm


Return to General Discussion (PHP Report Maker)