Commit 8cefd4e8 authored by GoshaZotov's avatar GoshaZotov

change position DLbl(bar charts)

parent 43637c0a
...@@ -3594,25 +3594,21 @@ drawBarChart.prototype = ...@@ -3594,25 +3594,21 @@ drawBarChart.prototype =
//ToDo пересмотреть для 3d диаграмм //ToDo пересмотреть для 3d диаграмм
if(this.cChartDrawer.nDimensionCount === 3) if(this.cChartDrawer.nDimensionCount === 3)
{ {
if(this.paths.series[ser][val][2]) if(this.paths.series[ser][val][0])
{ {
path = this.paths.series[ser][val][2].ArrPathCommand; path = this.paths.series[ser][val][0].ArrPathCommand;
}
else if(this.paths.series[ser][val][3])
{
path = this.paths.series[ser][val][3].ArrPathCommand;
}
else if(this.paths.series[ser][val][4])
{
path = this.paths.series[ser][val][4].ArrPathCommand;
} }
else if(this.paths.series[ser][val][5]) else if(this.paths.series[ser][val][5])
{ {
path = this.paths.series[ser][val][5].ArrPathCommand; path = this.paths.series[ser][val][5].ArrPathCommand;
} }
else if(this.paths.series[ser][val][1]) else if(this.paths.series[ser][val][2])
{
path = this.paths.series[ser][val][2].ArrPathCommand;
}
else if(this.paths.series[ser][val][3])
{ {
path = this.paths.series[ser][val][1].ArrPathCommand; path = this.paths.series[ser][val][3].ArrPathCommand;
} }
} }
......
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