-
- Downloads
[IMP] web: graph: add bar/line chart sorting
PURPOSE Currently, reporting views such as the bar and line charts have their x-axis sorted either alphabetically or according to a sequence. When reporting, the user would be interested in sorting the x-axis values by their measure. SPECIFICATIONS Add 'ascending' and 'descending' options in graph view for bar and line charts Task 2070103 closes odoo/odoo#49970 Signed-off-by:Aaron Bohy (aab) <aab@odoo.com> Co-authored-by:
Mohammed Shekha <msh@odoo.com>
Showing
- addons/web/static/src/js/views/graph/graph_controller.js 9 additions, 0 deletionsaddons/web/static/src/js/views/graph/graph_controller.js
- addons/web/static/src/js/views/graph/graph_model.js 5 additions, 0 deletionsaddons/web/static/src/js/views/graph/graph_model.js
- addons/web/static/src/js/views/graph/graph_renderer.js 33 additions, 0 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/xml/base.xml 4 additions, 0 deletionsaddons/web/static/src/xml/base.xml
- addons/web/static/tests/views/graph_tests.js 160 additions, 1 deletionaddons/web/static/tests/views/graph_tests.js
- doc/reference/views.rst 4 additions, 0 deletionsdoc/reference/views.rst
- odoo/addons/base/rng/graph_view.rng 1 addition, 0 deletionsodoo/addons/base/rng/graph_view.rng
Loading
Please register or sign in to comment