---
id: "T:cAlgo.API.ChartArea"
kind: "interface"
namespace: "cAlgo.API"
url: "https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/"
---

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

# ChartArea (interface)

The Chart Area Interface.

Environments: Desktop supported · CLI supported · Cloud supported.

## Definition

```csharp
public interface ChartArea
```

## Examples

C#:

```csharp
ChartArea area = Chart.IndicatorAreas.Count > 0 ? Chart.IndicatorAreas[0] : Chart;
area.DrawHorizontalLine("middle", area.BottomY + (area.TopY - area.BottomY) / 2, Color.Gray);
Print("Area size: {0}x{1} | Objects: {2}", area.Width, area.Height, area.Objects.Count);
```

Python:

```python
area = api.Chart.IndicatorAreas[0] if api.Chart.IndicatorAreas.Count > 0 else api.Chart
area.DrawHorizontalLine("middle", area.BottomY + (area.TopY - area.BottomY) / 2, Color.Gray)
api.Print(f"Area size: {area.Width}x{area.Height} | Objects: {area.Objects.Count}")
```

## Methods

- `void AddControl(ControlBase control)` — Adds a chart control from the Control Base to the main chart area or to the indicator area. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/AddControl/index.md)
- `void AddControl(ControlBase control, int barIndex, double y)` — Adds a chart control to chart / indicator area on absolute bar index and price (x,y) coordinates. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/AddControl/index.md)
- `void AddControl(ControlBase control, DateTime time, double y)` — Adds a chart control to chart / indicator area on absolute time and price (x,y) coordinates. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/AddControl/index.md)
- `void AddControl(ControlBase control, DateTime time)` — Adds a chart control to chart / indicator area on absolute time (x) coordinate. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/AddControl/index.md)
- `void AddControl(ControlBase control, int barIndex)` — Adds a chart control to chart / indicator area on absolute bar index (x) coordinate. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/AddControl/index.md)
- `void AddControl(ControlBase control, double y)` — Adds a chart control to chart / indicator area on absolute price (y) coordinate. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/AddControl/index.md)
- `double BarIndexToX(double barIndex)` — Converts Bar Index to X coordinate. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/BarIndexToX/index.md)
- `ChartAndrewsPitchfork DrawAndrewsPitchfork(string name, DateTime time1, double y1, DateTime time2, double y2, DateTime time3, double y3, Color color)` — Draws an Andrew's pitchfork. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawAndrewsPitchfork/index.md)
- `ChartAndrewsPitchfork DrawAndrewsPitchfork(string name, DateTime time1, double y1, DateTime time2, double y2, DateTime time3, double y3, Color color, int thickness)` — Draws an Andrew's pitchfork. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawAndrewsPitchfork/index.md)
- `ChartAndrewsPitchfork DrawAndrewsPitchfork(string name, DateTime time1, double y1, DateTime time2, double y2, DateTime time3, double y3, Color color, int thickness, LineStyle lineStyle)` — Draws an Andrew's pitchfork. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawAndrewsPitchfork/index.md)
- `ChartAndrewsPitchfork DrawAndrewsPitchfork(string name, int barIndex1, double y1, int barIndex2, double y2, int barIndex3, double y3, Color color)` — Draws an Andrew's pitchfork. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawAndrewsPitchfork/index.md)
- `ChartAndrewsPitchfork DrawAndrewsPitchfork(string name, int barIndex1, double y1, int barIndex2, double y2, int barIndex3, double y3, Color color, int thickness)` — Draws an Andrews pitchfork. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawAndrewsPitchfork/index.md)
- `ChartAndrewsPitchfork DrawAndrewsPitchfork(string name, int barIndex1, double y1, int barIndex2, double y2, int barIndex3, double y3, Color color, int thickness, LineStyle lineStyle)` — Draws an Andrew's pitchfork. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawAndrewsPitchfork/index.md)
- `ChartArrow DrawArrow(string name, DateTime time1, double y1, DateTime time2, double y2, Color color)` — Draws an arrow. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawArrow/index.md)
- `ChartArrow DrawArrow(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness)` — Draws an arrow. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawArrow/index.md)
- `ChartArrow DrawArrow(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness, LineStyle lineStyle)` — Draws an arrow. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawArrow/index.md)
- `ChartArrow DrawArrow(string name, int barIndex1, double y1, int barIndex2, double y2, Color color)` — Draws an arrow. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawArrow/index.md)
- `ChartArrow DrawArrow(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness)` — Draws an arrow. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawArrow/index.md)
- `ChartArrow DrawArrow(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness, LineStyle lineStyle)` — Draws an arrow. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawArrow/index.md)
- `ChartElliottCorrection DrawElliottCorrection(string name, ChartPoint origin, ChartPoint waveA, ChartPoint waveB, ChartPoint waveC, Color color)` — Draws an Elliott Correction Wave (A-B-C). [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawElliottCorrection/index.md)
- `ChartElliottCorrection DrawElliottCorrection(string name, ChartPoint origin, ChartPoint waveA, ChartPoint waveB, ChartPoint waveC, Color color, int thickness)` — Draws an Elliott Correction Wave (A-B-C). [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawElliottCorrection/index.md)
- `ChartElliottCorrection DrawElliottCorrection(string name, ChartPoint origin, ChartPoint waveA, ChartPoint waveB, ChartPoint waveC, Color color, int thickness, LineStyle lineStyle)` — Draws an Elliott Correction Wave (A-B-C). [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawElliottCorrection/index.md)
- `ChartElliottDoubleCombo DrawElliottDoubleCombo(string name, ChartPoint origin, ChartPoint waveW, ChartPoint waveX, ChartPoint waveY, Color color)` — Draws an Elliott Double Combo Wave (W-X-Y). [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawElliottDoubleCombo/index.md)
- `ChartElliottDoubleCombo DrawElliottDoubleCombo(string name, ChartPoint origin, ChartPoint waveW, ChartPoint waveX, ChartPoint waveY, Color color, int thickness)` — Draws an Elliott Double Combo Wave (W-X-Y). [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawElliottDoubleCombo/index.md)
- `ChartElliottDoubleCombo DrawElliottDoubleCombo(string name, ChartPoint origin, ChartPoint waveW, ChartPoint waveX, ChartPoint waveY, Color color, int thickness, LineStyle lineStyle)` — Draws an Elliott Double Combo Wave (W-X-Y). [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawElliottDoubleCombo/index.md)
- `ChartElliottImpulse DrawElliottImpulse(string name, ChartPoint origin, ChartPoint wave1, ChartPoint wave2, ChartPoint wave3, ChartPoint wave4, ChartPoint wave5, Color color)` — Draws an Elliott Impulse Wave (1-2-3-4-5). [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawElliottImpulse/index.md)
- `ChartElliottImpulse DrawElliottImpulse(string name, ChartPoint origin, ChartPoint wave1, ChartPoint wave2, ChartPoint wave3, ChartPoint wave4, ChartPoint wave5, Color color, int thickness)` — Draws an Elliott Impulse Wave (1-2-3-4-5). [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawElliottImpulse/index.md)
- `ChartElliottImpulse DrawElliottImpulse(string name, ChartPoint origin, ChartPoint wave1, ChartPoint wave2, ChartPoint wave3, ChartPoint wave4, ChartPoint wave5, Color color, int thickness, LineStyle lineStyle)` — Draws an Elliott Impulse Wave (1-2-3-4-5). [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawElliottImpulse/index.md)
- `ChartElliottTriangle DrawElliottTriangle(string name, ChartPoint origin, ChartPoint waveA, ChartPoint waveB, ChartPoint waveC, ChartPoint waveD, ChartPoint waveE, Color color)` — Draws an Elliott Triangle Wave (A-B-C-D-E). [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawElliottTriangle/index.md)
- `ChartElliottTriangle DrawElliottTriangle(string name, ChartPoint origin, ChartPoint waveA, ChartPoint waveB, ChartPoint waveC, ChartPoint waveD, ChartPoint waveE, Color color, int thickness)` — Draws an Elliott Triangle Wave (A-B-C-D-E). [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawElliottTriangle/index.md)
- `ChartElliottTriangle DrawElliottTriangle(string name, ChartPoint origin, ChartPoint waveA, ChartPoint waveB, ChartPoint waveC, ChartPoint waveD, ChartPoint waveE, Color color, int thickness, LineStyle lineStyle)` — Draws an Elliott Triangle Wave (A-B-C-D-E). [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawElliottTriangle/index.md)
- `ChartElliottTripleCombo DrawElliottTripleCombo(string name, ChartPoint origin, ChartPoint waveW, ChartPoint waveX1, ChartPoint waveY, ChartPoint waveX2, ChartPoint waveZ, Color color)` — Draws an Elliott Triple Combo Wave (W-X-Y-X-Z). [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawElliottTripleCombo/index.md)
- `ChartElliottTripleCombo DrawElliottTripleCombo(string name, ChartPoint origin, ChartPoint waveW, ChartPoint waveX1, ChartPoint waveY, ChartPoint waveX2, ChartPoint waveZ, Color color, int thickness)` — Draws an Elliott Triple Combo Wave (W-X-Y-X-Z). [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawElliottTripleCombo/index.md)
- `ChartElliottTripleCombo DrawElliottTripleCombo(string name, ChartPoint origin, ChartPoint waveW, ChartPoint waveX1, ChartPoint waveY, ChartPoint waveX2, ChartPoint waveZ, Color color, int thickness, LineStyle lineStyle)` — Draws an Elliott Triple Combo Wave (W-X-Y-X-Z). [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawElliottTripleCombo/index.md)
- `ChartEllipse DrawEllipse(string name, DateTime time1, double y1, DateTime time2, double y2, Color color)` — Draws an ellipse. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawEllipse/index.md)
- `ChartEllipse DrawEllipse(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness)` — Draws an ellipse. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawEllipse/index.md)
- `ChartEllipse DrawEllipse(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness, LineStyle lineStyle)` — Draws an ellipse. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawEllipse/index.md)
- `ChartEllipse DrawEllipse(string name, int barIndex1, double y1, int barIndex2, double y2, Color color)` — Draws an ellipse. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawEllipse/index.md)
- `ChartEllipse DrawEllipse(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness)` — Draws an ellipse. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawEllipse/index.md)
- `ChartEllipse DrawEllipse(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness, LineStyle lineStyle)` — Draws an ellipse. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawEllipse/index.md)
- `ChartEquidistantChannel DrawEquidistantChannel(string name, DateTime time1, double y1, DateTime time2, double y2, double channelHeight, Color color)` — Draws an equidistant channel. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawEquidistantChannel/index.md)
- `ChartEquidistantChannel DrawEquidistantChannel(string name, DateTime time1, double y1, DateTime time2, double y2, double channelHeight, Color color, int thickness)` — Draws an equidistant channel. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawEquidistantChannel/index.md)
- `ChartEquidistantChannel DrawEquidistantChannel(string name, DateTime time1, double y1, DateTime time2, double y2, double channelHeight, Color color, int thickness, LineStyle lineStyle)` — Draws an equidistant channel. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawEquidistantChannel/index.md)
- `ChartEquidistantChannel DrawEquidistantChannel(string name, int barIndex1, double y1, int barIndex2, double y2, double channelHeight, Color color)` — Draws an equidistant channel. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawEquidistantChannel/index.md)
- `ChartEquidistantChannel DrawEquidistantChannel(string name, int barIndex1, double y1, int barIndex2, double y2, double channelHeight, Color color, int thickness)` — Draws an equidistant channel. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawEquidistantChannel/index.md)
- `ChartEquidistantChannel DrawEquidistantChannel(string name, int barIndex1, double y1, int barIndex2, double y2, double channelHeight, Color color, int thickness, LineStyle lineStyle)` — Draws an equidistant channel. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawEquidistantChannel/index.md)
- `ChartFibonacciArc DrawFibonacciArc(string name, DateTime time1, double y1, DateTime time2, double y2, Color color)` — Draws a Fibonacci arc. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciArc/index.md)
- `ChartFibonacciArc DrawFibonacciArc(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness)` — Draws a Fibonacci arc. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciArc/index.md)
- `ChartFibonacciArc DrawFibonacciArc(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness, LineStyle lineStyle)` — Draws a Fibonacci arc. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciArc/index.md)
- `ChartFibonacciArc DrawFibonacciArc(string name, int barIndex1, double y1, int barIndex2, double y2, Color color)` — Draws a Fibonacci arc. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciArc/index.md)
- `ChartFibonacciArc DrawFibonacciArc(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness)` — Draws a Fibonacci arc. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciArc/index.md)
- `ChartFibonacciArc DrawFibonacciArc(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness, LineStyle lineStyle)` — Draws a Fibonacci arc. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciArc/index.md)
- `ChartFibonacciExpansion DrawFibonacciExpansion(string name, DateTime time1, double y1, DateTime time2, double y2, DateTime time3, double y3, Color color)` — Draws a Fibonacci expansion. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciExpansion/index.md)
- `ChartFibonacciExpansion DrawFibonacciExpansion(string name, DateTime time1, double y1, DateTime time2, double y2, DateTime time3, double y3, Color color, int thickness)` — Draws a Fibonacci expansion. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciExpansion/index.md)
- `ChartFibonacciExpansion DrawFibonacciExpansion(string name, DateTime time1, double y1, DateTime time2, double y2, DateTime time3, double y3, Color color, int thickness, LineStyle lineStyle)` — Draws a Fibonacci expansion. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciExpansion/index.md)
- `ChartFibonacciExpansion DrawFibonacciExpansion(string name, int barIndex1, double y1, int barIndex2, double y2, int barIndex3, double y3, Color color)` — Draws a Fibonacci expansion. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciExpansion/index.md)
- `ChartFibonacciExpansion DrawFibonacciExpansion(string name, int barIndex1, double y1, int barIndex2, double y2, int barIndex3, double y3, Color color, int thickness)` — Draws a Fibonacci expansion. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciExpansion/index.md)
- `ChartFibonacciExpansion DrawFibonacciExpansion(string name, int barIndex1, double y1, int barIndex2, double y2, int barIndex3, double y3, Color color, int thickness, LineStyle lineStyle)` — Draws a Fibonacci expansion. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciExpansion/index.md)
- `ChartFibonacciFan DrawFibonacciFan(string name, DateTime time1, double y1, DateTime time2, double y2, Color color)` — Draws a Fibonacci fan. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciFan/index.md)
- `ChartFibonacciFan DrawFibonacciFan(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness)` — Draws a Fibonacci fan. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciFan/index.md)
- `ChartFibonacciFan DrawFibonacciFan(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness, LineStyle lineStyle)` — Draws a Fibonacci fan. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciFan/index.md)
- `ChartFibonacciFan DrawFibonacciFan(string name, int barIndex1, double y1, int barIndex2, double y2, Color color)` — Draws a Fibonacci fan. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciFan/index.md)
- `ChartFibonacciFan DrawFibonacciFan(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness)` — Draws a Fibonacci fan. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciFan/index.md)
- `ChartFibonacciFan DrawFibonacciFan(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness, LineStyle lineStyle)` — Draws a Fibonacci fan. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciFan/index.md)
- `ChartFibonacciRetracement DrawFibonacciRetracement(string name, DateTime time1, double y1, DateTime time2, double y2, Color color)` — Draws a Fibonacci retracement. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciRetracement/index.md)
- `ChartFibonacciRetracement DrawFibonacciRetracement(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness)` — Draws a Fibonacci retracement. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciRetracement/index.md)
- `ChartFibonacciRetracement DrawFibonacciRetracement(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness, LineStyle lineStyle)` — Draws a Fibonacci retracement. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciRetracement/index.md)
- `ChartFibonacciRetracement DrawFibonacciRetracement(string name, int barIndex1, double y1, int barIndex2, double y2, Color color)` — Draws a Fibonacci retracement. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciRetracement/index.md)
- `ChartFibonacciRetracement DrawFibonacciRetracement(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness)` — Draws a Fibonacci retracement. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciRetracement/index.md)
- `ChartFibonacciRetracement DrawFibonacciRetracement(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness, LineStyle lineStyle)` — Draws a Fibonacci retracement. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciRetracement/index.md)
- `ChartFibonacciTimezones DrawFibonacciTimezones(string name, DateTime time1, double y1, DateTime time2, double y2, Color color)` — Draws a Fibonacci timezones. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciTimezones/index.md)
- `ChartFibonacciTimezones DrawFibonacciTimezones(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness)` — Draws a Fibonacci timezones. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciTimezones/index.md)
- `ChartFibonacciTimezones DrawFibonacciTimezones(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness, LineStyle lineStyle)` — Draws a Fibonacci timezones. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciTimezones/index.md)
- `ChartFibonacciTimezones DrawFibonacciTimezones(string name, int barIndex1, double y1, int barIndex2, double y2, Color color)` — Draws a Fibonacci timezones. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciTimezones/index.md)
- `ChartFibonacciTimezones DrawFibonacciTimezones(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness)` — Draws a Fibonacci timezones. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciTimezones/index.md)
- `ChartFibonacciTimezones DrawFibonacciTimezones(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness, LineStyle lineStyle)` — Draws a Fibonacci timezones. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawFibonacciTimezones/index.md)
- `ChartGannBox DrawGannBox(string name, DateTime time1, double y1, DateTime time2, double y2, Color color)` — Draws a Gann box. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawGannBox/index.md)
- `ChartGannBox DrawGannBox(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness)` — Draws a Gann box. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawGannBox/index.md)
- `ChartGannBox DrawGannBox(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness, LineStyle lineStyle)` — Draws a Gann box. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawGannBox/index.md)
- `ChartGannBox DrawGannBox(string name, int barIndex1, double y1, int barIndex2, double y2, Color color)` — Draws a Gann box. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawGannBox/index.md)
- `ChartGannBox DrawGannBox(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness)` — Draws a Gann box. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawGannBox/index.md)
- `ChartGannBox DrawGannBox(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness, LineStyle lineStyle)` — Draws a Gann box. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawGannBox/index.md)
- `ChartGannFan DrawGannFan(string name, DateTime time1, double y1, DateTime time2, double y2, Color color)` — Draws a Gann fan. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawGannFan/index.md)
- `ChartGannFan DrawGannFan(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness)` — Draws a Gann fan. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawGannFan/index.md)
- `ChartGannFan DrawGannFan(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness, LineStyle lineStyle)` — Draws a Gann fan. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawGannFan/index.md)
- `ChartGannFan DrawGannFan(string name, int barIndex1, double y1, int barIndex2, double y2, Color color)` — Draws a Gann fan. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawGannFan/index.md)
- `ChartGannFan DrawGannFan(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness)` — Draws a Gann fan. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawGannFan/index.md)
- `ChartGannFan DrawGannFan(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness, LineStyle lineStyle)` — Draws a Gann fan. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawGannFan/index.md)
- `ChartGannSquare DrawGannSquare(string name, DateTime time1, double y1, DateTime time2, double y2, Color color)` — Draws a Gann square. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawGannSquare/index.md)
- `ChartGannSquare DrawGannSquare(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness)` — Draws a Gann square. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawGannSquare/index.md)
- `ChartGannSquare DrawGannSquare(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness, LineStyle lineStyle)` — Draws a Gann square. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawGannSquare/index.md)
- `ChartGannSquare DrawGannSquare(string name, int barIndex1, double y1, int barIndex2, double y2, Color color)` — Draws a Gann square. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawGannSquare/index.md)
- `ChartGannSquare DrawGannSquare(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness)` — Draws a Gann square. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawGannSquare/index.md)
- `ChartGannSquare DrawGannSquare(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness, LineStyle lineStyle)` — Draws a Gann square. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawGannSquare/index.md)
- `ChartGannSquareFixed DrawGannSquareFixed(string name, DateTime time1, double y1, DateTime time2, double y2, Color color)` — Draws a Gann square fixed. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawGannSquareFixed/index.md)
- `ChartGannSquareFixed DrawGannSquareFixed(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness)` — Draws a Gann square fixed. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawGannSquareFixed/index.md)
- `ChartGannSquareFixed DrawGannSquareFixed(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness, LineStyle lineStyle)` — Draws a Gann square fixed. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawGannSquareFixed/index.md)
- `ChartGannSquareFixed DrawGannSquareFixed(string name, int barIndex1, double y1, int barIndex2, double y2, Color color)` — Draws a Gann square fixed. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawGannSquareFixed/index.md)
- `ChartGannSquareFixed DrawGannSquareFixed(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness)` — Draws a Gann square fixed. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawGannSquareFixed/index.md)
- `ChartGannSquareFixed DrawGannSquareFixed(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness, LineStyle lineStyle)` — Draws a Gann square fixed. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawGannSquareFixed/index.md)
- `ChartHorizontalLine DrawHorizontalLine(string name, double y, Color color)` — Draws a horizontal line. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawHorizontalLine/index.md)
- `ChartHorizontalLine DrawHorizontalLine(string name, double y, Color color, int thickness)` — Draws a horizontal line. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawHorizontalLine/index.md)
- `ChartHorizontalLine DrawHorizontalLine(string name, double y, Color color, int thickness, LineStyle lineStyle)` — Draws a horizontal line. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawHorizontalLine/index.md)
- `ChartIcon DrawIcon(string name, ChartIconType iconType, DateTime time, double y, Color color)` — Draws an icon. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawIcon/index.md)
- `ChartIcon DrawIcon(string name, ChartIconType iconType, int barIndex, double y, Color color)` — Draws an icon. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawIcon/index.md)
- `ChartRectangle DrawRectangle(string name, DateTime time1, double y1, DateTime time2, double y2, Color color)` — Draws a rectangle. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawRectangle/index.md)
- `ChartRectangle DrawRectangle(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness)` — Draws a rectangle. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawRectangle/index.md)
- `ChartRectangle DrawRectangle(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness, LineStyle lineStyle)` — Draws a rectangle. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawRectangle/index.md)
- `ChartRectangle DrawRectangle(string name, int barIndex1, double y1, int barIndex2, double y2, Color color)` — Draws a rectangle. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawRectangle/index.md)
- `ChartRectangle DrawRectangle(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness)` — Draws a rectangle. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawRectangle/index.md)
- `ChartRectangle DrawRectangle(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness, LineStyle lineStyle)` — Draws a rectangle. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawRectangle/index.md)
- `ChartStaticText DrawStaticText(string name, string text, VerticalAlignment verticalAlignment, HorizontalAlignment horizontalAlignment, Color color)` — Draws the static text. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawStaticText/index.md)
- `ChartText DrawText(string name, string text, DateTime time, double y, Color color)` — Draws the text. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawText/index.md)
- `ChartText DrawText(string name, string text, int barIndex, double y, Color color)` — Draws the text. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawText/index.md)
- `ChartTrendLine DrawTrendLine(string name, DateTime time1, double y1, DateTime time2, double y2, Color color)` — Draws a trend line. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawTrendLine/index.md)
- `ChartTrendLine DrawTrendLine(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness)` — Draws a trend line. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawTrendLine/index.md)
- `ChartTrendLine DrawTrendLine(string name, DateTime time1, double y1, DateTime time2, double y2, Color color, int thickness, LineStyle lineStyle)` — Draws a trend line. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawTrendLine/index.md)
- `ChartTrendLine DrawTrendLine(string name, int barIndex1, double y1, int barIndex2, double y2, Color color)` — Draws a trend line. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawTrendLine/index.md)
- `ChartTrendLine DrawTrendLine(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness)` — Draws a trend line. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawTrendLine/index.md)
- `ChartTrendLine DrawTrendLine(string name, int barIndex1, double y1, int barIndex2, double y2, Color color, int thickness, LineStyle lineStyle)` — Draws a trend line. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawTrendLine/index.md)
- `ChartTriangle DrawTriangle(string name, DateTime time1, double y1, DateTime time2, double y2, DateTime time3, double y3, Color color)` — Draws a triangle. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawTriangle/index.md)
- `ChartTriangle DrawTriangle(string name, DateTime time1, double y1, DateTime time2, double y2, DateTime time3, double y3, Color color, int thickness)` — Draws a triangle. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawTriangle/index.md)
- `ChartTriangle DrawTriangle(string name, DateTime time1, double y1, DateTime time2, double y2, DateTime time3, double y3, Color color, int thickness, LineStyle lineStyle)` — Draws a triangle. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawTriangle/index.md)
- `ChartTriangle DrawTriangle(string name, int barIndex1, double y1, int barIndex2, double y2, int barIndex3, double y3, Color color)` — Draws a triangle. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawTriangle/index.md)
- `ChartTriangle DrawTriangle(string name, int barIndex1, double y1, int barIndex2, double y2, int barIndex3, double y3, Color color, int thickness)` — Draws a triangle. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawTriangle/index.md)
- `ChartTriangle DrawTriangle(string name, int barIndex1, double y1, int barIndex2, double y2, int barIndex3, double y3, Color color, int thickness, LineStyle lineStyle)` — Draws a triangle. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawTriangle/index.md)
- `ChartVerticalLine DrawVerticalLine(string name, DateTime time, Color color)` — Draws a vertical line. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawVerticalLine/index.md)
- `ChartVerticalLine DrawVerticalLine(string name, DateTime time, Color color, int thickness)` — Draws a vertical line. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawVerticalLine/index.md)
- `ChartVerticalLine DrawVerticalLine(string name, DateTime time, Color color, int thickness, LineStyle lineStyle)` — Draws a vertical line. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawVerticalLine/index.md)
- `ChartVerticalLine DrawVerticalLine(string name, int barIndex, Color color)` — Draws a vertical line. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawVerticalLine/index.md)
- `ChartVerticalLine DrawVerticalLine(string name, int barIndex, Color color, int thickness)` — Draws a vertical line. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawVerticalLine/index.md)
- `ChartVerticalLine DrawVerticalLine(string name, int barIndex, Color color, int thickness, LineStyle lineStyle)` — Draws a vertical line. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawVerticalLine/index.md)
- `T[] FindAllObjects()` — Finds all the chart objects of the specified type. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/FindAllObjects/index.md)
- `ChartObject[] FindAllObjects(ChartObjectType objectType)` — Finds all the chart objects of the specified type. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/FindAllObjects/index.md)
- `ChartObject FindObject(string objectName)` — Finds the chart object of the specified name. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/FindObject/index.md)
- `void MoveControl(ControlBase control, int barIndex, double y)` — Moves a chart control to chart / indicator area on absolute bar index and price (x,y) coordinates. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/MoveControl/index.md)
- `void MoveControl(ControlBase control, DateTime time, double y)` — Moves a chart control to chart / indicator area on absolute time and price (x,y) coordinates. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/MoveControl/index.md)
- `void MoveControl(ControlBase control, DateTime time)` — Moves a chart control to chart / indicator area on absolute time (x) coordinate. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/MoveControl/index.md)
- `void MoveControl(ControlBase control, int barIndex)` — Moves a chart control to chart / indicator area on absolute bar index (x) coordinate. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/MoveControl/index.md)
- `void MoveControl(ControlBase control, double y)` — Moves a chart control to chart / indicator area on absolute price (y) coordinate. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/MoveControl/index.md)
- `void RemoveAllObjects()` — Removes all interactive and non-interactive objects available for the cBot or Indicator. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/RemoveAllObjects/index.md)
- `void RemoveControl(ControlBase control)` — Remove a chart control from the chart area. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/RemoveControl/index.md)
- `void RemoveObject(string objectName)` — Removes the chart object of the specified name. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/RemoveObject/index.md)
- `void ResetPriceScale()` — Resets the price scale of the chart area to its default state: enables the auto scale and fits the Y-axis range to the visible bars and outputs. Does not change the price scale mode, the inversion or the price axis position. Ignored on the main chart area while the price to bar ratio is locked. Does nothing in the silent backtesting, the CLI and the cloud. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/ResetPriceScale/index.md)
- `void SetYRange(double bottomY, double topY)` — Sets the Y-axis lowest and highest values range. Allows scrolling the chart by the Y-axis. If only one of the values is set, then the chart will be expanded regarding the lowest or highest value respectively. A range whose lowest value is not lower than its highest value is ignored, and so is any range on the main chart area while the price scale mode is Percent or IndexedTo100. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/SetYRange/index.md)
- `double TimeToX(DateTime time)` — Converts area Time coordinate to Mouse X coordinate value. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/TimeToX/index.md)
- `double XToBarIndex(double x)` — Converts X coordinate to bar index. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/XToBarIndex/index.md)
- `DateTime XToTime(double x)` — Converts Mouse X coordinate to area Time coordinate value. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/XToTime/index.md)
- `double YToYValue(double y)` — Converts Mouse Y coordinate to area Y axis coordinate value. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/YToYValue/index.md)
- `double YValueToY(double yValue)` — Converts Area Y axis coordinate value to mouse Y coordinate. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/YValueToY/index.md)

