How to change jpgraph colors in line chart/bars?

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
smallerik
Posts: 16
Joined: 01 Oct 2012, 06:49

How to change jpgraph colors in line chart/bars?

Post 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..
Attachments
04-10-2012 17-04-32.jpg
04-10-2012 17-04-32.jpg (16.5 KiB) Viewed 3138 times
atrol
Site Admin
Posts: 8553
Joined: 26 Mar 2008, 21:37
Location: Germany

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

Post by atrol »

There are some hardcoded colors.
Search for "SetFillColor" in graph_api.php
Please use Search before posting and read the Manual
Post Reply