in digital graphs use gr->magy (ylabmag attribute) to rescale node names on Y axix, as done in analog graphs on Y axis labels
This commit is contained in:
parent
c86d48f321
commit
cd01e5d314
|
|
@ -2686,7 +2686,7 @@ static void draw_graph_variables(int wcnt, int wave_color, int n_nodes, int swee
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
draw_string(wave_color, NOW, tmpstr, 2, 0, 0, 0,
|
draw_string(wave_color, NOW, tmpstr, 2, 0, 0, 0,
|
||||||
xt, DW_Y(yt), gr->digtxtsizelab, gr->digtxtsizelab);
|
xt, DW_Y(yt), gr->digtxtsizelab * gr->magy, gr->digtxtsizelab * gr->magy);
|
||||||
#if HAS_CAIRO == 1
|
#if HAS_CAIRO == 1
|
||||||
if(gr->hilight_wave == wcnt) {
|
if(gr->hilight_wave == wcnt) {
|
||||||
xctx->cairo_font =
|
xctx->cairo_font =
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue