Scatter ViewHelper <c:chart.scatter>
ViewHelper to include a scatter chart.
Go to the source code of this ViewHelper: ScatterViewHelper.php (GitHub).
Arguments
id
-
- Required
true
- Type
- string
Chart ID
data
-
- Required
true
- Type
- mixed
Data, or a reference to data
options
-
- Required
true
- Type
- mixed
Options, or a reference to options
width
-
- Type
- string
- Default
- 600
Width value, or a reference to the width value
height
-
- Type
- string
- Default
- 400
Height value, or a reference to the height value
Examples
Defining a Scatter Chart
<c:charts>
<c:chart.scatter id="1" data="data__scatterChartData" options="data__scatterChartOptions" >
...
</c:chart.scatter>
</c:charts>
Copied!