---
id: "P:cAlgo.API.ChartScrollEventArgs.BottomYDelta"
kind: "property"
type: "T:cAlgo.API.ChartScrollEventArgs"
url: "https://help.ctrader.com/ctrader-algo/references/EventArgs/ChartScrollEventArgs/BottomYDelta/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# ChartScrollEventArgs.BottomYDelta

Member of [ChartScrollEventArgs](https://help.ctrader.com/ctrader-algo/references/EventArgs/ChartScrollEventArgs/index.md).

## BottomYDelta

Gets the lowest value of the bars delta.

Environments: Desktop supported · CLI supported · Cloud not supported.

- Cloud: Never raised in the cloud: the events that pass it never fire there (ChartArea.ScrollChanged).

C#:

```csharp
public double BottomYDelta {get;}
```

Python:

```python
chartScrollEventArgs.BottomYDelta: float
```

### Returns

`double` — The bottom y delta.

### Examples

C#:

```csharp
protected override void OnStart()
{
    Chart.ScrollChanged += OnChartScrollChanged;
}

private void OnChartScrollChanged(ChartScrollEventArgs args)
{
    Print("Bottom Y changed by {0}, new bottom Y: {1}", args.BottomYDelta, args.ChartArea.BottomY);
}
```

Python:

```python
def on_start(self):
    api.Chart.ScrollChanged += self.on_chart_scroll_changed

def on_chart_scroll_changed(self, args):
    api.Print(f"Bottom Y changed by {args.BottomYDelta}, new bottom Y: {args.ChartArea.BottomY}")
```

