Commit 9b2799a8 authored by GoshaZotov's avatar GoshaZotov

for hbar charts(rAng)

parent 18383ec2
...@@ -6134,10 +6134,20 @@ drawHBarChart.prototype = ...@@ -6134,10 +6134,20 @@ drawHBarChart.prototype =
{ {
if(this.cChartDrawer.processor3D.view3D.rAngAx) if(this.cChartDrawer.processor3D.view3D.rAngAx)
{ {
var angle = Math.abs(this.cChartDrawer.processor3D.angleOy);
this.sortZIndexPaths.sort (function sortArr(a, b) this.sortZIndexPaths.sort (function sortArr(a, b)
{ {
if(b.zIndex == a.zIndex) if(b.zIndex == a.zIndex)
return a.x - b.x; {
if(angle < Math.PI)
{
return a.x - b.x;
}
else
{
return b.x - a.x;
}
}
else else
return b.zIndex - a.zIndex; return b.zIndex - a.zIndex;
}); });
......
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