When should I use ReCalcLayout and Refresh? I am trying to hide the axes, title and legend on an NChartControl when the size is reduced beyond a certain size. This all appears to be working without using either option, so I am interested to know when they need to be used.
Thanks
Kevin
Hi Kevin,
When you resize the control it automatically recalc the layout and invalidate. In general we've opted for the .Refresh() method because that way you can make multiple changes to the chart document (add data, modify settings etc), without generating unecessary control invalidates - you can switch the control in autorefresh mode:
nChartControl1.AutoRefresh =
Best Regards,Nevron Support Team