# CandlestickDataAdapter.UpdateValue method

Replaces the values of the specified candlestick.

**Namespace:** [`Eremex.AvaloniaUI.Charts`](../index.md)  
**Assembly:** `Eremex.Avalonia.Charts.dll`  
**NuGet Package:** [Eremex.Avalonia.Controls](https://www.nuget.org/packages/Eremex.Avalonia.Controls)

## Declaration

```csharp
public void UpdateValue(int index, double openValue, double highValue, double lowValue, 
    double closeValue)
```

## Parameters

| name | type | description |
| --- | --- | --- |
| index | `int` | The zero-based index of the candlestick. |
| openValue | `double` | The new opening value of the candlestick. |
| highValue | `double` | The new highest value of the candlestick. |
| lowValue | `double` | The new lowest value of the candlestick. |
| closeValue | `double` | The new closing value of the candlestick. |

## See Also

* class [CandlestickDataAdapter](../CandlestickDataAdapter.md)
* namespace [Eremex.AvaloniaUI.Charts](../index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Charts.dll -->