## Properties

- `double BottomY {get;}` — Gets the lowest visible Y-axis value. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/BottomY/index.md)
- `ChartDraggables Draggables {get;}` — Gets chart area draggables. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/Draggables/index.md)
- `double Height {get;}` — Gets the hight of the chart area. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/Height/index.md)
- `bool IsAlive {get;}` — Checks whether the instance is still on the chart area. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/IsAlive/index.md)
- `bool IsAutoScaleEnabled {get; set;}` — Gets or sets the value indicating whether the auto scale is enabled for the chart area. When enabled, the Y-axis range is fitted automatically to the visible bars and outputs while the chart scrolls. Setting the Y-axis range with SetYRange, or dragging the price axis, disables the auto scale. On the main chart area the auto scale is always enabled while the price scale mode is Percent or IndexedTo100, and is always disabled while the price to bar ratio is locked; setting it to a conflicting value in these states is ignored. In the silent backtesting, the CLI and the cloud the value is only stored and has no visual effect. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/IsAutoScaleEnabled/index.md)
- `IReadonlyList<ChartObject> Objects {get;}` — Gets the chart objects collection. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/Objects/index.md)
- `IReadonlyList<ChartObject> SelectedObjects {get;}` — Gets the list of currently selected objects if any. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/SelectedObjects/index.md)
- `double TopY {get;}` — Gets the highest visible Y-axis value. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/TopY/index.md)
- `double Width {get;}` — Gets the width of the chart area. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/Width/index.md)

