combo/combo/apps/dataviz/README

37 lines
1.3 KiB
Plaintext

Data visualization cells
========================
Gauge cell
----------
FIXME
Cubes cells
-----------
Those cells are activated by setting the CUBES_URL setting to the root URL of a
Cubes[1] 1.1 server.
Cubes server is accessed using the requests library, you can define custom
parameters for the requests.get() calls by setting CUBES_REQUESTS_PARAMS, for
example to disable SSL certificate validation:
CUBES_REQUESTS_PARAMS = {'verify': False}
The CubesBarChart cell use the Chart.js library (through the XStatic-Chart.js
package) to render bar charts of the selected aggregated data. The y axis
measure the aggregate which is computed, the x axis is the dimension chosen
for the first drill-down axis. The second drilldown axis will be used to
generate multiple datasets, one by dimension point, i.e. results generated for
the second axis will be grouped along the first drilldown axis.
Ordering by drilldown axis is automatically done using implicit ordering defined
by the Cubes model.
The CubesTable render the same data as CubesBarChart but by using HTML tables.
The first drilldown axis is used for the row headers and the second drilldown
axis for the column headers. By using the two axis at the same time you can make
pivot tables.
[1]: https://pythonhosted.org/cubes/