.. include:: ../../../../Includes.txt .. _pieViewHelper: :navigation-title: chart.pie ============================ Pie ViewHelper ============================ ViewHelper to include a pie chart with `Charts.js`. Go to the source code of this ViewHelper: `PieViewHelper.php `_ (GitHub). Quick Test ========== .. code-block:: xml EXT:sav_charts/Resources/Private/Templates/ChartsExamples/FluidParser/PieChart.fluid" .. figure:: ../../../../Images/ScreenShots/Charts/pieChart.png :width: 40% Arguments ========= .. confval:: id :name: pieId :Type: string :required: true Chart ID .. confval:: data :name: pieData :Type: mixed :required: true Data, or a reference to data .. confval:: options :name: pieOptions :Type: mixed Options, or a reference to options .. confval:: width :name: pieWidth :Type: string :Default: 600 Width value, or a reference to the width value .. confval:: height :name: pieHeight :Type: string :Default: 400 Height value, or a reference to the height value Examples ======== Defining a Pie Chart -------------------- .. code-block:: xml ...