.. include:: ../../../../Includes.txt .. _barViewHelper: :navigation-title: chart.bar ============================ Bar ViewHelper ============================ ViewHelper to include a bar chart with `Charts.js`. Go to the source code of this ViewHelper: `BarViewHelper.php `_ (GitHub). Quick Test ========== .. code-block:: xml EXT:sav_charts/Resources/Private/Templates/ChartsExamples/FluidParser/BarChart.fluid" .. figure:: ../../../../Images/ScreenShots/Charts/barChart.png :width: 40% Arguments ========= .. confval:: id :name: barId :Type: string :required: true Chart ID .. confval:: data :name: barData :Type: mixed :required: true Data, or a reference to data .. confval:: options :name: barOptions :Type: mixed Options, or a reference to options .. confval:: width :name: barWidth :Type: string :Default: 600 Width value, or a reference to the width value .. confval:: height :name: barHeight :Type: string :Default: 400 Height value, or a reference to the height value Examples ======== Defining a Bar Chart -------------------- .. code-block:: xml ...