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

Выставление varyColors в false при смене с круговой и кольцевой диаграммы.(Bug...

Выставление varyColors в false при смене с круговой и кольцевой диаграммы.(Bug 27734 - Диаграмма отображается некорректно при переключении с Круговой на Линейчатую)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59951 954022d7-b5bf-4e40-9824-e11837661b57
parent 2fad09e4
......@@ -1920,6 +1920,13 @@ DrawingObjectsController.prototype =
plotArea.addChart(newChartType, 0);
plotArea.removeCharts(1, plotArea.charts.length - 1);
newChartType.setFromOtherChart(chartType);
if(newChartType.getObjectType() !== historyitem_type_PieChart && newChartType.getObjectType() !== historyitem_type_DoughnutChart)
{
if(newChartType.setVaryColors && newChartType.varyColors === true)
{
newChartType.setVaryColors(false);
}
}
};
switch(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