Generic ViewHelper <c:echart.generic>
ViewHelper to include a generic chart, that is a
chart that has no predefined type, with Apache ECharts.
Go to the source code of this ViewHelper: GenericViewHelper.php (GitHub).
Quick Test
<c:template id="1">
EXT:sav_charts/Resources/Private/Templates/EChartsExamples/StackedBarChart.fluid"
</c:template>
Copied!
Arguments
-
- Required
true
- Type
- string
Chart ID
-
- Required
true
- Type
- mixed
Options, or a reference to options
-
- Type
- string
- Default
- 600
Width value, or a reference to the width value
-
- Type
- string
- Default
- 400
Height value, or a reference to the height value
Examples
Defining a Generic Chart
<c:echarts>
<c:echart.generic id="1" options="data__genericChartOptions" >
...
</c:echart.generic>
</c:echarts>
Copied!