.. include:: ../../../../Includes.txt .. _plotlychart.lineViewHelper: :navigation-title: plotlychart.line ==================================== Line ViewHelper ==================================== ViewHelper to include a line chart with `Plotly`. Go to the source code of this ViewHelper: `LineViewHelper.php `_ (GitHub). Quick Test ========== .. code-block:: xml EXT:sav_charts/Resources/Private/Templates/PlotlyChartsExamples/LineChart.fluid" .. figure:: ../../../../Images/ScreenShots/PlotlyCharts/lineChart.png :width: 40% Arguments ========= .. confval:: id :name: plotlychart.lineId :Type: string :required: true Chart ID .. confval:: data :name: plotlychart.lineData :Type: mixed :required: true Data, or a reference to data .. confval:: layout :name: plotlychart.lineLayout :Type: mixed Layout, or a reference to layout .. confval:: config :name: plotlychart.lineConfig :Type: mixed Config, or a reference to config .. confval:: width :name: plotlychart.lineWidth :Type: string :Default: 600 Width value, or a reference to the width value .. confval:: height :name: plotlychart.lineHeight :Type: string :Default: 400 Height value, or a reference to the height value Examples ======== Defining a Line Chart --------------------- .. code-block:: xml ...