Commit ac837b27 authored by SergeyLuzyanin's avatar SergeyLuzyanin

fix Bug 35675

parent 882ab115
...@@ -6773,6 +6773,9 @@ CChartSpace.prototype.recalculateAxis = function() ...@@ -6773,6 +6773,9 @@ CChartSpace.prototype.recalculateAxis = function()
cat_ax.xPoints.sort(function(a, b){return a.val - b.val}); cat_ax.xPoints.sort(function(a, b){return a.val - b.val});
val_ax.yPoints.sort(function(a, b){return a.val - b.val}); val_ax.yPoints.sort(function(a, b){return a.val - b.val});
} }
else{
this.bEmptySeries = true;
}
} }
else if(chart_type === AscDFH.historyitem_type_BarChart && chart_object.barDir === AscFormat.BAR_DIR_BAR) else if(chart_type === AscDFH.historyitem_type_BarChart && chart_object.barDir === AscFormat.BAR_DIR_BAR)
{ {
...@@ -7792,6 +7795,9 @@ CChartSpace.prototype.recalculateAxis = function() ...@@ -7792,6 +7795,9 @@ CChartSpace.prototype.recalculateAxis = function()
cat_ax.yPoints.sort(function(a, b){return a.val - b.val}); cat_ax.yPoints.sort(function(a, b){return a.val - b.val});
val_ax.xPoints.sort(function(a, b){return a.val - b.val}); val_ax.xPoints.sort(function(a, b){return a.val - b.val});
} }
else{
this.bEmptySeries = true;
}
} }
this.plotAreaRect = rect; this.plotAreaRect = rect;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment