.. include:: ../../../../Includes.txt .. _lineViewHelper: :navigation-title: chart.line ============================= Pie ViewHelper ============================= ViewHelper to include a line chart with `Charts.js`. Go to the source code of this ViewHelper: `LineViewHelper.php `_ (GitHub). Quick Test ========== .. code-block:: xml EXT:sav_charts/Resources/Private/Templates/ChartsExamples/FluidParser/LineChart.fluid" .. figure:: ../../../../Images/ScreenShots/Charts/lineChart.png :width: 40% Arguments ========= .. confval:: id :name: lineId :Type: string :required: true Chart ID .. confval:: data :name: lineData :Type: mixed :required: true Data, or a reference to data .. confval:: options :name: lineOptions :Type: mixed Options, or a reference to options .. confval:: width :name: lineWidth :Type: string :Default: 600 Width value, or a reference to the width value .. confval:: height :name: lineHeight :Type: string :Default: 400 Height value, or a reference to the height value Examples ======== Defining a Line Chart -------------------- .. code-block:: xml ...