Commit Graph

438 Commits

Author SHA1 Message Date
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
Gery Debongnie a22648c083 [REF] adds DataLoader class to graph view (addon web_graph)
bzr revid: ged@openerp.com-20131216142757-anqt11ccrwswdify
2013-12-16 15:27:57 +01:00
Gery Debongnie e0ee9a58c5 [IMP] removes the expand/fold menu, because the search view covers the same functionality (addon web_graph)
bzr revid: ged@openerp.com-20131212105533-uawad2hgqopfkygo
2013-12-12 11:55:33 +01:00
Gery Debongnie d27b9ab563 [MERGE] merge trunk
bzr revid: ged@openerp.com-20131212095350-hfn21bwp031nns1m
2013-12-12 10:53:50 +01:00
Gery Debongnie 43627cc63a [FIX] makes sure the web client loads the bootstrap.js file instead of using dropdown.js in web_graph (addon web)
bzr revid: ged@openerp.com-20131212094518-jlau88zb0bxjj966
2013-12-12 10:45:18 +01:00
Gery Debongnie edbc4d8927 [MERGE] latest trunk
bzr revid: ged@openerp.com-20131212085948-ntl7j40yl6815sye
2013-12-12 09:59:48 +01:00
Gery Debongnie f24f38ca88 [FIX] removes a debugger statement (addon web_graph)
bzr revid: ged@openerp.com-20131212083936-5s8xi6ays4xq9jul
2013-12-12 09:39:36 +01:00
Gery Debongnie 7a672064c0 [FIX] improves the handling of headers titles when the db query returns false or undefined (addon web_graph)
bzr revid: ged@openerp.com-20131211162850-mgqs5csnw8wca974
2013-12-11 17:28:50 +01:00
Gery Debongnie 945719fb7d [FIX] correctly computes the height and the width of the graph view (addon web_graph)
bzr revid: ged@openerp.com-20131211160011-fhv7ah63hlnyg7l0
2013-12-11 17:00:11 +01:00
Gery Debongnie 8da86807b6 [FIX] quick fix to make sure charts have a minimal height that is not too small (addon web_graph)
bzr revid: ged@openerp.com-20131211145056-nzpnir06xx3q0n9y
2013-12-11 15:50:56 +01:00
Gery Debongnie b04f21ea12 [IMP] finally uses the full width and height to draw charts, instead of hardcoded numbers (in graph view) (addon web_graph)
bzr revid: ged@openerp.com-20131211140140-shlpos1jt3z8wj41
2013-12-11 15:01:40 +01:00
Gery Debongnie b8a5b2d2b5 [IMP] takes all integer and float field from model as possible measure (addon web_graph)
bzr revid: ged@openerp.com-20131211131148-vdfhmf96fn2txvcj
2013-12-11 14:11:48 +01:00
Gery Debongnie 14d0a6e74c [IMP] makes sure that the values displayed in the pivot table are properly formatted according to their types (addon web_graph)
bzr revid: ged@openerp.com-20131211124307-z9lxbn39spahlxpw
2013-12-11 13:43:07 +01:00
Gery Debongnie 3453d9da01 [REF] improves the charting code by using get_rows_depth and get_columns_depth methods (addon web_graph)
bzr revid: ged@openerp.com-20131211110836-8sq83pcksjm5sboq
2013-12-11 12:08:36 +01:00
Gery Debongnie 4ab8616991 [IMP] makes pie charts smarter when dealing with multiple levels of rows, in graph view (addon web_graph)
bzr revid: ged@openerp.com-20131211103032-6vl1nys24zufuk5w
2013-12-11 11:30:32 +01:00
Gery Debongnie 2cf5049cf1 [IMP] improves the way line chart format the different titles in the legend (addon web_graph)
bzr revid: ged@openerp.com-20131211102246-88y7r63d6wgvz4u5
2013-12-11 11:22:46 +01:00
Gery Debongnie 4416acaa53 [IMP] makes line charts smarter when multiple columns exists, in graph view (addon web_graph)
bzr revid: ged@openerp.com-20131211101224-eul3hvm0dt7kdz41
2013-12-11 11:12:24 +01:00
Launchpad Translations on behalf of openerp 44b7ede640 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131211053156-p3v0gn1hf6l8c8h7
bzr revid: launchpad_translations_on_behalf_of_openerp-20131211055224-g9i9shv9qqhb93cz
2013-12-11 05:52:24 +00:00
Gery Debongnie 28f27da638 [IMP] makes the graph view much smarter about the way it displays bar charts depending on the various groupby compbinations (addon web_graph)
bzr revid: ged@openerp.com-20131210153951-d36yymirvo09wbxd
2013-12-10 16:39:51 +01:00
Gery Debongnie 1419b07939 [IMP] improves the way the chart view understands the xml descr of the view, so that nows fields after the operator = + are considered col groupbys (addon web_graph)
bzr revid: ged@openerp.com-20131210111646-9d8l78npv72pqfp8
2013-12-10 12:16:46 +01:00
Gery Debongnie fe5543a043 [IMP] improves the chart code to display correct bar chart when no row groupby are selected and a positive number of col groupbys are selected (graph view, addon web_graph)
bzr revid: ged@openerp.com-20131210100723-0arehl16k54wln0z
2013-12-10 11:07:23 +01:00
Gery Debongnie f24a1b487a [IMP] improves the chart code to display correct bar chart when no groupby are selected (graph view, addon web_graph)
bzr revid: ged@openerp.com-20131210092125-fqv9by5xons81uo1
2013-12-10 10:21:25 +01:00
Gery Debongnie 9f99fbdae7 [FIX] properly writes the col group_by in the context (with the facets) which allows the filter to work correctly, in graph view (addon web_graph)
bzr revid: ged@openerp.com-20131209130858-o8pqocw7otpqr8l0
2013-12-09 14:08:58 +01:00
Gery Debongnie 66c8114768 [REF] removes two useless lines (addon web_graph)
bzr revid: ged@openerp.com-20131206162641-27rerhfa56y6nf4e
2013-12-06 17:26:41 +01:00
Gery Debongnie 65a0a97d67 [IMP] usability fix, makes sure that the dropdown menu displayed when expanding a field in graph view has always the same choices (addon web_graph)
bzr revid: ged@openerp.com-20131206162549-08aw50z4zdelzxgc
2013-12-06 17:25:49 +01:00
Gery Debongnie 476d0f4f38 [FIX] fixes a small bug where the columns would expand all headers when the user clears the rows groupby in the search view (addon web_graph)
bzr revid: ged@openerp.com-20131206162301-fbq5mgqhg65yqi96
2013-12-06 17:23:01 +01:00
Gery Debongnie 5c04caf2ee [REF] many small code cleanups in addon web_graph
bzr revid: ged@openerp.com-20131206160411-9ajcschidssftb49
2013-12-06 17:04:11 +01:00
Gery Debongnie 6a06f0d0ee [IMP] properly supports searchbar integration in graph view (addon web_graph)
bzr revid: ged@openerp.com-20131206154319-6ci7ljmp2hd9q072
2013-12-06 16:43:19 +01:00
Gery Debongnie d1caee2a5f [IMP] supports search bar integration in graph view (but not everything works yet) (addon web_graph)
bzr revid: ged@openerp.com-20131206124437-8m1gnhz3ill6w1eo
2013-12-06 13:44:37 +01:00
Gery Debongnie d3fffbff50 [IMP] beginning of searchbar integration in graph view (addon web_graph)
bzr revid: ged@openerp.com-20131205151945-8yo2vkykztvlru3g
2013-12-05 16:19:45 +01:00
Gery Debongnie 15547d9267 [REF] refactors the event handling code and prepare the way for supporting col_groupby and groupby in the searchbar (addon web_graph)
bzr revid: ged@openerp.com-20131205100710-5owdxv0m971ymwbs
2013-12-05 11:07:10 +01:00
Launchpad Translations on behalf of openerp 9f04e0c76c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131130050422-r8hhiot5r58eukys
bzr revid: launchpad_translations_on_behalf_of_openerp-20131130051429-uepuma01yhw11md9
2013-11-30 05:14:29 +00:00
Gery Debongnie e2d2d51b7a [IMP] supports the attribute 'type' in the xml definition of the graph view, at least for bar_charts (addon web_graph)
bzr revid: ged@openerp.com-20131128145155-b5w4fhw9vrp9txuc
2013-11-28 15:51:55 +01:00
Gery Debongnie 8013a154b8 [FIX] fixes a crash that occurred when a graph view had a starting groupby (given by the search view) (in addon web_graph)
bzr revid: ged@openerp.com-20131128141803-j0ttpgedic84quvy
2013-11-28 15:18:03 +01:00
Gery Debongnie 55bbabaf46 [IMP] changes the set_row_groupby method into set_groupby (more generic, works for rows and cols) (addon web_graph)
bzr revid: ged@openerp.com-20131128134904-ubkxdowr29is2o86
2013-11-28 14:49:04 +01:00
Gery Debongnie 2a3eb6c336 [REF] removes duplicated code in update/expand methods (addon web_graph)
bzr revid: ged@openerp.com-20131128133854-28k6utrer7cdsz4z
2013-11-28 14:38:54 +01:00
Gery Debongnie d41ca29475 [IMP] adds some rudimentary support to the integration of search bar groupby into the graph view (addon web_graph)
bzr revid: ged@openerp.com-20131128130146-33i0ydw9gbjqgc0v
2013-11-28 14:01:46 +01:00
Gery Debongnie 2ff2fc4c9e [REF] removes a few useless lines (addon web_graph)
bzr revid: ged@openerp.com-20131128123830-vaqaeoizit8x8jq9
2013-11-28 13:38:30 +01:00
Gery Debongnie 7b2109dcae [REF] removes a few useless lines in view_loading method (addon web_graph)
bzr revid: ged@openerp.com-20131128105402-eb3pqksd5v9ixaxn
2013-11-28 11:54:02 +01:00
Gery Debongnie 6afd98516c [REF] removes a few useless lines in view_loading method (addon web_graph)
bzr revid: ged@openerp.com-20131128104929-4ou50xebjub3bijh
2013-11-28 11:49:29 +01:00
Gery Debongnie 0af9f5f053 [IMP] add a small highlighting when hovering over a line in pivot table (addon web_graph)
bzr revid: ged@openerp.com-20131128103317-k60u8e22z9yus38h
2013-11-28 11:33:17 +01:00
Gery Debongnie e0920173a3 [REF] improves the initialization process of pivot table (addon web_graph)
bzr revid: ged@openerp.com-20131128101625-7ig5lftk8wv8w6tj
2013-11-28 11:16:25 +01:00
Gery Debongnie 4aa70638ef [REF] adds a 'get_total' method and simplify a few parts of the code using totals (addon web_graph)
bzr revid: ged@openerp.com-20131128094746-mthch89zqx66flq7
2013-11-28 10:47:46 +01:00
Gery Debongnie d790f8e96f [REF] removes duplicated code in update_values method in pivot class (addon web_graph)
bzr revid: ged@openerp.com-20131128091715-g1f29k60a0pvy8sd
2013-11-28 10:17:15 +01:00