Commit a67a6133 authored by konovalovsergey's avatar konovalovsergey

не пишем c:dLbl без idx

parent bebc6bec
......@@ -2673,7 +2673,7 @@ BinaryChartWriter.prototype.WriteCT_DLbls = function (oVal) {
if (null != oVal.dLbl) {
for (var i = 0, length = oVal.dLbl.length; i < length; ++i) {
var oCurVal = oVal.dLbl[i];
if (null != oCurVal) {
if (null != oCurVal && null != oCurVal.idx) {
this.bs.WriteItem(c_oserct_dlblsDLBL, function () {
oThis.WriteCT_DLbl(oCurVal);
});
......@@ -5031,7 +5031,7 @@ BinaryChartWriter.prototype.WriteCT_PivotFmt = function (oVal) {
oThis.WriteCT_Marker(oVal.marker);
});
}
if (null != oVal.dLbl) {
if (null != oVal.dLbl && null != oVal.dLbl.idx) {
this.bs.WriteItem(c_oserct_pivotfmtDLBL, function () {
oThis.WriteCT_DLbl(oVal.dLbl);
});
......
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