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:
stefan schippers 2023-10-13 00:25:40 +02:00
parent c86d48f321
commit cd01e5d314
1 changed files with 1 additions and 1 deletions

View File

@ -2686,7 +2686,7 @@ static void draw_graph_variables(int wcnt, int wave_color, int n_nodes, int swee
}
#endif
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(gr->hilight_wave == wcnt) {
xctx->cairo_font =