---
id: "P:cAlgo.API.IndicatorTypeBarOutput.DefaultChartType"
kind: "property"
type: "T:cAlgo.API.IndicatorTypeBarOutput"
url: "https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/IndicatorTypeBarOutput/DefaultChartType/"
---

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

# IndicatorTypeBarOutput.DefaultChartType

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

## DefaultChartType

Gets default chart type.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
ChartType DefaultChartType {get;}
```

Python:

```python
indicatorTypeBarOutput.DefaultChartType: ChartType
```

### Returns

`ChartType` — 

Available since cAlgo.API 5.4.

### Examples

C#:

```csharp
foreach (var indicatorType in AlgoRegistry.Indicators)
{
    foreach (var barOutput in indicatorType.Bars)
        Print("{0} default chart type: {1}", barOutput.Name, barOutput.DefaultChartType);
}
```

Python:

```python
for indicatorType in api.AlgoRegistry.Indicators:
    for barOutput in indicatorType.Bars:
        api.Print(f"{barOutput.Name} default chart type: {barOutput.DefaultChartType}")
```

