summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src/js/graph.js
AgeCommit message (Collapse)Author
2014-01-14[REF] separates graph view and graph widget into two files, and renames ↵Gery Debongnie
pivot into pivot_table.js (addon web_graph) bzr revid: ged@openerp.com-20140114125142-9qj3mvu0a1fp4sis
2014-01-14[REF] adds comments and reorganize the functions in PivotTable class (addon ↵Gery Debongnie
web_graph) bzr revid: ged@openerp.com-20140114092724-z534vyceksc4dnr2
2014-01-13[FIX] fixes some issues with chart drawing in graph view (addon web_graph)Gery Debongnie
bzr revid: ged@openerp.com-20140113152316-4i3endkgu10jmxgc
2014-01-13[IMP] adds support for various intervals when grouping by date in graph view ↵Gery Debongnie
(addon web_graph) bzr revid: ged@openerp.com-20140113133800-3n1hi5ajpioktr3d
2014-01-10[REF] simplification of the way Pivot configuration is done in graph view ↵Gery Debongnie
(addon web_graph) bzr revid: ged@openerp.com-20140110140837-tl3ts6za0zr46id7
2014-01-10[REF] removes useless comments (addon web_graph)Gery Debongnie
bzr revid: ged@openerp.com-20140110120149-pi0h75eqlr2tl9n5
2014-01-10[REF] large refactoring in graph view: changes the underlying data structure ↵Gery Debongnie
of Pivot class and simplifies a lot of code (addon web_graph) bzr revid: ged@openerp.com-20140110113557-6bs77dg7qcdofy40
2014-01-06[FIX] fixes the computation of the color displayed in heatmap modes in graph ↵Gery Debongnie
view. (addon web_graph) bzr revid: ged@openerp.com-20140106083734-qkrvuhe7398me2d2
2014-01-03[IMP] allows the selection of multiple measures in graph view (addon web_graph)Gery Debongnie
bzr revid: ged@openerp.com-20140103144418-7mstnfwah6v6jkkx
2014-01-03[IMP] improves the rendering of heatmap modes when multiple measures are ↵Gery Debongnie
displayed (addon web_graph) bzr revid: ged@openerp.com-20140103143236-80zmxauy75b0n205
2014-01-03[IMP] adds support for more than one measure in graph view. (addon web_graph)Gery Debongnie
bzr revid: ged@openerp.com-20140103142215-z19pnxmnla8xugx0
2014-01-02[FIX] fixes a crash when the graph view receives an array of values instead ↵Gery Debongnie
of a single value describing a field (addon web_graph) bzr revid: ged@openerp.com-20140102100127-7bmviyzujjmlfg02
2013-12-31[IMP] makes sure that the graph view properly honors default mode request as ↵Gery Debongnie
described in the xml (addon web_graph) bzr revid: ged@openerp.com-20131231094929-giqkzmean1lralow
2013-12-31[IMP] changes the css of the pivot table to make it look decent (at least, ↵Gery Debongnie
not as awful as before), (addon web_graph) bzr revid: ged@openerp.com-20131231090257-y0os22omx0pgjaqb
2013-12-27[FIX] fixes a rendering bug which happened when the rowspan (or colspan) ↵Gery Debongnie
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[IMP] removes the stagger labels in bar charts, only uses the inclined ↵Gery Debongnie
labels when necessary (addon web_graph) bzr revid: ged@openerp.com-20131227150719-olinm65mh515quc2
2013-12-27[IMP] removes the 'group/stack' buttons from the bar chart ui and adds ↵Gery Debongnie
'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[FIX] fixes a crash happening when the context of some attributes does not ↵Gery Debongnie
have a 'group_by' attribute (in the group fields of the search view) bzr revid: ged@openerp.com-20131227143508-3g04fn2s5u9vxams
2013-12-27[IMP] incline the x-axis text by 15 degree when there are too many bars to ↵Gery Debongnie
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[REF] simplifies a for loop to make the code simpler (addon web_graph)Gery Debongnie
bzr revid: ged@openerp.com-20131227102510-dwpjth4fng4ze14e
2013-12-27[FIX] correctly displays fields of type 'selection' in graph view. ↵Gery Debongnie
Previously, the code only displayed the key and not the value (addon web_graph) bzr revid: ged@openerp.com-20131227102240-gmgik0p5lujssm3w
2013-12-26[FIX] correctly calls the parent of the graph view in the constructor (now, ↵Gery Debongnie
the view manager gets the correct view_id) (graph view, addon web_graph) bzr revid: ged@openerp.com-20131226161457-a4k3iflz61fiaqj4
2013-12-26[IMP] adds an image when a graph view has no data to display (it uses the ↵Gery Debongnie
same image as an empty dashboard) (addon web_graph) bzr revid: ged@openerp.com-20131226133735-x2g7veg6d9p77y2d
2013-12-26[FIX] forces an update when the user switches back to the graph view, to ↵Gery Debongnie
make sure the data displayed are up to date (graph view, addon web_graph) bzr revid: ged@openerp.com-20131226123449-qjm7hvkhfsdvi7pw
2013-12-24[IMP] displays a nice message when the graph view has no data to display ↵Gery Debongnie
(addon web_graph) bzr revid: ged@openerp.com-20131224153735-on6cx12v7x2r1ln0
2013-12-24[IMP] hides controls (stacked/grouped) in graph view when they are useless ↵Gery Debongnie
(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[REF] removes some useless variables and some other cleaning to please ↵Gery Debongnie
jshint (addon web_graph) bzr revid: ged@openerp.com-20131224112224-q1o0hmp1s2ryi9bn
2013-12-24[IMP] makes some small changes to improves backward compatibility in some ↵Gery Debongnie
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-20[FIX] prevents a crash happening in some cases when the searchview does not ↵Gery Debongnie
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[IMP] makes the graph view accept a new way to define graphs (supports ↵Gery Debongnie
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-19[REF] removes old useless comments (addon web_graph)Gery Debongnie
bzr revid: ged@openerp.com-20131219134958-tdgcu3ytbsqszczw
2013-12-19[FIX] correctly honors the 'bar' setting in graph views descriptions (addon ↵Gery Debongnie
web_graph) bzr revid: ged@openerp.com-20131219131058-ng9fix57v5hqu8pq
2013-12-19[FIX] properly handles the situation where a user selected twice the same ↵Gery Debongnie
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-18[REF] refactors bar_chart method in graph widget. basically, it removes 80 ↵Gery Debongnie
duplicated lines (addon web_graph) bzr revid: ged@openerp.com-20131218154949-9jno1wb4s549jyl7
2013-12-18[IMP] adds stacked/grouped setting to chart widget (addon web_graph)Gery Debongnie
bzr revid: ged@openerp.com-20131218152048-36no38nud6a5ft10
2013-12-18[REF] moves all the charts code from chart.js into the graph widget (in file ↵Gery Debongnie
graph.js) (addon web_graph) bzr revid: ged@openerp.com-20131218150756-ol0or9m6pg61ye2c
2013-12-18[REF] large refactoring of graphview: it separates the drawing code into a ↵Gery Debongnie
widget that can be used independently of the view (addon web_graph) bzr revid: ged@openerp.com-20131218134040-63fcm5a68gsk3hry
2013-12-17[REF] adds event handling to pivot table class (triggers 'redraw_required' ↵Gery Debongnie
and 'groupby_changed' event when necessary (addon web_graph) bzr revid: ged@openerp.com-20131217153204-43la1m8eqw632j05
2013-12-17[REF] moves more code to dataLoader class to simplify pivot class (clean ↵Gery Debongnie
separation between pivot code and loading code) (addon web_graph) bzr revid: ged@openerp.com-20131217111501-wu0nbid36bncy4wz
2013-12-16[REF] merges update_data and query_all_values method into load_data, to ↵Gery Debongnie
simplify code (addon web_graph) bzr revid: ged@openerp.com-20131216144935-2ur7pgk7ml2064j0
2013-12-12[IMP] removes the expand/fold menu, because the search view covers the same ↵Gery Debongnie
functionality (addon web_graph) bzr revid: ged@openerp.com-20131212105533-uawad2hgqopfkygo
2013-12-12[FIX] removes a debugger statement (addon web_graph)Gery Debongnie
bzr revid: ged@openerp.com-20131212083936-5s8xi6ays4xq9jul
2013-12-11[FIX] improves the handling of headers titles when the db query returns ↵Gery Debongnie
false or undefined (addon web_graph) bzr revid: ged@openerp.com-20131211162850-mgqs5csnw8wca974
2013-12-11[FIX] correctly computes the height and the width of the graph view (addon ↵Gery Debongnie
web_graph) bzr revid: ged@openerp.com-20131211160011-fhv7ah63hlnyg7l0
2013-12-11[FIX] quick fix to make sure charts have a minimal height that is not too ↵Gery Debongnie
small (addon web_graph) bzr revid: ged@openerp.com-20131211145056-nzpnir06xx3q0n9y
2013-12-11[IMP] finally uses the full width and height to draw charts, instead of ↵Gery Debongnie
hardcoded numbers (in graph view) (addon web_graph) bzr revid: ged@openerp.com-20131211140140-shlpos1jt3z8wj41
2013-12-11[IMP] takes all integer and float field from model as possible measure ↵Gery Debongnie
(addon web_graph) bzr revid: ged@openerp.com-20131211131148-vdfhmf96fn2txvcj
2013-12-11[IMP] makes sure that the values displayed in the pivot table are properly ↵Gery Debongnie
formatted according to their types (addon web_graph) bzr revid: ged@openerp.com-20131211124307-z9lxbn39spahlxpw
2013-12-11[IMP] makes line charts smarter when multiple columns exists, in graph view ↵Gery Debongnie
(addon web_graph) bzr revid: ged@openerp.com-20131211101224-eul3hvm0dt7kdz41
2013-12-10[IMP] improves the way the chart view understands the xml descr of the view, ↵Gery Debongnie
so that nows fields after the operator = + are considered col groupbys (addon web_graph) bzr revid: ged@openerp.com-20131210111646-9d8l78npv72pqfp8