Commit f4e02b50 authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 29077

parent 4ced01c4
...@@ -2556,7 +2556,7 @@ CChartSpace.prototype.recalculateBBox = function() ...@@ -2556,7 +2556,7 @@ CChartSpace.prototype.recalculateBBox = function()
if(series[i].tx && series[i].tx.strRef) if(series[i].tx && series[i].tx.strRef)
{ {
parsed_formulas = this.parseChartFormula(series[i].tx.strRef.f); parsed_formulas = this.parseChartFormula(series[i].tx.strRef.f);
if(parsed_formulas && parsed_formulas[0].worksheet) if(parsed_formulas && parsed_formulas.length > 0 && parsed_formulas[0].worksheet)
{ {
ser_titles_bboxes = ser_titles_bboxes.concat(parsed_formulas); ser_titles_bboxes = ser_titles_bboxes.concat(parsed_formulas);
} }
......
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