How to create and configure the Funnel Chart
.sql
file that the Funnel chart accepts must contain only 2 columns, one for the labels and another one for the values.
values | labels |
---|---|
245 | Pending |
120 | In Progress |
32 | Closed |
<FunnelChart ... />
to add it to your view. Within the tag you must add the properties to configure the chart.
.sql
file from which your chart will get the data. It’s not necessary to specify the full path, just the name, because we will search all folders until we find itheight={720}
. The default value is 400px.width={480}
. By default it takes the 100% or the available width.ascending
or descending
. Default descending
.vertical
or horizontal
. Default vertical
.opts
property we can include some options to modify the behavior of the chart. At the moment only the reactToParams
option is available.