[INFO] Black graphs look better than white! :)
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
It's in the CVS version right now. Looking for volunteers to publish some for the release of 0.8.7. Interested?
- Attachments
-
- Demonstration of Themes (compressed).JPG (143.22 KiB) Viewed 24735 times
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?
Awsome!
That looks great! Would I be able to upgrade my latest stable to cvs without any (known) problems? I'd love to test it on my main cacti setup, where there are many graphs to populate it =)
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
No, however, if you want to develop a Theme or two, it is pretty much ready to download. I would not put it on a production system or any where near one right now. Major plumbing changes.
TheWitness
TheWitness
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?
Progress Check
How far along is CVS and this feature. I have not had a chance to test it out but i'm curious to see if it has become upgradeable from 0.8.6.
I do not desire to recreate all my graphs.
I do not desire to recreate all my graphs.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Hello All,
The implmentation of translation support has been added to Cacti 0.9-dev. This has been done in two ways. The first is through the use of php_gettext (non-thread safe). The second is by using the Savannah Groups gettext emulator (thread safe). Therefore, you can expect decent support for your web site.
I am looking for volunteers to take on language translation. Those who take on this responsibility must meet the following requirements:
1) Have a working knowledge of php
2) Have a good IDE for PHP
3) Familiar with gettext, or optionally, have a good coding backgroud
4) Have access to anonymous CVS and set it up to pull our development snapshots
I am cautioning anyone for spending too much time on the activity for now other than to familiarize yourself with the process.
If you are interested, please send an e-mail to me larryjadams@comcast.net. Please include in the subject line: "Cacti Translation Volunteer Request". By volunteering, a few things will happen:
1) You will get your name somewhere that may outlive you
2) You will help humanity or the Cacti community at least (in some form anyway)
3) You will receive personalized service from either Tony, Ian or myself
Please include in the CC: line of your e-mail, the following recipients:
roman at disorder dot com
iberry at raxnet dot net
Regards,
Larry Adams
(aka TheWitness)
Cacti Developer
The implmentation of translation support has been added to Cacti 0.9-dev. This has been done in two ways. The first is through the use of php_gettext (non-thread safe). The second is by using the Savannah Groups gettext emulator (thread safe). Therefore, you can expect decent support for your web site.
I am looking for volunteers to take on language translation. Those who take on this responsibility must meet the following requirements:
1) Have a working knowledge of php
2) Have a good IDE for PHP
3) Familiar with gettext, or optionally, have a good coding backgroud
4) Have access to anonymous CVS and set it up to pull our development snapshots
I am cautioning anyone for spending too much time on the activity for now other than to familiarize yourself with the process.
If you are interested, please send an e-mail to me larryjadams@comcast.net. Please include in the subject line: "Cacti Translation Volunteer Request". By volunteering, a few things will happen:
1) You will get your name somewhere that may outlive you
2) You will help humanity or the Cacti community at least (in some form anyway)
3) You will receive personalized service from either Tony, Ian or myself
Please include in the CC: line of your e-mail, the following recipients:
roman at disorder dot com
iberry at raxnet dot net
Regards,
Larry Adams
(aka TheWitness)
Cacti Developer
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?
Hi
Apologies for digging up and old post. Is there any news on themes?? I'm running 8.7b and its not in there. I checked realease notes and couldn't see any mention of it in newer releases. Would love to see theme/skin support for Cacti.
Cheers
Jay
Apologies for digging up and old post. Is there any news on themes?? I'm running 8.7b and its not in there. I checked realease notes and couldn't see any mention of it in newer releases. Would love to see theme/skin support for Cacti.
Cheers
Jay
Cacti Version 0.8.7e, Spine 0.8.7e, Apache 2.2.15, Mysql 5.0.88, PHP 5.2.13, RRDTool 1.2.30, NET-SNMP 5.5
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75
SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75
SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384
I'm just going to dig this up one more time because I needed the functionality and didn't find it right away so I did some hacking. Here is the resultant code, sorry I'm not a PHP developer, so it's not very eloquent, but I'm sure someone else can expand on this to make it work.
There are some simple checks when graphing -- the field must exist in the database, it must be hexadecimal, and it must have either a 3, 6 or 8 character length. If the field isn't in the database, it will simply skip over the colour and use RRD's defaults. This menu addition can be found in the Settings->Visual->Graph Colors section. As a note, this will apply the settings to ALL your graphs, so don't think this is a panacea for real templates and customized individual graphs.
I hope this helps someone.
EDIT: This is for 0.8.7e, no guarantees for previous versions, or those that supersede this one!
EDIT #2: I couldn't leave well-enough alone, here is the hack for ALL the colours, plus a check for a 8-character length for transparency.
EDIT #3: The real fix here would be to allow a color picker from the colors defined in the colors table. Anyone?
lib/rrd.php
include/global_settings.php
There are some simple checks when graphing -- the field must exist in the database, it must be hexadecimal, and it must have either a 3, 6 or 8 character length. If the field isn't in the database, it will simply skip over the colour and use RRD's defaults. This menu addition can be found in the Settings->Visual->Graph Colors section. As a note, this will apply the settings to ALL your graphs, so don't think this is a panacea for real templates and customized individual graphs.
I hope this helps someone.
EDIT: This is for 0.8.7e, no guarantees for previous versions, or those that supersede this one!
EDIT #2: I couldn't leave well-enough alone, here is the hack for ALL the colours, plus a check for a 8-character length for transparency.
EDIT #3: The real fix here would be to allow a color picker from the colors defined in the colors table. Anyone?
lib/rrd.php
Code: Select all
"--width=$graph_width" . RRD_NL;
$color_option_array = db_fetch_assoc("SELECT name FROM settings WHERE name LIKE 'color_%'");
if (sizeof($color_option_array)) {
foreach($color_option_array as $color_option) {
if (config_value_exists($color_option["name"])) {
$color_value = db_fetch_cell("select value from settings where name='" . $color_option["name"] . "'");
if (is_numeric('0x' . $color_value) && ((strlen($color_value) == 3) or (strlen($color_value) == 6) or (strlen($color_value) == 8))) {
$graph_opts .= '--color ' . substr(strtoupper($color_option["name"]), 6) . '#' . $color_value . RRD_NL;
}
}
}
}
$graph_opts .=
"$scale" .
Code: Select all
"max_title_graph" => array(
"friendly_name" => "Maximum Title Length",
"description" => "The maximum number of characters to display for a graph title.",
"method" => "textbox",
"default" => "80",
"max_length" => "10",
"size" => "5"
),
"graphclr_header" => array(
"friendly_name" => "Graph Colors (consist of a hexidecimal value 3 or 6 characters long, plus a transparency hexadecimal value of 2 characters)",
"method" => "spacer",
),
"color_back" => array(
"friendly_name" => "Background",
"description" => "The overall background color.",
"method" => "textbox",
"max_length" => "8",
"size" => "8",
),
"color_canvas" => array(
"friendly_name" => "Canvas",
"description" => "The background color of the actual graph.",
"method" => "textbox",
"max_length" => "8",
"size" => "8",
),
"color_font" => array(
"friendly_name" => "Font",
"description" => "The font color.",
"method" => "textbox",
"max_length" => "8",
"size" => "8",
),
"color_shadea" => array(
"friendly_name" => "Shade A",
"description" => "The left and top border colors.",
"method" => "textbox",
"max_length" => "8",
"size" => "8",
),
"color_shadeb" => array(
"friendly_name" => "Shade B",
"description" => "The right and bottom border colors.",
"method" => "textbox",
"max_length" => "8",
"size" => "8",
),
"color_grid" => array(
"friendly_name" => "Grid",
"description" => "The grid line color.",
"method" => "textbox",
"max_length" => "8",
"size" => "8",
),
"color_mgrid" => array(
"friendly_name" => "Major Grid",
"description" => "The major grid line color.",
"method" => "textbox",
"max_length" => "8",
"size" => "8",
),
"color_axis" => array(
"friendly_name" => "Axis",
"description" => "The axis of the graph.",
"method" => "textbox",
"max_length" => "8",
"size" => "8",
),
"color_frame" => array(
"friendly_name" => "Frame",
"description" => "The line around the color spots.",
"method" => "textbox",
"max_length" => "8",
"size" => "8",
),
"color_arrow" => array(
"friendly_name" => "Arrow",
"description" => "The arrow color.",
"method" => "textbox",
"max_length" => "8",
"size" => "8",
),
"dataqueries_header" => array(
- Attachments
-
- Just a quick screen shot!
- Graph_Colors.gif (14.01 KiB) Viewed 20026 times
Drop-down Color Selection for Graph Options + Alpha Channels
Bah, I'm overachieving, but it was bothering me.
Here's the full solution, with a bit of sloppy SQL, but with full drop-down colours and alpha selection for all graph colour options.
lib/rrd.php
include/global_settings.php
Here's the full solution, with a bit of sloppy SQL, but with full drop-down colours and alpha selection for all graph colour options.
lib/rrd.php
Code: Select all
"--height=$graph_height" . RRD_NL .
"--width=$graph_width" . RRD_NL;
$graph_color_options = db_fetch_assoc("SELECT name FROM settings WHERE name LIKE 'color_%'");
if (sizeof($graph_color_options)) {
foreach($graph_color_options as $graph_color_option) {
if (config_value_exists($graph_color_option["name"])) {
$graph_option = substr($graph_color_option["name"], 6);
$color_hex_value = db_fetch_cell ("SELECT colors.hex FROM settings INNER JOIN colors ON settings.value=colors.id WHERE settings.name='" . $graph_color_option["name"] . "'");
if (sizeof($color_hex_value)) {
$alpha_hex_value = (config_value_exists('alpha_' . $graph_option)) ? db_fetch_cell("SELECT value FROM settings WHERE name='alpha_$graph_option'") : 'FF';
$graph_opts .= '--color ' . strtoupper($graph_option) . '#' . $color_hex_value . $alpha_hex_value . RRD_NL;
}
}
}
}
$graph_opts .=
"$scale" .
"$unit_value" .
"$unit_exponent_value" .
"$graph_legend" .
"--vertical-label=\"" . $graph["vertical_label"] . "\"" . RRD_NL;
Code: Select all
"max_title_graph" => array(
"friendly_name" => "Maximum Title Length",
"description" => "The maximum number of characters to display for a graph title.",
"method" => "textbox",
"default" => "80",
"max_length" => "10",
"size" => "5"
),
"graphclr_header" => array(
"friendly_name" => "Graph Colors (Opacity/Alpha Channel not available for rrdtool-1.0.x)",
"method" => "spacer",
),
"color_back" => array(
"friendly_name" => "Back",
"method" => "drop_color",
"default" => "0",
"on_change" => "changeColorId()",
"description" => "The overall background colour."
),
"alpha_back" => array(
"friendly_name" => "Back Opacity/Alpha Channel",
"description" => "The overall background color opacity/alpha channel.",
"method" => "drop_array",
"default" => "FF",
"array" => $graph_color_alpha
),
"color_canvas" => array(
"friendly_name" => "Canvas",
"description" => "The background color of the actual graph.",
"method" => "drop_color",
"default" => "0",
"on_change" => "changeColorId()"
),
"alpha_canvas" => array(
"friendly_name" => "Canvas Opacity/Alpha Channel",
"description" => "The background color of the actual graph opacity/alpha channel.",
"method" => "drop_array",
"default" => "FF",
"array" => $graph_color_alpha
),
"color_font" => array(
"friendly_name" => "Font",
"description" => "The font color.",
"method" => "drop_color",
"default" => "0",
"on_change" => "changeColorId()"
),
"alpha_font" => array(
"friendly_name" => "Font Opacity/Alpha Channel",
"description" => "The font color opacity/alpha channel.",
"method" => "drop_array",
"default" => "FF",
"array" => $graph_color_alpha
),
"color_shadea" => array(
"friendly_name" => "Shade A",
"description" => "The left and top border colors.",
"method" => "drop_color",
"default" => "0",
"on_change" => "changeColorId()"
),
"alpha_shadea" => array(
"friendly_name" => "Shade A Opacity/Alpha Channel",
"description" => "The left and top border color opacity/alpha channel.",
"method" => "drop_array",
"default" => "FF",
"array" => $graph_color_alpha
),
"color_shadeb" => array(
"friendly_name" => "Shade B",
"description" => "The right and bottom border colors.",
"method" => "drop_color",
"default" => "0",
"on_change" => "changeColorId()"
),
"alpha_shadeb" => array(
"friendly_name" => "Shade B Opacity/Alpha Channel",
"description" => "The right and bottom border color opacity/alpha channel.",
"method" => "drop_array",
"default" => "FF",
"array" => $graph_color_alpha
),
"color_grid" => array(
"friendly_name" => "Grid",
"description" => "The grid line color.",
"method" => "drop_color",
"default" => "0",
"on_change" => "changeColorId()"
),
"alpha_grid" => array(
"friendly_name" => "Grid Opacity/Alpha Channel",
"description" => "The grid color opacity/alpha channel.",
"method" => "drop_array",
"default" => "FF",
"array" => $graph_color_alpha
),
"color_mgrid" => array(
"friendly_name" => "Major Grid",
"description" => "The major grid line color.",
"method" => "drop_color",
"default" => "0",
"on_change" => "changeColorId()"
),
"alpha_mgrid" => array(
"friendly_name" => "Major Grid Opacity/Alpha Channel",
"description" => "The major grid line color opacity/alpha channel.",
"method" => "drop_array",
"default" => "FF",
"array" => $graph_color_alpha
),
"color_axis" => array(
"friendly_name" => "Axis",
"description" => "The axis of the graph.",
"method" => "drop_color",
"default" => "0",
"on_change" => "changeColorId()"
),
"alpha_axis" => array(
"friendly_name" => "Axis Opacity/Alpha Channel",
"description" => "The axis of the graph opacity/alpha channel.",
"method" => "drop_array",
"default" => "FF",
"array" => $graph_color_alpha
),
"color_frame" => array(
"friendly_name" => "Frame",
"description" => "The line around the color spots.",
"method" => "drop_color",
"default" => "0",
"on_change" => "changeColorId()"
),
"alpha_frame" => array(
"friendly_name" => "Frame Opacity/Alpha Channel",
"description" => "The line around the color spots opacity/alpha channel.",
"method" => "drop_array",
"default" => "FF",
"array" => $graph_color_alpha
),
"color_arrow" => array(
"friendly_name" => "Arrow",
"description" => "The arrow color.",
"method" => "drop_color",
"default" => "0",
"on_change" => "changeColorId()"
),
"alpha_arrow" => array(
"friendly_name" => "Arrow Opacity/Alpha Channel",
"description" => "The arrow color opacity/alpha channel.",
"method" => "drop_array",
"default" => "FF",
"array" => $graph_color_alpha
),
"dataqueries_header" => array(
- Attachments
-
- Updated!
- Graph_Colors.gif (25.42 KiB) Viewed 19988 times
Last edited by stephens on Wed Feb 17, 2010 6:13 pm, edited 2 times in total.
Code: Select all
$graph_color_options = db_fetch_assoc("SELECT name FROM settings WHERE name LIKE 'color_%'");
if (sizeof($graph_color_options)) {
foreach($graph_color_options as $graph_color_option) {
if (config_value_exists($graph_color_option["name"])) {
$graph_option = substr($graph_color_option["name"], 6);
$color_hex_value = db_fetch_cell ("SELECT colors.hex FROM settings INNER JOIN colors ON settings.value=colors.id WHERE settings.name='" . $graph_color_option["name"] . "'");
if (sizeof($color_hex_value)) {
$alpha_hex_value = (config_value_exists('alpha_' . $graph_option)) ? db_fetch_cell("SELECT value FROM settings WHERE name='alpha_$graph_option'") : 'FF';
$graph_opts .= '--color ' . strtoupper($graph_option) . '#' . $color_hex_value . $alpha_hex_value . RRD_NL;
}
}
}
}
Nevermind I found it.
right after
right after
Code: Select all
/* basic graph options */
$graph_opts .=
"--imgformat=" . $image_types{$graph["image_format_id"]} . RRD_NL .
"--start=$graph_start" . RRD_NL .
"--end=$graph_end" . RRD_NL .
"--title=\"" . str_replace("\"", "\\\"", $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=\"" . $graph["vertical_label"] . "\"" . RRD_NL;
Finally figured it out for global_settings here is the code that is needed
copy & paste from between the cut lines
insert before line 500 ""dataqueries_header" => array(..."
global_settings.php cacti 0.8.7e
copy & paste from between the cut lines
insert before line 500 ""dataqueries_header" => array(..."
global_settings.php cacti 0.8.7e
Code: Select all
"max_title_graph" => array(
"friendly_name" => "Maximum Title Length",
"description" => "The maximum number of characters to display for a graph title.",
"method" => "textbox",
"default" => "80", <----- the default is 80
"max_length" => "10",
"size" => "5"
),
<----- cut here----------------or replace the max_title_graph section--->
"graphclr_header" => array(
"friendly_name" => "Graph Colors (Opacity/Alpha Channel not available for rrdtool-1.0.x)",
"method" => "spacer",
),
"color_back" => array(
"friendly_name" => "Back",
"method" => "drop_color",
"default" => "0",
"on_change" => "changeColorId()",
"description" => "The overall background colour."
),
"alpha_back" => array(
"friendly_name" => "Back Opacity/Alpha Channel",
"description" => "The overall background color opacity/alpha channel.",
"method" => "drop_array",
"default" => "FF",
"array" => $graph_color_alpha
),
"color_canvas" => array(
"friendly_name" => "Canvas",
"description" => "The background color of the actual graph.",
"method" => "drop_color",
"default" => "0",
"on_change" => "changeColorId()"
),
"alpha_canvas" => array(
"friendly_name" => "Canvas Opacity/Alpha Channel",
"description" => "The background color of the actual graph opacity/alpha channel.",
"method" => "drop_array",
"default" => "FF",
"array" => $graph_color_alpha
),
"color_font" => array(
"friendly_name" => "Font",
"description" => "The font color.",
"method" => "drop_color",
"default" => "0",
"on_change" => "changeColorId()"
),
"alpha_font" => array(
"friendly_name" => "Font Opacity/Alpha Channel",
"description" => "The font color opacity/alpha channel.",
"method" => "drop_array",
"default" => "FF",
"array" => $graph_color_alpha
),
"color_shadea" => array(
"friendly_name" => "Shade A",
"description" => "The left and top border colors.",
"method" => "drop_color",
"default" => "0",
"on_change" => "changeColorId()"
),
"alpha_shadea" => array(
"friendly_name" => "Shade A Opacity/Alpha Channel",
"description" => "The left and top border color opacity/alpha channel.",
"method" => "drop_array",
"default" => "FF",
"array" => $graph_color_alpha
),
"color_shadeb" => array(
"friendly_name" => "Shade B",
"description" => "The right and bottom border colors.",
"method" => "drop_color",
"default" => "0",
"on_change" => "changeColorId()"
),
"alpha_shadeb" => array(
"friendly_name" => "Shade B Opacity/Alpha Channel",
"description" => "The right and bottom border color opacity/alpha channel.",
"method" => "drop_array",
"default" => "FF",
"array" => $graph_color_alpha
),
"color_grid" => array(
"friendly_name" => "Grid",
"description" => "The grid line color.",
"method" => "drop_color",
"default" => "0",
"on_change" => "changeColorId()"
),
"alpha_grid" => array(
"friendly_name" => "Grid Opacity/Alpha Channel",
"description" => "The grid color opacity/alpha channel.",
"method" => "drop_array",
"default" => "FF",
"array" => $graph_color_alpha
),
"color_mgrid" => array(
"friendly_name" => "Major Grid",
"description" => "The major grid line color.",
"method" => "drop_color",
"default" => "0",
"on_change" => "changeColorId()"
),
"alpha_mgrid" => array(
"friendly_name" => "Major Grid Opacity/Alpha Channel",
"description" => "The major grid line color opacity/alpha channel.",
"method" => "drop_array",
"default" => "FF",
"array" => $graph_color_alpha
),
"color_axis" => array(
"friendly_name" => "Axis",
"description" => "The axis of the graph.",
"method" => "drop_color",
"default" => "0",
"on_change" => "changeColorId()"
),
"alpha_axis" => array(
"friendly_name" => "Axis Opacity/Alpha Channel",
"description" => "The axis of the graph opacity/alpha channel.",
"method" => "drop_array",
"default" => "FF",
"array" => $graph_color_alpha
),
"color_frame" => array(
"friendly_name" => "Frame",
"description" => "The line around the color spots.",
"method" => "drop_color",
"default" => "0",
"on_change" => "changeColorId()"
),
"alpha_frame" => array(
"friendly_name" => "Frame Opacity/Alpha Channel",
"description" => "The line around the color spots opacity/alpha channel.",
"method" => "drop_array",
"default" => "FF",
"array" => $graph_color_alpha
),
"color_arrow" => array(
"friendly_name" => "Arrow",
"description" => "The arrow color.",
"method" => "drop_color",
"default" => "0",
"on_change" => "changeColorId()"
),
"alpha_arrow" => array(
"friendly_name" => "Arrow Opacity/Alpha Channel",
"description" => "The arrow color opacity/alpha channel.",
"method" => "drop_array",
"default" => "FF",
"array" => $graph_color_alpha
),
<------- cut here -------------------->
"dataqueries_header" => array(
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
Who is online
Users browsing this forum: No registered users and 0 guests