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/trunk/program@2225 a5681a0c-68f1-0310-ab6d-d61299d08faa

src/rrd_graph.c

index 3f8ee1bff143af2dc004eb0e83ffaac4200b8e9f..c79248fcf9cb0bf4ec3f2f45e42ab1c45163d923 100644 (file)
@@ -4158,6 +4158,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;