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

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

# ChartFrame.LinkedChartGroup

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

## LinkedChartGroup

Get / set linked group of frame.

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
LinkedChartGroup LinkedChartGroup {get; set;}
```

Python:

```python
chartFrame.LinkedChartGroup: LinkedChartGroup
```

### Returns

`LinkedChartGroup` — 

### Examples

C#:

```csharp
var chartFrame = ChartManager.AddChartFrame("EURUSD", TimeFrame.Hour);
chartFrame.LinkedChartGroup = LinkedChartGroup.B;
Print("Linked chart group: {0}", chartFrame.LinkedChartGroup);
```

Python:

```python
chartFrame = api.ChartManager.AddChartFrame("EURUSD", TimeFrame.Hour)
chartFrame.LinkedChartGroup = LinkedChartGroup.B
api.Print(f"Linked chart group: {chartFrame.LinkedChartGroup}")
```

