From b096ea372d344ae53fc3756a917df7324cedbd66 Mon Sep 17 00:00:00 2001 From: Eva Luadora Date: Wed, 2 Sep 2026 13:57:21 +0200 Subject: [PATCH] Bind graph using the DOM element instead of id Billboard must receive the graph element directly because the chart can be rendered while it is still detached from the document. Closes #14970 --- sao/src/view/graph.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sao/src/view/graph.js b/sao/src/view/graph.js index b3e2d008bf..d8249373cf 100644 --- a/sao/src/view/graph.js +++ b/sao/src/view/graph.js @@ -69,7 +69,6 @@ this.xfield = xfield; this.yfields = yfields; this.el = jQuery('
'); - this.el.uniqueId(); }, update_data: function(group) { var data = {}; @@ -171,7 +170,7 @@ _bb_config: function(data) { var bb_config = {}; - bb_config.bindto = '#' + this.el.attr('id'); + bb_config.bindto = this.el.get(0); bb_config.data = data; bb_config.data.type = this._chart_type; bb_config.data.x = 'labels';