michael@156: Index: graphs.c
michael@156: diff -Nau graphs.c.orig graphs.c
michael@156: --- graphs.c.orig 2009-04-14 11:58:01.576710518 +0200
michael@156: +++ graphs.c 2009-04-14 12:16:00.411207613 +0200
michael@156: @@ -114,7 +114,7 @@
michael@156: double fmaxval=0.0;
michael@156:
michael@156: /* initalize the graph */
michael@156: - init_graph(title,512,256); /* init as 512 x 256 */
michael@156: + init_graph(title,@l_gwidth@,256); /* init as @l_gwidth@ x 256 */
michael@156:
michael@156: gdImageLine(im, 305,25,305,233,black); /* draw section lines */
michael@156: gdImageLine(im, 304,25,304,233,white);
michael@156: Index: output.c
michael@156: diff -Nau output.c.orig output.c
michael@156: --- output.c.orig 2009-01-13 06:34:04.000000000 +0100
michael@156: +++ output.c 2009-04-14 12:46:38.913442401 +0200
michael@156: @@ -2431,9 +2431,9 @@
michael@156:
michael@156: /* year graph */
michael@156: fprintf(out_fp,"
\n",buffer); michael@156: + "HEIGHT=256 WIDTH=@l_gwidth@>
\n",buffer); michael@156: /* month table */ michael@156: - fprintf(out_fp,"
",GREY); michael@156: fprintf(out_fp,"%s |
---|