Commit a71bdd69 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Правки багов с диаграммами

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55683 954022d7-b5bf-4e40-9824-e11837661b57
parent acfe69a3
......@@ -1781,6 +1781,7 @@ CPlotArea.prototype =
switch(axis.getObjectType())
{
case historyitem_type_CatAx:
case historyitem_type_DateAx:
{
ret.catAx.push(axis);
break;
......@@ -4529,6 +4530,599 @@ CCatAx.prototype =
function CDateAx()
{
this.auto = null;
this.axId = null;
this.axPos = null;
this.baseTimeUnit = null;
this.crossAx = null;
this.crosses = null;
this.crossesAt = null;
this.bDelete = null;
this.extLst = null;
this.lblOffset = null;
this.majorGridlines = null;
this.majorTickMark = null;
this.majorTimeUnit = null;
this.majorUnit = null;
this.minorGridlines = null;
this.minorTickMark = null;
this.minorTimeUnit = null;
this.minorUnit = null;
this.numFmt = null;
this.scaling = null;
this.spPr = null;
this.tickLblPos = null;
this.title = null;
this.txPr = null;
this.Id = g_oIdCounter.Get_NewId();
g_oTableId.Add(this, this.Id);
}
CDateAx.prototype =
{
Get_Id: function()
{
return this.Id;
},
getObjectsType: function()
{
return historyitem_type_DateAx;
},
setAuto: function(pr)
{
History.Add(this, {Type:historyitem_DateAxAuto, oldPr: this.auto, newPr: pr});
this.auto = pr;
},
setAxId: function(pr)
{
History.Add(this, {Type:historyitem_DateAxAxId, oldPr: this.axId, newPr: pr});
this.axId = pr;
},
setAxPos: function(pr)
{
History.Add(this, {Type:historyitem_DateAxPos, oldPr: this.axPos, newPr: pr});
this.axPos = pr;
},
setBaseTimeUnit: function(pr)
{
History.Add(this, {Type:historyitem_DateAxBaseTimeUnit, oldPr: this.baseTimeUnit, newPr: pr});
this.baseTimeUnit = pr;
},
setCrossAx: function(pr)
{
History.Add(this, {Type:historyitem_DateAxCrossAx, oldPr: this.crossAx, newPr: pr});
this.crossAx = pr;
},
setCrosses: function(pr)
{
History.Add(this, {Type:historyitem_DateAxCrosses, oldPr: this.crosses, newPr: pr});
this.crosses = pr;
},
setCrossesAt: function(pr)
{
History.Add(this, {Type:historyitem_DateAxCrossesAt, oldPr: this.crossesAt, newPr: pr});
this.crossesAt = pr;
},
setDelete: function(pr)
{
History.Add(this, {Type:historyitem_DateAxDelete, oldPr: this.bDelete, newPr: pr});
this.bDelete = pr;
},
setLblOffset: function(pr)
{
History.Add(this, {Type:historyitem_DateAxLblOffset, oldPr: this.lblOffset, newPr: pr});
this.lblOffset = pr;
},
setMajorGridlines: function(pr)
{
History.Add(this, {Type:historyitem_DateAxMajorGridlines, oldPr: this.majorGridlines, newPr: pr});
this.majorGridlines = pr;
},
setMajorTickMark: function(pr)
{
History.Add(this, {Type:historyitem_DateAxMajorTickMark, oldPr: this.majorTickMark, newPr: pr});
this.majorTickMark = pr;
},
setMajorTimeUnit: function(pr)
{
History.Add(this, {Type:historyitem_DateAxMajorTimeUnit, oldPr: this.majorTimeUnit, newPr: pr});
this.majorTimeUnit = pr;
},
setMajorUnit: function(pr)
{
History.Add(this, {Type:historyitem_DateAxMajorUnit, oldPr: this.majorUnit, newPr: pr});
this.majorUnit = pr;
},
setMinorGridlines: function(pr)
{
History.Add(this, {Type:historyitem_DateAxMajorGridlines, oldPr: this.majorGridlines, newPr: pr});
this.majorGridlines = pr;
},
setMinorTickMark: function(pr)
{
History.Add(this, {Type:historyitem_DateAxMinorTickMark, oldPr: this.minorTickMark, newPr: pr});
this.minorTickMark = pr;
},
setMinorTimeUnit: function(pr)
{
History.Add(this, {Type:historyitem_DateAxMinorTimeUnit, oldPr: this.minorTimeUnit, newPr: pr});
this.minorTimeUnit = pr;
},
///
setMinorUnit: function(pr)
{
History.Add(this, {Type:historyitem_DateAxMinorUnit, oldPr: this.minorUnit, newPr: pr});
this.minorUnit = pr;
},
setNumFmt: function(pr)
{
History.Add(this, {Type:historyitem_DateAxNumFmt, oldPr: this.numFmt, newPr: pr});
this.numFmt = pr;
},
setScaling: function(pr)
{
History.Add(this, {Type:historyitem_DateAxScaling, oldPr: this.scaling, newPr: pr});
this.scaling = pr;
},
setSpPr: function(pr)
{
History.Add(this, {Type:historyitem_DateAxSpPr, oldPr: this.spPr, newPr: pr});
this.spPr = pr;
},
setTickLblPos: function(pr)
{
History.Add(this, {Type:historyitem_DateAxTickLblPos, oldPr: this.tickLblPos, newPr: pr});
this.tickLblPos = pr;
},
setTitle: function(pr)
{
History.Add(this, {Type:historyitem_DateAxTitle, oldPr: this.title, newPr: pr});
this.title = pr;
},
setTxPr: function(pr)
{
History.Add(this, {Type:historyitem_DateAxTxPr, oldPr: this.txPr, newPr: pr});
this.txPr = pr;
},
//
Write_ToBinary2: function(w)
{
w.WriteLong(this.getObjectType());
w.WriteString2(this.Get_Id());
},
Read_FromBinar2: function(r)
{
this.Id = r.GetString2();
},
Undo: function(data)
{
switch(data.Type)
{
case historyitem_DateAxAuto:
{
this.auto = data.oldPr;
break;
}
case historyitem_DateAxAxId:
{
this.axId = data.oldPr;
break;
}
case historyitem_DateAxAxPos:
{
this.axPos = data.oldPr;
break;
}
case historyitem_DateAxBaseTimeUnit:
{
this.baseTimeUnit = data.oldPr;
break;
}
case historyitem_DateAxCrossAx:
{
this.crossAx = data.oldPr;
break;
}
case historyitem_DateAxCrosses:
{
this.crosses = data.oldPr;
break;
}
case historyitem_DateAxCrossesAt:
{
this.crossesAt = data.oldPr;
break;
}
case historyitem_DateAxDelete:
{
this.bDelete = data.oldPr;
break;
}
case historyitem_DateAxLblOffset:
{
this.lblOffset = data.oldPr;
break;
}
case historyitem_DateAxMajorGridlines:
{
this.majorGridlines = data.oldPr;
break;
}
case historyitem_DateAxMajorTickMark:
{
this.majorTickMark = data.oldPr;
break;
}
case historyitem_DateAxMajorTimeUnit:
{
this.majorTimeUnit = data.oldPr;
break;
}
case historyitem_DateAxMajorUnit:
{
this.majorUnit = data.oldPr;
break;
}
case historyitem_DateAxMinorGridlines:
{
this.minorGridlines = data.oldPr;
break;
}
case historyitem_DateAxMinorTickMark:
{
this.minorTickMark = data.oldPr;
break;
}
case historyitem_DateAxMinorTimeUnit:
{
this.minorTimeUnit = data.oldPr;
break;
}
case historyitem_DateAxMinorUnit:
{
this.minorUnit = data.oldPr;
break;
}
case historyitem_DateAxNumFmt:
{
this.numFmt = data.oldPr;
break;
}
case historyitem_DateAxScaling:
{
this.scaling = data.oldPr;
break;
}
case historyitem_DateAxSpPr:
{
this.spPr = data.oldPr;
break;
}
case historyitem_DateAxTickLblPos:
{
this.tickLblPos = data.oldPr;
break;
}
case historyitem_DateAxTitle:
{
this.title = data.oldPr;
break;
}
case historyitem_DateAxTxPr:
{
this.txPr = data.oldPr;
break;
}
}
},
Redo: function(data)
{
switch(data.Type)
{
case historyitem_DateAxAuto:
{
this.auto = data.newPr;
break;
}
case historyitem_DateAxAxId:
{
this.axId = data.newPr;
break;
}
case historyitem_DateAxAxPos:
{
this.axPos = data.newPr;
break;
}
case historyitem_DateAxBaseTimeUnit:
{
this.baseTimeUnit = data.newPr;
break;
}
case historyitem_DateAxCrossAx:
{
this.crossAx = data.newPr;
break;
}
case historyitem_DateAxCrosses:
{
this.crosses = data.newPr;
break;
}
case historyitem_DateAxCrossesAt:
{
this.crossesAt = data.newPr;
break;
}
case historyitem_DateAxDelete:
{
this.bDelete = data.newPr;
break;
}
case historyitem_DateAxLblOffset:
{
this.lblOffset = data.newPr;
break;
}
case historyitem_DateAxMajorGridlines:
{
this.majorGridlines = data.newPr;
break;
}
case historyitem_DateAxMajorTickMark:
{
this.majorTickMark = data.newPr;
break;
}
case historyitem_DateAxMajorTimeUnit:
{
this.majorTimeUnit = data.newPr;
break;
}
case historyitem_DateAxMajorUnit:
{
this.majorUnit = data.newPr;
break;
}
case historyitem_DateAxMinorGridlines:
{
this.minorGridlines = data.newPr;
break;
}
case historyitem_DateAxMinorTickMark:
{
this.minorTickMark = data.newPr;
break;
}
case historyitem_DateAxMinorTimeUnit:
{
this.minorTimeUnit = data.newPr;
break;
}
case historyitem_DateAxMinorUnit:
{
this.minorUnit = data.newPr;
break;
}
case historyitem_DateAxNumFmt:
{
this.numFmt = data.newPr;
break;
}
case historyitem_DateAxScaling:
{
this.scaling = data.newPr;
break;
}
case historyitem_DateAxSpPr:
{
this.spPr = data.newPr;
break;
}
case historyitem_DateAxTickLblPos:
{
this.tickLblPos = data.newPr;
break;
}
case historyitem_DateAxTitle:
{
this.title = data.newPr;
break;
}
case historyitem_DateAxTxPr:
{
this.txPr = data.newPr;
break;
}
}
},
Save_Changes: function(w)
{},
Load_Changes: function(r)
{}
};
function CSerAx()
{
this.axId = null;
this.axPos = null;
this.crossAx = null;
this.crosses = null;
this.crossesAt = null;
this.bDelete = null;
this.extLst = null;
this.majorGridlines = null;
this.majorTickMark = null;
this.minorGridlines = null;
this.minorTickMark = null;
this.numFmt = null;
this.scaling = null;
this.spPr = null;
this.tickLblPos = null;
this.tickLblSkip = null;
this.tickMarkSkip = null;
this.title = null;
this.txPr = null;
this.Id = g_oIdCounter.Get_NewId();
g_oTableId.Add(this, this.Id);
}
CSerAx.prototype =
{
getObjectType: function()
{
return historyitem_type_SerAx;
},
Get_Id: function()
{
return this.Id;
},
setAxId: function(pr)
{
History.Add(this, {Type: historyitem_SerAxSetAxId, oldPr: this.axId, newPr: pr});
this.axId = pr;
},
setAxPos: function(pr)
{
History.Add(this, {Type: historyitem_SerAxSetAxPos, oldPr: this.axPos, newPr: pr});
this.axPos = pr;
},
setCrossAx: function(pr)
{
History.Add(this, {Type: historyitem_SerAxSetCrossAx, oldPr: this.crossAx, newPr: pr});
this.crossAx = pr;
},
setCrosses: function(pr)
{
History.Add(this, {Type: historyitem_SerAxSetCrosses, oldPr: this.crosses, newPr: pr});
this.crosses = pr;
},
setCrossesAt: function(pr)
{
History.Add(this, {Type: historyitem_SerAxSetCrossesAt, oldPr: this.crossesAt, newPr: pr});
this.crossesAt = pr;
},
setDelete: function(pr)
{
History.Add(this, {Type: historyitem_SerAxSetDelete, oldPr: this.bDelete, newPr: pr});
this.bDelete = pr;
},
setMajorGridlines: function(pr)
{
History.Add(this, {Type: historyitem_SerAxSetMajorGridlines, oldPr: this.majorGridlines, newPr: pr});
this.majorGridlines = pr;
},
setMajorTickMark: function(pr)
{
History.Add(this, {Type: historyitem_SerAxSetMajorTickMark, oldPr: this.majorTickMark, newPr: pr});
this.majorTickMark = pr;
},
setMinorGridlines: function(pr)
{
History.Add(this, {Type: historyitem_SerAxSetMajorGridlines, oldPr: this.majorGridlines, newPr: pr});
this.majorGridlines = pr;
},
setMinorTickMark: function(pr)
{
History.Add(this, {Type: historyitem_SerAxSetMinorTickMark, oldPr: this.minorTickMark, newPr: pr});
this.minorTickMark = pr;
},
setNumFmt: function(pr)
{
History.Add(this, {Type: historyitem_SerAxSetNumFmt, oldPr: this.numFmt, newPr: pr});
this.numFmt = pr;
},
setScaling: function(pr)
{
History.Add(this, {Type: historyitem_SerAxSetScaling, oldPr: this.scaling, newPr: pr});
this.scaling = pr;
},
setSpPr: function(pr)
{
History.Add(this, {Type: historyitem_SerAxSetSpPr, oldPr: this.spPr, newPr: pr});
this.spPr = pr;
},
setTickLblPos: function(pr)
{
History.Add(this, {Type: historyitem_SerAxSetTickLblPos, oldPr: this.tickLblPos, newPr: pr});
this.tickLblPos = pr;
},
setTickLblSkip: function(pr)
{
History.Add(this, {Type: historyitem_SerAxSetTickLblSkip, oldPr: this.tickLblSkip, newPr: pr});
this.tickLblSkip = pr;
},
setTickMarkSkip: function(pr)
{
History.Add(this, {Type: historyitem_SerAxSetTickMarkSkip, oldPr: this.tickMarkSkip, newPr: pr});
this.tickMarkSkip = pr;
},
setTitle: function(pr)
{
History.Add(this, {Type: historyitem_SerAxSetTitle, oldPr: this.title, newPr: pr});
this.title = pr;
},
setTxPr: function(pr)
{
History.Add(this, {Type: historyitem_SerAxSetTxPr, oldPr: this.txPr, newPr: pr});
this.txPr = pr;
},
Undo: function()
{},
Redo: function()
{},
Write_ToBinary2: function(w)
{},
Read_FrommBinary2: function()
{},
Save_Changes: function()
{},
Load_Changes: function()
{}
};
function CValAx()
{
this.axId = null;
......@@ -11230,6 +11824,17 @@ CNumLit.prototype =
Refresh_RecalcData: function()
{},
getPtByIndex: function(idx)
{
for(var i = 0; i < this.pts.length; ++i)
{
if(this.pts[i].idx === idx)
return this.pts[i];
}
return null;
},
getObjectType: function()
{
return historyitem_type_NumLit;
......@@ -15715,18 +16320,18 @@ CTitle.prototype =
{
if(this.chart)
{
graphics.SetIntegerGrid(false);
graphics.p_width(70);
graphics.transform3(this.chart.transform, false);
graphics.p_color(0, 0, 0, 255);
graphics._s();
graphics._m(this.x, this.y);
graphics._l(this.x + this.extX, this.y + 0);
graphics._l(this.x + this.extX, this.y + this.extY);
graphics._l(this.x + 0, this.y + this.extY);
graphics._z();
graphics.ds();
graphics.SetIntegerGrid(true);
//graphics.SetIntegerGrid(false);
//graphics.p_width(70);
//graphics.transform3(this.chart.transform, false);
//graphics.p_color(0, 0, 0, 255);
//graphics._s();
//graphics._m(this.x, this.y);
//graphics._l(this.x + this.extX, this.y + 0);
//graphics._l(this.x + this.extX, this.y + this.extY);
//graphics._l(this.x + 0, this.y + this.extY);
//graphics._z();
//graphics.ds();
//graphics.SetIntegerGrid(true);
}
CDLbl.prototype.draw.call(this, graphics);
},
......@@ -17611,18 +18216,18 @@ CValAxisLabels.prototype =
{
if(this.chart)
{
g.SetIntegerGrid(false);
g.p_width(70);
g.transform3(this.chart.transform, false);
g.p_color(0, 0, 0, 255);
g._s();
g._m(this.x, this.y);
g._l(this.x + this.extX, this.y + 0);
g._l(this.x + this.extX, this.y + this.extY);
g._l(this.x + 0, this.y + this.extY);
g._z();
g.ds();
g.SetIntegerGrid(true);
//g.SetIntegerGrid(false);
//g.p_width(70);
//g.transform3(this.chart.transform, false);
//g.p_color(0, 0, 0, 255);
//g._s();
//g._m(this.x, this.y);
//g._l(this.x + this.extX, this.y + 0);
//g._l(this.x + this.extX, this.y + this.extY);
//g._l(this.x + 0, this.y + this.extY);
//g._z();
//g.ds();
//g.SetIntegerGrid(true);
}
for(var i = 0; i < this.arrLabels.length; ++i)
{
......
......@@ -1241,17 +1241,42 @@ CChartSpace.prototype =
//расчитаем подписи для горизонтальной оси
var ser = chart_object.series[0];
var string_pts = [], pts_len = 0;
/*string_pts pts_len*/
if(ser && ser.cat)
{
var lit;
if(ser.cat.strRef && ser.cat.strRef.strCache)
{
string_pts = ser.cat.strRef.strCache.pt;
pts_len = string_pts.length;
lit = ser.cat.strRef.strCache;
}
else if(ser.cat.strLit)
{
string_pts = ser.cat.strLit.pt;
pts_len = string_pts.length;
lit = ser.cat.strLit;
}
else if(ser.cat.numRef && ser.cat.numRef.numCache)
{
lit = ser.cat.numRef.numCache;
}
else if(ser.cat.numLit)
{
lit = ser.cat.numLit;
}
if(lit)
{
pts_len = lit.ptCount;
for(i = 0; i < pts_len; ++i)
{
var pt = lit.getPtByIndex(i);
if(pt)
{
string_pts.push({val: pt.val + ""});
}
else
{
string_pts.push({val: i + ""});
}
}
}
}
if(string_pts.length === 0)
......@@ -1260,15 +1285,16 @@ CChartSpace.prototype =
for(i = 0; i < chart_object.series.length; ++i)
{
var cur_pts= null;
ser = chart_object.series[i];
if(ser.val)
{
if(ser.val.numRef && ser.val.numRef.numCache)
cur_pts = ser.val.numRef.numCache.pts;
cur_pts = ser.val.numRef.numCache;
else if(ser.val.numLit)
cur_pts = ser.val.numLit.pts;
cur_pts = ser.val.numLit;
if(cur_pts)
{
pts_len = Math.max(pts_len, getMaxIdx(cur_pts));
pts_len = Math.max(pts_len, cur_pts.ptCount);
}
}
}
......@@ -4689,7 +4715,7 @@ CChartSpace.prototype =
{
compiled_marker.setSpPr(new CSpPr());
}
compiled_marker.spPr.setFill(brushes[i]);
compiled_marker.spPr.setFill(brushes[pts[i].idx]);
compiled_marker.spPr.Fill.merge(pts[i].brush);
if(!compiled_marker.spPr.ln)
compiled_marker.spPr.setLn(new CLn());
......@@ -4765,11 +4791,11 @@ CChartSpace.prototype =
{
compiled_marker.setSpPr(new CSpPr());
}
compiled_marker.spPr.setFill(brushes[i]);
compiled_marker.spPr.setFill(brushes[series[i].idx]);
if(!compiled_marker.spPr.ln)
compiled_marker.spPr.setLn(new CLn());
compiled_marker.spPr.ln.setFill(pens_fills[i]);
compiled_marker.setSymbol(GetTypeMarkerByIndex(i));
compiled_marker.spPr.ln.setFill(pens_fills[series[i].idx]);
compiled_marker.setSymbol(GetTypeMarkerByIndex(series[i].idx));
compiled_marker.merge(ser.marker);
if(j === 0)
ser.compiledSeriesMarker = compiled_marker.createDuplicate();
......@@ -6949,7 +6975,6 @@ function CreateLineChart(asc_chart, type)
var title = plot_area.valAx.title;
title.setTxPr(new CTextBody());
title.txPr.setBodyPr(new CBodyPr());
title.txPr.bodyPr.setVert(nVertTTvert);
var line_chart = plot_area.charts[0];
line_chart.setGrouping(type);
line_chart.setVaryColors(false);
......@@ -7657,11 +7682,12 @@ function CreateScatterChart(asc_chart)
var first_series = asc_series.length > 1 ? asc_series[0] : null;
var start_index = asc_series.length > 1 ? 1 : 0;
var parsedHeaders = asc_chart.parseSeriesHeaders();
var minus = start_index === 1 ? 1 : 0;
for(var i = start_index; i < asc_series.length; ++i)
{
var series = new CScatterSeries();
series.setIdx(i);
series.setOrder(i);
series.setIdx(i - minus);
series.setOrder(i - minus);
if(first_series)
{
series.setXVal(new CXVal());
......
......@@ -639,6 +639,53 @@ var historyitem_GraphicObjectsRemoveHeaderOrFooter = 2606;
var historyitem_WrapPolygonSetEdited = 2607;
var historyitem_WrapPolygonSetRelPoints = 2608;
var historyitem_DateAxAuto = 2609;
var historyitem_DateAxAxId = 2610;
var historyitem_DateAxAxPos = 2611;
var historyitem_DateAxBaseTimeUnit = 2612;
var historyitem_DateAxCrossAx = 2613;
var historyitem_DateAxCrosses = 2614;
var historyitem_DateAxCrossesAt = 2615;
var historyitem_DateAxDelete = 2616;
var historyitem_DateAxLblOffset = 2617;
var historyitem_DateAxMajorGridlines = 2618;
var historyitem_DateAxMajorTickMark = 2619;
var historyitem_DateAxMajorTimeUnit = 2620;
var historyitem_DateAxMajorUnit = 2621;
var historyitem_DateAxMinorGridlines = 2622;
var historyitem_DateAxMinorTickMark = 2623;
var historyitem_DateAxMinorTimeUnit = 2624;
var historyitem_DateAxMinorUnit = 2625;
var historyitem_DateAxNumFmt = 2626;
var historyitem_DateAxScaling = 2627;
var historyitem_DateAxSpPr = 2628;
var historyitem_DateAxTickLblPos = 2629;
var historyitem_DateAxTitle = 2630;
var historyitem_DateAxTxPr = 2631;
var historyitem_SerAxSetAxId = 2632;
var historyitem_SerAxSetAxPos = 2633;
var historyitem_SerAxSetCrossAx = 2634;
var historyitem_SerAxSetCrosses = 2635;
var historyitem_SerAxSetCrossesAt = 2636;
var historyitem_SerAxSetDelete = 2637;
var historyitem_SerAxSetMajorGridlines = 2638;
var historyitem_SerAxSetMajorTickMark = 2639;
var historyitem_SerAxSetMinorGridlines = 2640;
var historyitem_SerAxSetMinorTickMark = 2641;
var historyitem_SerAxSetNumFmt = 2642;
var historyitem_SerAxSetScaling = 2643;
var historyitem_SerAxSetSpPr = 2644;
var historyitem_SerAxSetTickLblPos = 2645;
var historyitem_SerAxSetTickLblSkip = 2646;
var historyitem_SerAxSetTickMarkSkip = 2647;
var historyitem_SerAxSetTitle = 2648;
var historyitem_SerAxSetTxPr = 2649;
var historyitem_type_ColorMod = 1001;
var historyitem_type_ColorModifiers = 1002;
var historyitem_type_SysColor = 1003;
......@@ -752,6 +799,8 @@ var historyitem_type_TextBody = 1109;
var historyitem_type_CatAx = 1110;
var historyitem_type_ValAx = 1111;
var historyitem_type_WrapPolygon = 1112;
var historyitem_type_DateAx = 1113;
var historyitem_type_SerAx = 1114;
......
......@@ -10235,7 +10235,7 @@ BinaryChartReader.prototype.ReadCT_PlotArea = function (type, length, val, oIdTo
val.addAxis(oNewVal);
}
else if (c_oserct_plotareaDATEAX === type) {
var oNewVal = new CCatAx();
var oNewVal = new CDateAx();
res = this.bcr.Read1(length, function (t, l) {
return oThis.ReadCT_DateAx(t, l, oNewVal);
});
......@@ -10244,7 +10244,7 @@ BinaryChartReader.prototype.ReadCT_PlotArea = function (type, length, val, oIdTo
val.addAxis(oNewVal);
}
else if (c_oserct_plotareaSERAX === type) {
var oNewVal = new CCatAx();
var oNewVal = new CSerAx();
res = this.bcr.Read1(length, function (t, l) {
return oThis.ReadCT_SerAx(t, l, oNewVal);
});
......
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