HorizontalBar ViewHelper <c:chart.horizontalBar> 

ViewHelper to include a horizontalBar chart.

Go to the source code of this ViewHelper: HorizontalBarViewHelper.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 horizontalBar Chart 

<c:charts>
    <c:chart.horizontalBar id="1" data="data__horizontalBarChartData" options="data__horizontalBarChartOptions" >
        ...
    </c:chart.horizontalBar>
</c:charts>
Copied!