## Events

- `event Action<ChartDragEventArgs> Drag;` — Occurs when dragging a chart area. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/Drag/index.md)
- `event Action<ChartDragEventArgs> DragEnd;` — Occurs when mouse button is released while dragging a chart area or a chart area loses mouse capture. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DragEnd/index.md)
- `event Action<ChartDragEventArgs> DragStart;` — Occurs when MouseDown event is happening on a chart area and a mouse is captured for dragging. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DragStart/index.md)
- `event Action<ChartMouseEventArgs> MouseDown;` — Occurs when the left mouse button is pressed down. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/MouseDown/index.md)
- `event Action<ChartMouseEventArgs> MouseEnter;` — Occurs when the cursor hover over the chart area. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/MouseEnter/index.md)
- `event Action<ChartMouseEventArgs> MouseLeave;` — Occurs when the cursor leaves the chart area [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/MouseLeave/index.md)
- `event Action<ChartMouseEventArgs> MouseMove;` — Occurs when the cursor moves over the chart area. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/MouseMove/index.md)
- `event Action<ChartMouseEventArgs> MouseUp;` — Occurs when the left mouse button is released. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/MouseUp/index.md)
- `event Action<ChartMouseWheelEventArgs> MouseWheel;` — Occurs when the mouse wheel button is rotated. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/MouseWheel/index.md)
- `event Action<ChartObjectHoverChangedEventArgs> ObjectHoverChanged;` — Occurs when the cursor hovers over or leaves the object. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/ObjectHoverChanged/index.md)
- `event Action<ChartObjectsAddedEventArgs> ObjectsAdded;` — Occurs when one or several chart objects are added to the chart area. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/ObjectsAdded/index.md)
- `event Action<ChartObjectsMoveEndedEventArgs> ObjectsMoveEnded;` — Occurs when one or several chart objects are moved. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/ObjectsMoveEnded/index.md)
- `event Action<ChartObjectsMoveStartedEventArgs> ObjectsMoveStarted;` — Occurs when one or several chart objects move started. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/ObjectsMoveStarted/index.md)
- `event Action<ChartObjectsMovingEventArgs> ObjectsMoving;` — Occurs when one or several chart objects are moving. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/ObjectsMoving/index.md)
- `event Action<ChartObjectsRemovedEventArgs> ObjectsRemoved;` — Occurs when one or several chart object are removed from the chart area. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/ObjectsRemoved/index.md)
- `event Action<ChartObjectsSelectionChangedEventArgs> ObjectsSelectionChanged;` — Occurs when chart objects are selected or deselected. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/ObjectsSelectionChanged/index.md)
- `event Action<ChartObjectsUpdatedEventArgs> ObjectsUpdated;` — Occurs when one or several chart objects are updated. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/ObjectsUpdated/index.md)
- `event Action<ChartPriceScaleEventArgs> PriceScaleChanged;` — Occurs when the price scale state of the chart area changes: the auto scale is enabled or disabled, or the price scale is reset. On the main chart area it also occurs when any chart level price scale setting changes: the price scale mode, the inversion, the price to bar ratio lock or value, the scale price chart only option or the price axis position. Not raised in the silent backtesting, the CLI and the cloud. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/PriceScaleChanged/index.md)
- `event Action<ChartScrollEventArgs> ScrollChanged;` — Occurs when the X-axis position value or the Y-axis position value changes while scrolling. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/ScrollChanged/index.md)
- `event Action<ChartSizeEventArgs> SizeChanged;` — Occurs when the chart area size has changed. [details](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/SizeChanged/index.md)

## Deprecated members

- `event Action<ChartObjectAddedEventArgs> ObjectAdded;` — Use ObjectsAdded instead
- `event Action<ChartObjectUpdatedEventArgs> ObjectUpdated;` — Use ObjectsUpdated instead
- `event Action<ChartObjectRemovedEventArgs> ObjectRemoved;` — Use ObjectsRemoved instead
- `event Action<ChartObjectSelectionChangedEventArgs> ObjectSelectionChanged;` — Use ObjectsSelectionChanged instead

