Commit 51500671 authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

TxCache

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49131 954022d7-b5bf-4e40-9824-e11837661b57
parent b216afe0
...@@ -1720,7 +1720,7 @@ function Binary_ChartReader(stream, chart, chartAsGroup) ...@@ -1720,7 +1720,7 @@ function Binary_ChartReader(stream, chart, chartAsGroup)
}); });
} }
else if ( c_oSer_ChartSeriesType.Tx === type ) else if ( c_oSer_ChartSeriesType.Tx === type )
seria.Tx = this.stream.GetString2LE(length); seria.TxCache.Tx = this.stream.GetString2LE(length);
else if ( c_oSer_ChartSeriesType.TxRef === type ) else if ( c_oSer_ChartSeriesType.TxRef === type )
{ {
var oTxRef = { Formula: null, NumCache: [] }; var oTxRef = { Formula: null, NumCache: [] };
...@@ -1729,9 +1729,10 @@ function Binary_ChartReader(stream, chart, chartAsGroup) ...@@ -1729,9 +1729,10 @@ function Binary_ChartReader(stream, chart, chartAsGroup)
}); });
if(oTxRef.NumCache.length > 0) if(oTxRef.NumCache.length > 0)
{ {
seria.TxCache.Formula = oTxRef.Formula;
var elem = oTxRef.NumCache[0]; var elem = oTxRef.NumCache[0];
if(null != elem && null != elem.val) if(null != elem && null != elem.val)
seria.Tx = elem.val; seria.TxCache.Tx = elem.val;
} }
} }
else if ( c_oSer_ChartSeriesType.Marker === type ) else if ( c_oSer_ChartSeriesType.Marker === type )
......
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