# Performing Batch Updates

## Content



You can perform batch updates without refreshing the chart after each change by entering your code inside the **BeginUpdate()/EndUpdate()** methods like the following:

```vbnet
C1Chart1.BeginUpdate()
   ' change or format the chart, add data etc.
   ...
   C1Chart1.EndUpdate()
```

```csharp
c1Chart1.BeginUpdate();
  //change or format the chart, add data etc.
   ...
   c1Chart1.EndUpdate();
```