summaryrefslogtreecommitdiff
path: root/addons/base_graph/static/lib/dhtmlxGraph/codebase/dhtmlxchart_debug.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/base_graph/static/lib/dhtmlxGraph/codebase/dhtmlxchart_debug.js')
-rw-r--r--addons/base_graph/static/lib/dhtmlxGraph/codebase/dhtmlxchart_debug.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/base_graph/static/lib/dhtmlxGraph/codebase/dhtmlxchart_debug.js b/addons/base_graph/static/lib/dhtmlxGraph/codebase/dhtmlxchart_debug.js
index 57e5b5d5b0d..b2179c6f9f7 100644
--- a/addons/base_graph/static/lib/dhtmlxGraph/codebase/dhtmlxchart_debug.js
+++ b/addons/base_graph/static/lib/dhtmlxGraph/codebase/dhtmlxchart_debug.js
@@ -1487,7 +1487,7 @@ dhtmlx.chart.stackedBarH = {
/*for the 2nd, 3rd, etc. series*/
if(sIndex)
- x0 = data[i].$startX;
+ x0 = data[i].$startX || x0;
if(value<0||(this._settings.yAxis&&value===0)){
this.renderTextAt(true, true, x0+Math.floor(barWidth/2),y0,this._settings.label(data[i]));
@@ -1622,8 +1622,8 @@ dhtmlx.chart.stackedBar = {
/*for the 2nd, 3rd, etc. series*/
if(sIndex)
- y0 = data[i].$startY;
-
+ y0 = data[i].$startY || y0;
+
/*the max height limit*/
if(y0 < (point0.y+1)) continue;