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.