---
title: "Candlestick ViewHelper <c:echart.candlestick>"
manual: "SAV Charts"
version: "14.7"
source: "Reference/FluidParserViewHelpers/EChart/CandlestickViewHelper/Index.rst"
rendered: "2026-09-17T13:01:15+00:00"
---

# Candlestick ViewHelper \<c:echart.candlestick> {#candlestick-viewhelper-c-echart-candlestick}

ViewHelper to include a candlestick chart with `Apache ECharts`.

Go to the source code of this ViewHelper:
[CandlestickViewHelper.php](https://github.com/YolfTypo3/SavCharts/blob/main/Classes/ViewHelpers/EChart/CandlestickViewHelper.php) (GitHub).

## Quick Test {#quick-test}

```xml
<c:template id="1">
EXT:sav_charts/Resources/Private/Templates/EChartsExamples/CandlestickChart.fluid"
</c:template>
```

![](../../../../Images/ScreenShots/ECharts/candlestickChart.png)

## Arguments {#arguments}

-   **id**

    -   *Required:* true
    -   *Type:* string

    Chart ID

-   **options**

    -   *Required:* true
    -   *Type:* mixed

    Options, or a reference to options

-   **width**

    -   *Type:* string
    -   *Default:* 600

    Width value, or a reference to the width value

-   **height**

    -   *Type:* string
    -   *Default:* 400

    Height value, or a reference to the height value

## Examples {#examples}

### Defining a Candlestick Chart {#defining-a-candlestick-chart}

```xml
<c:echarts>
    <c:echart.candlestick id="1" options="data__candlestickChartOptions" >
        ...
    </c:echart.candlestick>
</c:echarts>
```
