add a slight offset between y axis labels and grid
This commit is contained in:
parent
106207098a
commit
5eb217fecd
|
|
@ -674,7 +674,7 @@ drawlingrid(GRAPH *graph, char *units, int spacing, int nsp, double dst, double
|
||||||
((int) strlen(buf) * graph->fontwidth) / 2,
|
((int) strlen(buf) * graph->fontwidth) / 2,
|
||||||
(int) (graph->fontheight * 2.5), 0);
|
(int) (graph->fontheight * 2.5), 0);
|
||||||
else
|
else
|
||||||
DevDrawText(buf, graph->viewportxoff -
|
DevDrawText(buf, graph->viewportxoff - 2 -
|
||||||
graph->fontwidth * (int) strlen(buf),
|
graph->fontwidth * (int) strlen(buf),
|
||||||
graph->viewportyoff + i -
|
graph->viewportyoff + i -
|
||||||
graph->fontheight / 2, 0);
|
graph->fontheight / 2, 0);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue