From c5428b8a6188b8452cac7db1adbebb0305444ac5 Mon Sep 17 00:00:00 2001 From: Michael Larabel Date: Wed, 31 Dec 2008 11:52:28 -0500 Subject: pts_Graph: Add more stock colors to painter --- pts-core/functions/pts-functions_config.php | 2 +- pts-core/objects/pts_Graph/pts_Graph.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'pts-core') diff --git a/pts-core/functions/pts-functions_config.php b/pts-core/functions/pts-functions_config.php index e56967e..cdd455d 100644 --- a/pts-core/functions/pts-functions_config.php +++ b/pts-core/functions/pts-functions_config.php @@ -248,7 +248,7 @@ function pts_graph_config_init() $config->addXmlObject(P_GRAPH_COLOR_NOTCHES, 2, pts_read_graph_config(P_GRAPH_COLOR_NOTCHES, "#000000", $read_config)); $config->addXmlObject(P_GRAPH_COLOR_BORDER, 2, pts_read_graph_config(P_GRAPH_COLOR_BORDER, "#FFFFFF", $read_config)); $config->addXmlObject(P_GRAPH_COLOR_ALTERNATE, 2, pts_read_graph_config(P_GRAPH_COLOR_ALTERNATE, "#B0B59E", $read_config)); - $config->addXmlObject(P_GRAPH_COLOR_PAINT, 2, pts_read_graph_config(P_GRAPH_COLOR_PAINT, "#3B433A, #BB2413, #FF9933, #006C00, #5028CA", $read_config)); + $config->addXmlObject(P_GRAPH_COLOR_PAINT, 2, pts_read_graph_config(P_GRAPH_COLOR_PAINT, "#3B433A, #BB2413, #FF9933, #006C00, #5028CA, #B30000, #A8BC00, #00F6FF, #8A00AC, #790066, #797766, #5598b1", $read_config)); // Text Colors $config->addXmlObject(P_GRAPH_COLOR_HEADERS, 2, pts_read_graph_config(P_GRAPH_COLOR_HEADERS, "#2b6b29", $read_config)); diff --git a/pts-core/objects/pts_Graph/pts_Graph.php b/pts-core/objects/pts_Graph/pts_Graph.php index b62b63a..b69b942 100644 --- a/pts-core/objects/pts_Graph/pts_Graph.php +++ b/pts-core/objects/pts_Graph/pts_Graph.php @@ -45,7 +45,8 @@ abstract class pts_Graph var $graph_color_body_text = "#FFFFFF"; // Color of graph body text var $graph_color_body_light = "#B0B59E"; // Color of the border around graph bars (if doing a bar graph) - var $graph_color_paint = array("#3B433A", "#BB2413", "#FF9933", "#006C00", "#5028CA"); // Colors to use for the bars / lines, one color for each key + var $graph_color_paint = array("#3B433A", "#BB2413", "#FF9933", "#006C00", "#5028CA", "#B30000", + "#A8BC00", "#00F6FF", "#8A00AC", "#790066", "#797766", "#5598b1"); // Colors to use for the bars / lines, one color for each key // Text var $graph_font = "Sans.ttf"; // TTF file name -- cgit