Page 1 of 1

How to change jpgraph colors in line chart/bars?

Posted: 04 Oct 2012, 11:36
by smallerik
Hi guys,

I would like to change the colors of jpgraph lines in bar charts/lines in mixed chart. How can i achieve this? i couldn't able to find where the colors are coded exactly.. :oops:

Can any one help in this issue. Waiting for reply. Thanks in advance

Pls find the screenshot below..i would like to change that yellow & blue colors in that chart..help me regarding this..

Re: How to change jpgraph colors in line chart/bars?

Posted: 07 Oct 2012, 10:47
by atrol
There are some hardcoded colors.
Search for "SetFillColor" in graph_api.php