Another, and more visual, way to display the data from lists is using charts.
 

1 Selecting chart type

The first step is to select the chart type on the Render parameter in the 'Graph axes'.

The options that this field gives correspond to the following main sections.

 

2 Cartesian

A list can be displayed as a 2D cartesian chart.

 

2.1 Output fields

On the 'Attributes' box (on the Output fields of the channel) there is the Render parameter. In this field is where the user chooses the data apparence. All the columns which Render is set will be displayed.



Different apparences can be selected for different columns. See some examples of the possible result below:


RESULT

 

3 Trends

If the x-axis values are date type, we can display the information as a Trends chart.

If the y-axis is not specified, all the oputput columns will be displayed. Otherwhise only the column indicated will be shown.


RESULT

Sales Sales and cost

Notice that in the lower part of the graphic there is a slide bar. This one allows the user to trim and zoom an specific period of the data.

 

4 Pie View

The pie view is useful to display percentages of a total amount. The configuration of this chart is done the same way as in the Cartesian example, but Pie view must be selected instead on the Render field. The only difference is that a single column data can be visualized which have to be specified at y-axis, otherwise it will take the first numeric column.


RESULT

 

5 Radar

The radar is another option to display multivariate data in 2D. The configuration of this chart is done the like the previous section, just select Radar in the Render parameter.

In this case, more than one column data can be displayed if the y-axis is not defined. Besides, the apparence can be setted by going to the Output fields and choosing the Render wished on the 'Attributes' box.


RESULT

 

6 Funnel

A Funnel chart is an alternative to the pie chart. The main difference is its shape, the percentages are presented in a funnel form instead of a circle.

To obtain this chart, the user must select Funnel in the Render. Additionally, in the Output fields, has to select Funnel as well, on Render parameter of the 'Attributes' box.


RESULT

 

7 Heatmap chart

A heatmap chart can be used to display multiple values corresponding to one column. It is not to be confused with the "Heatmap" in our graphics rendering features, which is a geographical map (follow this link for more information about geographic maps). We query:

Copy
<select first='10'>
    <columns>
         store.store_name,
         sum(sales_fact_1998.unit_sales) unit_sales,
         sum(sales_fact_1998.store_sales) store_sales, 
         sum(sales_fact_1998.store_cost) store_cost         
    </columns>
    <from table='sales_fact_1998'>
        <join table='store'>
            <on>sales_fact_1998.store_id = store.store_id</on>
        </join>
    </from>
    <group>1</group>
    <order>1 DESC</order>
</select>

Select Heatmap option in the drop-down menu Renderer of the GRAPH AXES box.

RESULT

 

8 Treemap

A Treemap is another way to display percentages as a graphic. To configure this graphic, first of all select Treemap in the Render field and fill the axis gaps wirh the corresponding information. Then go to the Output fields.

 

8.1 Output fields

In this section user must specify the Range and Range column in the 'Style' box, without this the channel wouldn't display anything.


RESULT

 

8.2 Map

This section is explained in detail in the Maps section.