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