score:1

Accepted answer

You can easily disable this moving by adding those texts into to legend.group which is fixed.

chart.text1 = chart.renderer.text(minX + " - " + maxX + " грн", 20, 40).add(legend.group);
chart.text2 = chart.renderer.text(minXY + " - " + maxXY + " °C", 200, 40).add(legend.group);

Same like above - they are relative to the legend.group, so value can be fixed

Demo: https://jsfiddle.net/BlackLabel/ywfgLphv/1/


Related Query

More Query from same tag