Gauge ViewHelper <c:echart.gauge> 

ViewHelper to include a gauge chart with Apache ECharts.

Go to the source code of this ViewHelper: GaugeViewHelper.php (GitHub).

Quick Test 

<c:template id="1">
EXT:sav_charts/Resources/Private/Templates/EChartsExamples/GaugeChart.fluid"
</c:template>
Copied!

Arguments 

id
Required

true

Type
string

Chart ID

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 Gauge Chart 

<c:echarts>
    <c:echart.gauge id="1" options="data__gaugeChartOptions" >
        ...
    </c:echart.gauge>
</c:echarts>
Copied!