-
- Downloads
[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).
Showing
- addons/web/static/src/js/views/graph/graph_renderer.js 26 additions, 6 deletionsaddons/web/static/src/js/views/graph/graph_renderer.js
- addons/web/static/src/js/views/graph/graph_view.js 1 addition, 0 deletionsaddons/web/static/src/js/views/graph/graph_view.js
- addons/web/static/src/js/widgets/pie_chart.js 0 additions, 1 deletionaddons/web/static/src/js/widgets/pie_chart.js
- addons/web/static/src/xml/pie_chart.xml 1 addition, 1 deletionaddons/web/static/src/xml/pie_chart.xml
- addons/web/static/tests/views/graph_tests.js 15 additions, 0 deletionsaddons/web/static/tests/views/graph_tests.js
- doc/reference/views.rst 3 additions, 0 deletionsdoc/reference/views.rst
Loading
Please register or sign in to comment