diff options
| author | Xavier Morel <xmo@openerp.com> | 2011-09-28 16:24:22 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2011-09-28 16:24:22 +0200 |
| commit | 784d6789fb3d592b6810ce4ea1d76d83381b49c8 (patch) | |
| tree | d0a2a5f60acb62e442f151551eb7beab229e5591 /addons/web_graph/static/src/js | |
| parent | cd39bd968d28dcea1c14ebbf7815d752907f7d85 (diff) | |
[ADD] placeholder info in charts which can not be displayed
bzr revid: xmo@openerp.com-20110928142422-0uogjyg3sa1znaah
Diffstat (limited to 'addons/web_graph/static/src/js')
| -rw-r--r-- | addons/web_graph/static/src/js/graph.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js index a440895cd2b..6255a74daa0 100644 --- a/addons/web_graph/static/src/js/graph.js +++ b/addons/web_graph/static/src/js/graph.js @@ -178,6 +178,9 @@ openerp.web_graph.GraphView = openerp.web.View.extend({ // columns on top of one another instead of side by side), but it // does not handle clustered stacked bar charts if (this.columns.length > 1) { + this.$element.text( + 'OpenERP Web does not support combining grouping and ' + + 'multiple columns in graph at this time.'); throw new Error( 'dhtmlx can not handle columns counts of that magnitude'); } |
