How to change the background of graph?
Moderators: Developers, Moderators
How to change the background of graph?
Hello.
Like in topic. How to change the background of graph, because I don't want to have the white one. I found
http://forums.cacti.net/about2930.html
but it isn't working, php have problems.
Like in topic. How to change the background of graph, because I don't want to have the white one. I found
http://forums.cacti.net/about2930.html
but it isn't working, php have problems.
Hello,
You can't change the background of a graph with cacti.
Cacti use an image file generated by RRDtool.
The only thing that you can change, is the label at the bottom on the graph.
But, this use an RRD function to add a single text.
I think the only way to do this is to include an custom image merge function with GD in cacti php file. Warning, cacti performance decrease on consultation if you do that...
Regards,
You can't change the background of a graph with cacti.
Cacti use an image file generated by RRDtool.
The only thing that you can change, is the label at the bottom on the graph.
But, this use an RRD function to add a single text.
I think the only way to do this is to include an custom image merge function with GD in cacti php file. Warning, cacti performance decrease on consultation if you do that...
Regards,
Debian 5.0.3 / Php 5.2.6
Cacti 0.8.7e / Spine 0.8.7e
Cacti 0.8.7e / Spine 0.8.7e
Yep, image merge in PHP is costly. Maybe, it's easy to change code in RRDTool ? - it's GNU also.. Or, just get use to current background color (much easier )trik wrote:I think the only way to do this is to include an custom image merge function with GD in cacti php file.
[url=http://timberfrog.com/store/index.cgi?SearchIndex=DVD&BrowseNode=163357&locale=us&T=Comedy]:)[/url]
Re: How to change the background of graph?
Did this feature make the cut for 0.8.8b?
-
- Posts: 1
- Joined: Tue Jan 20, 2015 3:01 am
Re: How to change the background of graph?
Image merge in PHP is costly. Maybe, it's easy to change code in RRDTool ? - it's GNU also.. Or, just get use to current background color (much easier )???
Who is online
Users browsing this forum: No registered users and 2 guests