Commit b1aa377f authored by GoshaZotov's avatar GoshaZotov

fix bug 35176

parent 6462670e
......@@ -719,9 +719,9 @@ CChartsDrawer.prototype =
var valAx = chartSpace.chart.plotArea.valAx;
if(chartSpace.chart.plotArea.valAx && /*chartSpace.chart.plotArea.valAx.labels &&*/ this.calcProp.widthCanvas != undefined)
{
if(isHBar)
if(isHBar && valAx.xPoints)
{
if(valAx.scaling.orientation == ORIENTATION_MIN_MAX && valAx.xPoints)
if(valAx.scaling.orientation == ORIENTATION_MIN_MAX)
{
calculateLeft = valAx.xPoints[0].pos;
calculateRight = this.calcProp.widthCanvas / pxToMM - valAx.xPoints[valAx.xPoints.length - 1].pos;
......
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