StackedBar ViewHelper <c:chart.stackedBar> 

ViewHelper to include a stackedBar chart.

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

Arguments 

id

id
Required

true

Type
string

Chart ID

data

data
Required

true

Type
mixed

Data, or a reference to data

options

options
Required

true

Type
mixed

Options, or a reference to options

width

width
Type
string
Default
600

Width value, or a reference to the width value

height

height
Type
string
Default
400

Height value, or a reference to the height value

Examples 

Defining a stackedBar Chart 

<c:charts>
    <c:chart.stackedBar id="1" data="data__stackedBarChartData" options="data__stackedBarChartOptions" >
        ...
    </c:chart.stackedBar>
</c:charts>
Copied!