Scatter ViewHelper <c:plotlychart.scatter>
ViewHelper to include a scatter chart with Plotly.
Go to the source code of this ViewHelper: ScatterViewHelper.php (GitHub).
Quick Test
<c:template id="1">
EXT:sav_charts/Resources/Private/Templates/PlotlyChartsExamples/ScatterChart.fluid"
</c:template>
Copied!
Arguments
-
- Required
true
- Type
- string
Chart ID
-
- Required
true
- Type
- mixed
Data, or a reference to data
-
- Type
- mixed
Layout, or a reference to layout
-
- Type
- mixed
Config, or a reference to config
-
- Type
- string
- Default
- 600
Width value, or a reference to the width value
-
- Type
- string
- Default
- 400
Height value, or a reference to the height value
Examples
Defining a Scatter Chart
<c:plotlycharts>
<c:plotlychart.scatter id="1" data="data__scatterChartData" layout="data__scatterChartLayout" >
...
</c:plotlychart.scatter>
</c:plotlycharts>
Copied!