diff options
| author | Adrien Dieudonne <adr@odoo.com> | 2018-09-19 11:42:43 +0200 |
|---|---|---|
| committer | Adrien Dieudonne <adr@odoo.com> | 2018-09-24 13:22:06 +0200 |
| commit | a533b9f29090e56bbffbabb90628cd117c166d62 (patch) | |
| tree | eab003253f8b0b34a5c81daa3f9b1ff7ae0a9328 /doc | |
| parent | 411ce6a79e7a8b7f5f3e6485ecde9498394562ef (diff) | |
[FIX] web: graph_renderer: show graph title
Since odoo/enterprise@e3b0d2a, the title wasn't set anymore.
This logic is now moved in the graph renderer to be able to
set a title in every graphs.
For now, we only use the title attribute for pie charts embedded
in dashboard views.
Additional tests has been added in 'web_dashboard' (enterprise).
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/reference/views.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/reference/views.rst b/doc/reference/views.rst index 373a31b022a..378ba1fd84a 100644 --- a/doc/reference/views.rst +++ b/doc/reference/views.rst @@ -876,6 +876,9 @@ following attributes: the name of a field to use in the view. If used for grouping (rather than aggregating) +``title`` (optional) + string displayed on the top of the graph. + ``type`` indicates whether the field should be used as a grouping criteria or as an aggregated value within a group. Possible values are: |
