Commit Graph
481 Commits
Author SHA1 Message Date
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 1dd4f9c77a [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140102085536-s87szntgpklj3cq6
2014-01-02 09:55:36 +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
Launchpad Translations on behalf of openerp d963fa888c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131231050201-641kcunlgq2qa0ux
2013-12-31 05:02:01 +00: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
Launchpad Translations on behalf of openerp 1e3ebc0285 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131220051750-c2x3cf7wrd35we7a
bzr revid: launchpad_translations_on_behalf_of_openerp-20131227052617-sg1lzd37c8fk1pgm
2013-12-27 05:26:17 +00: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
Gery Debongnie db9cdb7eb0 [IMP] makes some small changes to improves backward compatibility in some edge cases (takes the first 'operator' as a measure instead of the last, ...) in graph view (addon web_graph)
bzr revid: ged@openerp.com-20131224100942-jnrdjeb9lg7rx8d2
2013-12-24 11:09:42 +01:00
Gery Debongnie e844ba1040 [FIX] prevents a crash happening in some cases when the searchview does not initialize a groupbygroup instance before the method register_groupby in graph view used it (addon web_graph)
bzr revid: ged@openerp.com-20131220123925-qycdvanm51nkc4uo
2013-12-20 13:39:25 +01:00
Gery Debongnie 828d06f174 [IMP] makes the graph view accept a new way to define graphs (supports type='col', type='row' and type='measure' attributes to fields, also supports 'stacked' attribute in <graph> (addon web_graph)
bzr revid: ged@openerp.com-20131220110243-sccxichm0mgm21uz
2013-12-20 12:02:43 +01:00
Gery Debongnie 2dffdc7c96 [MERGE] merge from trunk
bzr revid: ged@openerp.com-20131219151851-m5av5iz9e3km2s2u
bzr revid: ged@openerp.com-20131220091306-lbsixx9c1robif1m
2013-12-20 10:13:06 +01:00
Gery Debongnie 261b17d7b8 [REF] removes old useless comments (addon web_graph)
bzr revid: ged@openerp.com-20131219134958-tdgcu3ytbsqszczw
2013-12-19 14:49:58 +01:00
Gery Debongnie 1d92fc0353 [FIX] correctly honors the 'bar' setting in graph views descriptions (addon web_graph)
bzr revid: ged@openerp.com-20131219131058-ng9fix57v5hqu8pq
2013-12-19 14:10:58 +01:00
Gery Debongnie 7fc2afc516 [FIX] properly handles the situation where a user selected twice the same field in the search view groupbys (it simply added the field twice to groupbys instead of removing it (addon web_graph)
bzr revid: ged@openerp.com-20131219125422-n2rpzbekyg7e0eyh
2013-12-19 13:54:22 +01:00
Gery Debongnie 5e1aebc4b5 [REF] simplify the format_data method in pivot table (addon web_graph)
bzr revid: ged@openerp.com-20131219111606-u140yaf9y56q1uhg
2013-12-19 12:16:06 +01:00
Gery Debongnie a41835e296 [REF] refactoring in progress... simplify the load_data and format_data methods in pivot table (addon web_graph)
bzr revid: ged@openerp.com-20131219095708-c164shdvv59hyj9l
2013-12-19 10:57:08 +01:00
Gery Debongnie dd71f5e84b [REF] small improvement to simplify two similar methods in pivot.js. goal is to prepare a larger refactoring (addon web_graph)
bzr revid: ged@openerp.com-20131219084722-00p29m61vu51rdbb
2013-12-19 09:47:22 +01:00
Gery Debongnie 007dfea702 [REF] small refactoring, it simplify the make_cells method in pivot.js (addon web_graph)
bzr revid: ged@openerp.com-20131219080339-7aqnuibtfk1y71a3
2013-12-19 09:03:39 +01:00
Gery Debongnie d7fdeec72f [REF] refactors bar_chart method in graph widget. basically, it removes 80 duplicated lines (addon web_graph)
bzr revid: ged@openerp.com-20131218154949-9jno1wb4s549jyl7
2013-12-18 16:49:49 +01:00
Gery Debongnie 1323c2c25b [IMP] adds stacked/grouped setting to chart widget (addon web_graph)
bzr revid: ged@openerp.com-20131218152048-36no38nud6a5ft10
2013-12-18 16:20:48 +01:00
Gery Debongnie 0e8a8517f8 [REF] moves all the charts code from chart.js into the graph widget (in file graph.js) (addon web_graph)
bzr revid: ged@openerp.com-20131218150756-ol0or9m6pg61ye2c
2013-12-18 16:07:56 +01:00
Gery Debongnie 7bb84af05f [REF] large refactoring of graphview: it separates the drawing code into a widget that can be used independently of the view (addon web_graph)
bzr revid: ged@openerp.com-20131218134040-63fcm5a68gsk3hry
2013-12-18 14:40:40 +01:00
Gery Debongnie 79250f0c07 [REF] adds event handling to pivot table class (triggers 'redraw_required' and 'groupby_changed' event when necessary (addon web_graph)
bzr revid: ged@openerp.com-20131217153204-43la1m8eqw632j05
2013-12-17 16:32:04 +01:00
Gery Debongnie 9596340bc5 [REF] removes useless line in addon web_graph
bzr revid: ged@openerp.com-20131217111941-vlzn0ener6zjk737
2013-12-17 12:19:41 +01:00
Gery Debongnie de51e3c35a [REF] moves more code to dataLoader class to simplify pivot class (clean separation between pivot code and loading code) (addon web_graph)
bzr revid: ged@openerp.com-20131217111501-wu0nbid36bncy4wz
2013-12-17 12:15:01 +01:00
Gery Debongnie 65642c8c06 [FIX] adds a 'whitespace:nowrap' line in graph.css to avoid weird display issues with the pivot table (addon web_graph)
bzr revid: ged@openerp.com-20131216152433-xd5muebn30mcsnqh
2013-12-16 16:24:33 +01:00
Gery Debongnie c256cd4f14 [REF] merges update_data and query_all_values method into load_data, to simplify code (addon web_graph)
bzr revid: ged@openerp.com-20131216144935-2ur7pgk7ml2064j0
2013-12-16 15:49:35 +01:00