X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_graph.c;h=a7bc3f2c8d16acb4523125b3368e8247f5f30e63;hb=251d863a751bf92a41693228ede784a0cc77ff52;hp=36c80548dee3308e4c077d895594a06aad45be77;hpb=e152e99bee5541b5264b7308606f20ea29f0872b;p=rrdtool.git diff --git a/src/rrd_graph.c b/src/rrd_graph.c index 36c8054..a7bc3f2 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -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;iigdes[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 {