Commit 5285050e authored by GoshaZotov's avatar GoshaZotov

change 3d bar charts(calculating the order of drawing)

parent 3abe6aef
......@@ -11962,6 +11962,12 @@ CSortFaces.prototype =
var diffY = centerChartY;
var diffZ = -1 / this.cChartDrawer.processor3D.rPerspective;
//TODO пересмотреть правку!
if(diffZ > 0 && this.chartProp.type === AscFormat.c_oChartTypes.Bar && this.cChartDrawer.processor3D.view3D.rAngAx && (this.chartProp.subType == "stackedPer" || this.chartProp.subType == "stacked"))
{
diffZ -= 500;
}
this.centralViewPoint = {x: diffX, y: diffY, z: diffZ};
}
else
......
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