axis range problem lazarus / 55-TAChart ---------------------------------------------------------------------- mtanner · 2018-08-18 07:25 I have a  dual-axis chart.  I use the following bit of code to control the range of the left axis. With MyChart.AxisList[0] do begin     Min=0;  Max=100; UseMin=true; UseMax=true; end; although actually the values are supplied by variables (whose values I have traced and checked to be correct). The chart comes out with an x-range of 0 to 1000 (not 100). Except when I plot a series which is actually using the right-hand axis (whose range control seems to work ok). Any suggestions please? ---------------------------------------------------------------------- wp · 2018-08-18 07:33 You do not provide enough information for me to give a precise answer. Please assemble a short demo which shows the issue and upload it here (only .pas, .lfm, .lpi and .lpr files in a common .zip). ---------------------------------------------------------------------- WooBean · 2018-08-18 09:18 Quote from: mtanner on August 18, 2018, 09:25:42 am... With MyChart.AxisList[0] do begin     Min=0;  Max=100; UseMin=true; UseMax=true; end; ... Any suggestions please? In my opinion your code does nothing. For example: "Min=0;" can be a valid expression (compare variable or field "Min" to zero) but its result is never used. WooBean ---------------------------------------------------------------------- mtanner · 2018-08-18 10:38 WooBean, apologies for the typo, the real code does have ":=" and not just "=", and it does do something under the circumstances described.