Commit Graph
318 Commits
Author SHA1 Message Date
Gery Debongnie 2cafcfbde7 [REF] large refactoring in graph view: changes the flow of the program to make it much simpler (addon web_graph)
bzr revid: ged@openerp.com-20140121143034-rid4saax5y63g7i1
2014-01-21 15:30:34 +01:00
Gery Debongnie f404bf8b40 [IMP] optimizes pivot table so that it doesn't reload data when the groupbys have been changed in such a way that it should only fold some headers (addon web_graph)
bzr revid: ged@openerp.com-20140120093254-mta9v6hjmsgfpr2n
2014-01-20 10:32:54 +01:00
Gery Debongnie ba9999c28a [FIX] fix crash happening when user goes to graph view, switch to other view, changes groupby and goes back to graph view. (addon web_graph)
bzr revid: ged@openerp.com-20140117161940-3ojz17luxtsb9qfa
2014-01-17 17:19:40 +01:00
Gery Debongnie 5aade330c2 [FIX] fixes a typo (nodata => no_data), which prevents a crash in graph_view, addon web_graph)
bzr revid: ged@openerp.com-20140117153330-9vc6bzljmso9zu71
2014-01-17 16:33:30 +01:00
Gery Debongnie 86a18410d1 [IMP] keeps the dropdown open when the user selects some measures in graph view (addon web_graph)
bzr revid: ged@openerp.com-20140117152413-ycktqzi51a3lhhz9
2014-01-17 16:24:13 +01:00
Gery Debongnie 9a8d395078 [IMP] display bar chart controls when the size is large enough and when it makes sense (dim x + dim y >= 2) in grap view (addon web_graph)
bzr revid: ged@openerp.com-20140117145056-dby0g4sj7v056gpq
2014-01-17 15:50:56 +01:00
Gery Debongnie c547467442 [IMP] adds checkmarks next to measures when they are used in graph view (addon web_graph)
bzr revid: ged@openerp.com-20140117144303-tqj7cn5xd1c0xvhm
2014-01-17 15:43:03 +01:00
Gery Debongnie 6839fcaddd [IMP] makes sure that the graph view does not reload data if the user removes a measure. Also, display the 'no data' screen if there are no current measure in graph view (addon web_graph)
bzr revid: ged@openerp.com-20140117102339-99kka9v6wfsgesdn
2014-01-17 11:23:39 +01:00
Gery Debongnie c374766f9d [IMP] change the icon and tooltip of heat map (column) in graph view (addon web_graph)
bzr revid: ged@openerp.com-20140117093302-1lprauuu4e5k8s5x
2014-01-17 10:33:02 +01:00
Gery Debongnie feff16b03e [FIX] fixes a typo 'widet_config' => 'widget_config' (it previously crashed the graph view) (addon web_graph)
bzr revid: ged@openerp.com-20140117085842-vxaxes0yv3dr7t24
2014-01-17 09:58:42 +01:00
Gery Debongnie 96835a38a3 [IMP] adds 'hidden-print' class to UI buttons in graph views so they are hidder when printed (addon web_graph)
bzr revid: ged@openerp.com-20140117082137-r249r226idp3x51u
2014-01-17 09:21:37 +01:00
Gery Debongnie 470d42df75 [IMP] adds a 'title' attribute to the toolbar in graph view, to give some tooltips to the user (addon web_graph)
bzr revid: ged@openerp.com-20140116142748-qigjrtb510flex9s
2014-01-16 15:27:48 +01:00
Gery Debongnie 1c1a02d166 [IMP] changes the UI of the graph view: removes old dropdown buttons and adds a toolbar instead (addon web_graph)
bzr revid: ged@openerp.com-20140116140058-rd6nde1mfupgnajt
2014-01-16 15:00:58 +01:00
Gery Debongnie 588e541387 [FIX] fixes some issues with the col_group_bys in searchbar (main problem was that do_search is called twice when the user swap axis) (addon web_graph)
bzr revid: ged@openerp.com-20140116095549-3f2hbyzj32nuj147
2014-01-16 10:55:49 +01:00
Gery Debongnie 74d6e75007 [IMP] supports col groupby in search view in graph view (addon web_graph)
bzr revid: ged@openerp.com-20140115155137-qwy0sr49zhizgmf6
2014-01-15 16:51:37 +01:00
Gery Debongnie 4343ca278a [FIX] correctly compares groupby in pivot_table to avoid bugs/crashes (now, it ignores the 'interval' attributes) so the table can interact with the graph view (addon web_graph)
bzr revid: ged@openerp.com-20140115105104-qff3t47lo1lyp5wd
2014-01-15 11:51:04 +01:00
Gery Debongnie cf81efda43 [IMP] adds search view integration in graph view (addon web_graph)
bzr revid: ged@openerp.com-20140115093749-t2s0306fchm2tnir
2014-01-15 10:37:49 +01:00
Gery Debongnie b681cff77f [IMP] sets nvd3 library in production mode instead of debug mode (addon web_graph)
bzr revid: ged@openerp.com-20140114130141-b41640a72gpshw1x
2014-01-14 14:01:41 +01:00
Gery Debongnie 11de0f36ed [REF] separates graph view and graph widget into two files, and renames pivot into pivot_table.js (addon web_graph)
bzr revid: ged@openerp.com-20140114125142-9qj3mvu0a1fp4sis
2014-01-14 13:51:42 +01:00
Gery Debongnie de85a1cefb [REF] adds comments and reorganize the functions in PivotTable class (addon web_graph)
bzr revid: ged@openerp.com-20140114092724-z534vyceksc4dnr2
2014-01-14 10:27:24 +01:00
Gery Debongnie 4d550e963e [FIX] fixes some issues with chart drawing in graph view (addon web_graph)
bzr revid: ged@openerp.com-20140113152316-4i3endkgu10jmxgc
2014-01-13 16:23:16 +01:00
Gery Debongnie e2bb629c3c [IMP] adds support for various intervals when grouping by date in graph view (addon web_graph)
bzr revid: ged@openerp.com-20140113133800-3n1hi5ajpioktr3d
2014-01-13 14:38:00 +01:00
Gery Debongnie 58598420fc [FIX] changes xml definition of the dropdown menu in graph view so that it nows corractly selects the chart mode (addon web_graph)
bzr revid: ged@openerp.com-20140113094858-ykasko5a1i0gpyj3
2014-01-13 10:48:58 +01:00
Gery Debongnie bb1069ace8 [REF] removes some code duplication when creating new headers in pivot class (addon web_graph)
bzr revid: ged@openerp.com-20140110151524-i2usd1nyrfpgkody
2014-01-10 16:15:24 +01:00
Gery Debongnie 2b3b08160c [REF] simplification of the way Pivot configuration is done in graph view (addon web_graph)
bzr revid: ged@openerp.com-20140110140837-tl3ts6za0zr46id7
2014-01-10 15:08:37 +01:00
Gery Debongnie dbf064e817 [REF] removes useless comments (addon web_graph)
bzr revid: ged@openerp.com-20140110120149-pi0h75eqlr2tl9n5
2014-01-10 13:01:49 +01:00
Gery Debongnie f625675079 [REF] large refactoring in graph view: changes the underlying data structure of Pivot class and simplifies a lot of code (addon web_graph)
bzr revid: ged@openerp.com-20140110113557-6bs77dg7qcdofy40
2014-01-10 12:35:57 +01:00
Gery Debongnie 0aa0ea9e6c [REF] merges the dataloader and pivot table classes together, where they truly belong. (addon web_graph)
bzr revid: ged@openerp.com-20140107105954-beb16wspdl6ikemw
2014-01-07 11:59:54 +01:00
Gery Debongnie 6a422f27d7 [FIX] fixes the computation of the color displayed in heatmap modes in graph view. (addon web_graph)
bzr revid: ged@openerp.com-20140106083734-qkrvuhe7398me2d2
2014-01-06 09:37:34 +01:00
Gery Debongnie 47762dfca2 [IMP] allows the selection of multiple measures in graph view (addon web_graph)
bzr revid: ged@openerp.com-20140103144418-7mstnfwah6v6jkkx
2014-01-03 15:44:18 +01:00
Gery Debongnie 64775d4098 [IMP] improves the rendering of heatmap modes when multiple measures are displayed (addon web_graph)
bzr revid: ged@openerp.com-20140103143236-80zmxauy75b0n205
2014-01-03 15:32:36 +01:00
Gery Debongnie 2514343b52 [IMP] adds support for more than one measure in graph view. (addon web_graph)
bzr revid: ged@openerp.com-20140103142215-z19pnxmnla8xugx0
2014-01-03 15:22:15 +01:00
Gery Debongnie 8347c44966 [FIX] fixes a crash when the graph view receives an array of values instead of a single value describing a field (addon web_graph)
bzr revid: ged@openerp.com-20140102100127-7bmviyzujjmlfg02
2014-01-02 11:01:27 +01:00
Gery Debongnie 9f6aad4fdd [IMP] yet another css fix to add border to tables in graph view (addon web_graph)
bzr revid: ged@openerp.com-20131231121958-8bsz6d710o5xrgli
2013-12-31 13:19:58 +01:00
Gery Debongnie d63db7b67f [IMP] makes sure that the graph view properly honors default mode request as described in the xml (addon web_graph)
bzr revid: ged@openerp.com-20131231094929-giqkzmean1lralow
2013-12-31 10:49:29 +01:00
Gery Debongnie b9f9857454 [IMP] small css fix to make sure the headers are displayed with the same color (addon web_graph)
bzr revid: ged@openerp.com-20131231094823-cxhxdpebrmrq6jyv
2013-12-31 10:48:23 +01:00
Gery Debongnie 3d5b03af08 [IMP] changes the css of the pivot table to make it look decent (at least, not as awful as before), (addon web_graph)
bzr revid: ged@openerp.com-20131231090257-y0os22omx0pgjaqb
2013-12-31 10:02:57 +01:00
Gery Debongnie e69f4d1af6 [FIX] fixes a rendering bug which happened when the rowspan (or colspan) attributes were set to 0. Now, it is always set to a value >= 1 (addon web_graph)
bzr revid: ged@openerp.com-20131227152055-77fvsc27mzs0x5t9
2013-12-27 16:20:55 +01:00
Gery Debongnie fb63eb63ed [IMP] removes the stagger labels in bar charts, only uses the inclined labels when necessary (addon web_graph)
bzr revid: ged@openerp.com-20131227150719-olinm65mh515quc2
2013-12-27 16:07:19 +01:00
Gery Debongnie 650d792413 [IMP] removes the 'group/stack' buttons from the bar chart ui and adds 'group/stack' controls in the option menu of the graph widget. It makes small graphs much cleaner (addon web_graph)
bzr revid: ged@openerp.com-20131227145501-0hf21nieyl8mgomm
2013-12-27 15:55:01 +01:00
Gery Debongnie 66ee322d0f [FIX] fixes a crash happening when the context of some attributes does not have a 'group_by' attribute (in the group fields of the search view)
bzr revid: ged@openerp.com-20131227143508-3g04fn2s5u9vxams
2013-12-27 15:35:08 +01:00
Gery Debongnie 868be53bae [IMP] incline the x-axis text by 15 degree when there are too many bars to display in a bar chart. Also, reduces the number of 'ticks' displayed (addon web_graph)
bzr revid: ged@openerp.com-20131227142814-8ktqqxlthfa5hxe8
2013-12-27 15:28:14 +01:00
Gery Debongnie ed4fdc5108 [REF] simplifies a for loop to make the code simpler (addon web_graph)
bzr revid: ged@openerp.com-20131227102510-dwpjth4fng4ze14e
2013-12-27 11:25:10 +01:00
Gery Debongnie 0650d9d738 [FIX] correctly displays fields of type 'selection' in graph view. Previously, the code only displayed the key and not the value (addon web_graph)
bzr revid: ged@openerp.com-20131227102240-gmgik0p5lujssm3w
2013-12-27 11:22:40 +01:00
Gery Debongnie e1e676d737 [FIX] correctly calls the parent of the graph view in the constructor (now, the view manager gets the correct view_id) (graph view, addon web_graph)
bzr revid: ged@openerp.com-20131226161457-a4k3iflz61fiaqj4
2013-12-26 17:14:57 +01:00
Gery Debongnie c44786804d [IMP] adds an image when a graph view has no data to display (it uses the same image as an empty dashboard) (addon web_graph)
bzr revid: ged@openerp.com-20131226133735-x2g7veg6d9p77y2d
2013-12-26 14:37:35 +01:00
Gery Debongnie 5a2ddfdf80 [FIX] forces an update when the user switches back to the graph view, to make sure the data displayed are up to date (graph view, addon web_graph)
bzr revid: ged@openerp.com-20131226123449-qjm7hvkhfsdvi7pw
2013-12-26 13:34:49 +01:00
Gery Debongnie d145c7a8c4 [IMP] displays a nice message when the graph view has no data to display (addon web_graph)
bzr revid: ged@openerp.com-20131224153735-on6cx12v7x2r1ln0
2013-12-24 16:37:35 +01:00
Gery Debongnie 69f6efa000 [IMP] hides controls (stacked/grouped) in graph view when they are useless (i.e., when there's only one dimension which can't be stacked/grouped (addon web_graph)
bzr revid: ged@openerp.com-20131224140942-w0dwy3ck6yslbhxy
2013-12-24 15:09:42 +01:00
Gery Debongnie 457090c1a3 [REF] removes some useless variables and some other cleaning to please jshint (addon web_graph)
bzr revid: ged@openerp.com-20131224112224-q1o0hmp1s2ryi9bn
2013-12-24 12:22:24 +01:00