XY Chart NET 3 Control Reference > Methods > Refresh Method |
Use this method to update the XY Chart NET control with any property changes made. The chart is regenerated with the new property settings.
[Visual Basic] Sub Refresh() |
[C#] void XYChartNETCtl.Refresh() |
[C++] void Refresh() |
' XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form. XYChartNETCtl1.NumProfiles = 10 'Set the number of profiles to plot to 10 XYChartNETCtl1.BackColor = Color.Yellow 'Set the chart's background color to yellow XYChartNETCtl1.Refresh 'Update chart with the above changes