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

src/rrd_graph.c

index d90a02e9eae9dd82bfcdfdb5473174439d410231..2db9eea32970cd42e4bae824eedeaec4ee16b588 100644 (file)
@@ -3850,6 +3850,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;