How can I change the Charts Colors at the Dashboard? Sugar Version Version 4.5.1f
Thanks a lot!!!!
How can I change the Charts Colors at the Dashboard? Sugar Version Version 4.5.1f
Thanks a lot!!!!
I too am very interested in doing this. I've been digging through the various .php files and have found a number of references to the color_array, but dont see an immediate way to populate this. It appears that it is being handled via an xml file, but none of the xml that I've found lists actual color information.
I'm in dire need to change the graph colors for users/opportunites/colors on the dashboard as a number of my users are color blind and/or visually impaired and can't tell the difference between certain colors. I've scoured this forum to no avail (and I do apologize if I just missed it).. If anyone has any information on this it would be greatly appreciated.
Regards,
Jeremy
Check out include/charts/Charts.php for the color array and the generate_graphcolor function.
Co-Founder of: SugarOutfitters
Modules:
SecuritySuite (Teams)
Photo Module
Follow me on Twitter:eggsurplus
Your Personal Developer
Hi Eggsurplus,
Thanks very much for your quick response. Actually right after I wrote this I just did a search for hex red and found the Charts.php... Upon finding it, I attempted to change the values between the light green and aqua blue to something like bright pink... saved, etc... However, when I refresh the page the old values are still there... Do I need to make changes in another area?
Again, thanks for your help.
Jeremy
You may need to do an Admin->Clear Chart Data Cache
Co-Founder of: SugarOutfitters
Modules:
SecuritySuite (Teams)
Photo Module
Follow me on Twitter:eggsurplus
Your Personal Developer
Hello,
As written, I appreciate you help thus far...
I tried doing the repairs before I wrote you back. In fact, I used all of the admin options under repair to clear/rebuild/etc with no luck. I then went into Charts.php and set every single value in the $color array to black and repeated the process. I verified that all the cache files are in fact being deleted and .xml files in /cache/xml are dated to the second I refreshed with no luck.
I did notice that in/include/charts the .swf files are dated back to my original install, but I was under the impression these were populated with the values in Charts.php anyways.
Any thoughts, ideas, etc? Have you been successfully able to get this to work by chance?
Thanks,
Jeremy
Hi, I have try the solution posted in the forum. I change in the Charts.php the code colors and delete in the repair menu de Charts cache and no positive results I have obtained.
I dont know why, but It's impossible to change de colors on the vars of the charts.
any solution?
thanks.
Last edited by huracaniki; 2009-01-14 at 04:31 PM. Reason: notifications
Was this ever solved?
Same issue here.
I know this is old but this was my problem too and ...
Make sure include/charts/Charts.php is actually in your php graph file.
require_once('include/charts/Charts.php'); or the custom directory.
This was my problem too. Charts.php wasn't included in my php graph.
require_once('include/charts/Charts.php'); or custom directory
If your dealing with a Sugar prone to customization's, chances you are, I could easily see this happening.
It was, for the lack of a better word, a face-palm-moment for me.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks