[INFO] Black graphs look better than white! :)
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Talking about an ancient post
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Cacti User
- Posts: 73
- Joined: Mon May 03, 2010 11:48 am
Re: [INFO] Black graphs look better than white! :)
sorry for bumping this up...
will this be part of the upcoming 0.8.8? I'm particullary interested in the possibility of changing the colors for graph items.
Will we get the possibility of integrating a background image for graph items too?
will this be part of the upcoming 0.8.8? I'm particullary interested in the possibility of changing the colors for graph items.
Will we get the possibility of integrating a background image for graph items too?
_________________
Cacti - 1.2.14
Poller Type - SPINE 1.2.14
Devices 3,892
Graphs 21,483
Cacti - 1.2.14
Poller Type - SPINE 1.2.14
Devices 3,892
Graphs 21,483
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: [INFO] Black graphs look better than white! :)
Yes. All available color options of current rrdtool will be supported. The code is already in! And, you will be presented with a colorpicker to easy handling.hmorandell wrote:sorry for bumping this up...
will this be part of the upcoming 0.8.8? I'm particullary interested in the possibility of changing the colors for graph items.
Will we get the possibility of integrating a background image for graph items too?
R.
-
- Posts: 1
- Joined: Fri Mar 02, 2012 1:23 am
Re:
I really appreciate the time you spent in plugging in this code. Awesome work.stephens wrote:hey! I only resurrected a 4 monther; plus, it's 10x more functionality than what previously existed! (even if the original was 5 years ago!)TheWitness wrote:Talking about an ancient post
Question:
I would like to remove/change the color of the border that is around every graph (it is basically 1 pixel wide) where would i find this code to modify it?
I attempted to add:
/* basic graph options */
$graph_opts .=
"--imgformat=" . $image_types{$graph["image_format_id"]} . RRD_NL .
"--start=$graph_start" . RRD_NL .
"--end=$graph_end" . RRD_NL .
"-c CANVAS#000000 -c FONT#FFFFFF -c BACK#000000 --title=\"" . $graph["title_cache"] . "\"" . RRD_NL .
/* "--border=0 */
"--title=" . cacti_escapeshellarg($graph["title_cache"]) . RRD_NL .
"$rigid" .
"--base=" . $graph["base_value"] . RRD_NL .
"--height=$graph_height" . RRD_NL .
"--width=$graph_width" . RRD_NL .
"$scale" .
"$unit_value" .
"$unit_exponent_value" .
"$graph_legend" .
"--vertical-label=" . cacti_escapeshellarg($graph["vertical_label"]) . RRD_NL;
and it borked everything...
Help please???
EDIT: I commented it out so it would not impact the production graphs...
Re: [INFO] Black graphs look better than white! :)
5 year necro....gandalf wrote:Yes. All available color options of current rrdtool will be supported. The code is already in! And, you will be presented with a colorpicker to easy handling.hmorandell wrote:sorry for bumping this up...
will this be part of the upcoming 0.8.8? I'm particullary interested in the possibility of changing the colors for graph items.
Will we get the possibility of integrating a background image for graph items too?
R.
Did this just fade away into the ether, or is skins/themes still in the works?
It looked promising, but I can see where it could quickly turn into a nightmare.
Re: [INFO] Black graphs look better than white! :)
Yes, Cacti themes and graph themes are already in Git, and will be available once 1.0 is released.Tehrasha wrote: 5 year necro....
Did this just fade away into the ether, or is skins/themes still in the works?
It looked promising, but I can see where it could quickly turn into a nightmare.
Re: [INFO] Black graphs look better than white! :)
Cigamit,
Can you kindly point out where and how in Cacti-1 we can change the color of graphs to for instance the black color you have.
i have looked under Settings > Visual but nothing there seems to indicate how the graph color can be changed.
I will appreciate this info
Thanks
Can you kindly point out where and how in Cacti-1 we can change the color of graphs to for instance the black color you have.
i have looked under Settings > Visual but nothing there seems to indicate how the graph color can be changed.
I will appreciate this info
Thanks
Re: [INFO] Black graphs look better than white! :)
In 1.X, that is just the default graph color scheme for anyone using the "Dark Theme".kaf3773 wrote:Cigamit,
Can you kindly point out where and how in Cacti-1 we can change the color of graphs to for instance the black color you have.
i have looked under Settings > Visual but nothing there seems to indicate how the graph color can be changed.
I will appreciate this info
Thanks
If you want to tweak the specific settings for a theme, you can take a look at
include/themes/<theme_name>/rrdtheme.php
Re: [INFO] Black graphs look better than white! :)
Cigamit,
Thanks very much this was very helpful.
I must mention that you folks at the Cacti Group have done such an awesome job with 1.X. !!!
Thanks again.
Thanks very much this was very helpful.
I must mention that you folks at the Cacti Group have done such an awesome job with 1.X. !!!
Thanks again.
Who is online
Users browsing this forum: No registered users and 0 guests