big spell checking patch -- slif@bellsouth.net
[rrdtool.git] / src / rrd_graph.c
index 36c8054..a7bc3f2 100644 (file)
@@ -743,7 +743,7 @@ data_fetch(image_desc_t *im )
            }
        }
        
-        /* lets see if the required data source is realy there */
+        /* lets see if the required data source is really there */
        for(ii=0;ii<im->gdes[i].ds_cnt;ii++){
            if(strcmp(im->gdes[i].ds_namv[ii],im->gdes[i].ds_nam) == 0){
                im->gdes[i].ds=ii; }
@@ -1900,7 +1900,8 @@ grid_paint(image_desc_t   *im)
                          7, (im->yorigin - im->ysize/2),
                          im->graph_col[GRC_FONT],
                          im->text_prop[TEXT_PROP_AXIS].font,
-                         im->text_prop[TEXT_PROP_AXIS].size, im->tabwidth, 270.0,
+                         im->text_prop[TEXT_PROP_AXIS].size, im->tabwidth, 
+                         RRDGRAPH_YLEGEND_ANGLE,
                          GFX_H_LEFT, GFX_V_CENTER,
                          im->ylegend);
        } else {