Refresh;
The Refresh method refreshes the chart on making changes in the dataset of the chart source.
To execute the example, create a form with a button named Button1 on the form, the ChartBox component and the UiChart component that is a data source.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Chart: IChart;
Begin
Chart:= UiChart1.Chart;
UiChart1.SetPointSerieCount(5,5);
Chart.Refresh;
End Sub Button1OnClick;
Clicking the Button1 button refreshes the chart.
See also: