dual y-axis, changing axis for a series by code lazarus / 55-TAChart ---------------------------------------------------------------------- mtanner · 2017-11-16 07:12 I have a chart using dual y-axis, which works fine, as long as the axis to be used by each series is set in the form designer. But I have a series for which the axis has to be selected in code. I have tried If MyCondition then MySeries.AxisIndexY:=0 else MySeries.AxisIndexY:=2; but this seems to have no effect. ---------------------------------------------------------------------- wp · 2017-11-16 10:31 It is working for me - see attachment. Are you sure that the dual axes are set up correctly? ---------------------------------------------------------------------- mtanner · 2017-11-17 08:41 I think my problem is with the dual axes setup. Thanks.