---
title: "Scatter ViewHelper <c:apexchart.generic>"
manual: "SAV Charts"
version: "14.8"
source: "Reference/FluidParserViewHelpers/ApexChart/GenericViewHelper/Index.rst"
rendered: "2026-09-29T16:44:58+00:00"
---

# Scatter ViewHelper \<c:apexchart.generic> {#apexchart-genericviewhelper}

ViewHelper to include a generic chart, that is a
chart that has no predefined type, with `ApexCharts`.

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

## Quick Test {#quick-test}

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

![](../../../../Images/ScreenShots/ApexCharts/stackedBarChart.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 Generic Chart {#defining-a-generic-chart}

```xml
<c:apexcharts>
    <c:apexchart.generic id="1" options="data__genericChartOptions" >
        ...
    </c:apexchart.generic>
</c:apexcharts>
```
