Commit 41e0d297 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

http://bugzserver/show_bug.cgi?id=24610 - [XLSX] Таблица открывается с ошибкой в консоли 'Lo'

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57090 954022d7-b5bf-4e40-9824-e11837661b57
parent d76cfe4c
......@@ -5030,7 +5030,7 @@ drawStockChart.prototype =
var numCache = this.chartProp.series[0].val.numRef ? this.chartProp.series[0].val.numRef.numCache : this.chartProp.series[0].val.numLit;
var koffX = trueWidth / numCache.pts.length;
var gapWidth = this.cChartSpace.chart.plotArea.chart.upDownBars.gapWidth ? this.cChartSpace.chart.plotArea.chart.upDownBars.gapWidth : 150;
var gapWidth = this.cChartSpace.chart.plotArea.chart.upDownBars && this.cChartSpace.chart.plotArea.chart.upDownBars.gapWidth ? this.cChartSpace.chart.plotArea.chart.upDownBars.gapWidth : 150;
var widthBar = koffX / (1 + gapWidth / 100);
......@@ -5139,14 +5139,14 @@ drawStockChart.prototype =
if(this.paths.values[i].downBars)
{
brush = this.cChartSpace.chart.plotArea.chart.upDownBars.downBarsBrush;
pen = this.cChartSpace.chart.plotArea.chart.upDownBars.downBarsPen;
brush = this.cChartSpace.chart.plotArea.chart.upDownBars ? this.cChartSpace.chart.plotArea.chart.upDownBars.downBarsBrush : null;
pen = this.cChartSpace.chart.plotArea.chart.upDownBars ? this.cChartSpace.chart.plotArea.chart.upDownBars.downBarsPen : null;
this.cChartDrawer.drawPath(this.paths.values[i].downBars, pen, brush);
}
else
{
brush = this.cChartSpace.chart.plotArea.chart.upDownBars.upBarsBrush;
pen = this.cChartSpace.chart.plotArea.chart.upDownBars.upBarsPen;
brush = this.cChartSpace.chart.plotArea.chart.upDownBars ? this.cChartSpace.chart.plotArea.chart.upDownBars.upBarsBrush : null;
pen = this.cChartSpace.chart.plotArea.chart.upDownBars ? this.cChartSpace.chart.plotArea.chart.upDownBars.upBarsPen : null;
this.cChartDrawer.drawPath(this.paths.values[i].upBars, pen, brush);
}
}
......
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