summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src/js
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2011-09-28 16:24:22 +0200
committerXavier Morel <xmo@openerp.com>2011-09-28 16:24:22 +0200
commit784d6789fb3d592b6810ce4ea1d76d83381b49c8 (patch)
treed0a2a5f60acb62e442f151551eb7beab229e5591 /addons/web_graph/static/src/js
parentcd39bd968d28dcea1c14ebbf7815d752907f7d85 (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.js3
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');
}