aboutsummaryrefslogtreecommitdiff
path: root/src/graph.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/graph.c')
-rw-r--r--src/graph.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/graph.c b/src/graph.c
index bfd00cb..1464e8b 100644
--- a/src/graph.c
+++ b/src/graph.c
@@ -45,24 +45,25 @@ int color_in[3] = { 0,235,12 };
int color_out[3] = { 0,94,255 };
int color_grid[3] = { 0,0,0 };
int color_in_max[3] = { 0,166,33 };
int color_out_max[3] = { 255,0,255 };
int color_percent[3] = { 239,159,79 };
int graph_xsize = 460;
int graph_ysize = 100;
int graph_h_margin[2] = { 100, 14 };
int graph_v_margin[2] = { 14, 35 };
+/* FIXME: I18N?? */
char *rate_unit = "Bytes per Second";
#define make_color_index(g, ar) \
gdImageColorAllocate (g, (ar)[0], (ar)[1], (ar)[2])
static void
draw_vtext (gdImagePtr graph, int color, const char *text)
{
gdImageStringUp (graph, gdFontSmall,
8,
graph_ysize + graph_v_margin[0] -
(graph_ysize - gdFontSmall->w * strlen (text))/2,

Return to:

Send suggestions and report system problems to the System administrator.