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

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

# ChartObjectsSelectionChangedEventArgs.Area

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

## Area

A chart area where event occured

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

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

C#:

```csharp
public ChartArea Area {get;}
```

Python:

```python
chartObjectsSelectionChangedEventArgs.Area: ChartArea
```

### Returns

`ChartArea` — 

### Examples

C#:

```csharp
protected override void OnStart()
{
    Chart.ObjectsSelectionChanged += OnChartObjectsSelectionChanged;
}

private void OnChartObjectsSelectionChanged(ChartObjectsSelectionChangedEventArgs args)
{
    Print("Selection changed in an area with {0} objects", args.Area.Objects.Count);
}
```

Python:

```python
def on_start(self):
    api.Chart.ObjectsSelectionChanged += self.on_chart_objects_selection_changed

def on_chart_objects_selection_changed(self, args):
    api.Print(f"Selection changed in an area with {args.Area.Objects.Count} objects")
```

