Pie ViewHelper <c:apexchart.pie>
ViewHelper to include a pie chart with Apex.
Go to the source code of this ViewHelper: PieViewHelper.php (GitHub).
Quick Test
<c:template id="1">
EXT:sav_charts/Resources/Private/Templates/ApexChartsExamples/PieChart.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 Pie Chart
<c:apexcharts>
<c:apexchart.pie id="1" options="data__pieChartOptions" >
...
</c:apexchart.pie>
</c:apexcharts>
Copied!