Code

initialize magfact to 1 ... fixes logarithm chart display issues (patch from Christop...
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 24 Nov 2011 15:07:23 +0000 (15:07 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 24 Nov 2011 15:07:23 +0000 (15:07 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2225 a5681a0c-68f1-0310-ab6d-d61299d08faa

src/rrd_graph.c

index 8c3f8be9d15a462f7089581a3df8a667fe1d75f4..83478951d56670868bc4d20aaee844bb28f4ef5e 100644 (file)
@@ -4088,6 +4088,7 @@ void rrd_graph_init(
     im->maxval = DNAN;
     im->minval = 0;
     im->minval = DNAN;
+    im->magfact = 1;
     im->prt_c = 0;
     im->rigid = 0;
     im->rendered_image_size = 0;