---
id: "P:cAlgo.API.Frame.ChartContainer"
kind: "property"
type: "T:cAlgo.API.Frame"
url: "https://help.ctrader.com/ctrader-algo/references/Plugin/Chart/Frame/ChartContainer/"
---

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

# Frame.ChartContainer

Member of [Frame](https://help.ctrader.com/ctrader-algo/references/Plugin/Chart/Frame/index.md).

## ChartContainer

Returns frame container.

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

- CLI: Available to plugins only, and plugins cannot run in the CLI.
- Cloud: Available to plugins only, and plugins cannot run in the cloud.

C#:

```csharp
ChartContainer ChartContainer {get;}
```

Python:

```python
frame.ChartContainer: ChartContainer
```

### Returns

`ChartContainer` — 

### Examples

C#:

```csharp
var chartFrame = ChartManager.AddChartFrame("EURUSD", TimeFrame.Hour);
Print("Frame container: {0}, frames in it: {1}", chartFrame.ChartContainer.Id, chartFrame.ChartContainer.Count);
```

Python:

```python
chartFrame = api.ChartManager.AddChartFrame("EURUSD", TimeFrame.Hour)
api.Print(f"Frame container: {chartFrame.ChartContainer.Id}, frames in it: {chartFrame.ChartContainer.Count}")
```

