Commit 3c6b96b8 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

git-svn-id:...

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49879 954022d7-b5bf-4e40-9824-e11837661b57
parent af546e94
...@@ -1285,18 +1285,19 @@ function insertChart(chart, activeWorkSheet, width, height, isNewChart, options) ...@@ -1285,18 +1285,19 @@ function insertChart(chart, activeWorkSheet, width, height, isNewChart, options)
} }
else else
{ {
chart.isSkip = isSkip;
if(isSeries) if(isSeries)
{ {
if(chart.type == 'HBar' || chart.type == 'Bar' || chart.type == 'Stock' || chart.type == 'Pie') if(chart.type == 'HBar' || chart.type == 'Bar' || chart.type == 'Stock' || chart.type == 'Pie')
{ {
//надо перевернуть массив //надо перевернуть массив
chart.isSkip = arrReverse(isSkip);
arrValuesRev = arrReverse(arrValues); arrValuesRev = arrReverse(arrValues);
chart.arrFormatAdobeLabels = arrReverse(arrFormatAdobeLabels); chart.arrFormatAdobeLabels = arrReverse(arrFormatAdobeLabels);
drawChart(chart, arrValuesRev, width, height, options); drawChart(chart, arrValuesRev, width, height, options);
} }
else else
{ {
chart.isSkip = isSkip;
chart.arrFormatAdobeLabels = arrFormatAdobeLabels; chart.arrFormatAdobeLabels = arrFormatAdobeLabels;
drawChart(chart, arrValues, width, height, options); drawChart(chart, arrValues, width, height, options);
} }
......
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