HorizontalStackedBar ViewHelper <c:chart.horizontalStackedBar> 

ViewHelper to include a horizontalStackedBar chart with Charts.js.

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

Quick Test 

<c:template id="1">
EXT:sav_charts/Resources/Private/Templates/ChartsExamples/FluidParser/HorizontalStackedBarChart.fluid"
</c:template>
Copied!

Arguments 

id
Required

true

Type
string

Chart ID

data
Required

true

Type
mixed

Data, or a reference to data

options
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 horizontalStackedBar Chart 

<c:charts>
    <c:chart.horizontalStackedBar id="1" data="data__horizontalStackedBarChartData" options="data__horizontalStackedBarChartOptions" >
        ...
    </c:chart.horizontalStackedBar>
</c:charts>
Copied!