Doughnut ViewHelper <c:chart.doughnut>
ViewHelper to include a doughnut chart with Charts..
Go to the source code of this ViewHelper: DoughnutViewHelper.php (GitHub).
Quick Test
<c:template id="1">
EXT:sav_charts/Resources/Private/Templates/ChartsExamples/FluidParser/DoughnutChart.fluid"
</c:template>
Copied!
Arguments
-
- Required
true
- Type
- string
Chart ID
-
- Required
true
- Type
- mixed
Data, or a reference to data
-
- 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 Doughnut Chart
<c:charts>
<c:chart.doughnut id="1" data="data__doughnutChartData" options="data__doughnutChartOptions" >
...
</c:chart.doughnut>
</c:charts>
Copied!