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

генерация цветов для диаграммы с накоплением

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49269 954022d7-b5bf-4e40-9824-e11837661b57
parent 0e6a59aa
......@@ -1936,6 +1936,7 @@ function drawChart(chart, arrValues, width, height) {
if(chart.series && chart.series.length != 0 && (chart.series[0].TxCache.Tx || chart.series[0].OutlineColor) && (theme && colorMap))
{
var uniColors;
bar._otherProps._colors = [];
for (var j = 0; j < chart.series.length; j++) {
if(chart.series[j].TxCache.Tx)
bar._otherProps._key[j] = chart.series[j].TxCache.Tx;
......
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