Skip to content

Commit

Permalink
Fix chart data bug
Browse files Browse the repository at this point in the history
  • Loading branch information
g21589 committed Dec 6, 2015
1 parent 29c17b3 commit ab5b957
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -1473,7 +1473,7 @@ function extractChartData(serNode) {
return "";
});
dataMat.push(dataRow);
} else {
} else if (serNode["c:val"] !== undefined) {
eachElement(serNode, function(innerNode, index) {
var dataRow = new Array();
var colName = getTextByPathList(innerNode, ["c:tx", "c:strRef", "c:strCache", "c:pt", "c:v"]) || index;
Expand All @@ -1496,6 +1496,8 @@ function extractChartData(serNode) {
dataMat.push({key: colName, values: dataRow, xlabels: rowNames});
return "";
});
} else {

}

return dataMat;
Expand Down

0 comments on commit ab5b957

Please sign in to comment.