about:startup - take a stab at setting the colors of the graph
authorDaniel Brooks <db48x@db48x.net>
Mon, 13 Sep 2010 05:03:50 -0400
changeset 58838 ea4f08e2bd70678fcfe0dc7734b3427cbe374481
parent 58837 a8c463d09234b158ce80346824c1c1907fb421d5
child 58839 e08982b4328f9341ba72fd7c148efff637ef1458
push id17440
push userdb48x@yahoo.com
push dateWed, 08 Dec 2010 04:15:54 +0000
treeherdermozilla-central@a89f24bf1798 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone2.0b6pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
about:startup - take a stab at setting the colors of the graph
toolkit/content/aboutStartup.js
--- a/toolkit/content/aboutStartup.js
+++ b/toolkit/content/aboutStartup.js
@@ -39,16 +39,17 @@ var graph, overview;
 var options = { legend: { show: true, position: "ne", margin: 10, labelBoxBorderColor: "transparent" },
                 xaxis: { mode: "time" },
                 yaxis: { min: 0, tickFormatter: formatms },
                 selection: { mode: "xy", color: "#00A" },
                 grid: { show: true, borderWidth: 0, markings: [], aboveData: true, tickColor: "white" },
                 series: { lines: { show: true, fill: true },
                           points: { show: true, fill: true },
                         },
+                colors: ["#67A9D8", "#FFC170"],
               };
 var overviewOpts = $.extend(true, {}, options,
                             { legend: { show: false },
                               xaxis: { ticks: [], mode: "time" },
                               yaxis: { ticks: [], min: 0, autoscaleMargin: 0.1 },
                               grid: { show: false },
                               series: { lines: { show: true, fill: true, lineWidth: 1 },
                                         points: { show: false },