Commit 4a2f9218 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Правка для печати (при отсутствии заголовка или подписей осей)

Баг http://bugzserver/show_bug.cgi?id=22064

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51629 954022d7-b5bf-4e40-9824-e11837661b57
parent 1999f63c
......@@ -3483,13 +3483,13 @@ function DrawingObjects() {
var chartTxtAreas = [], aTxtTransform = [];
// Title
if ( graphicObject.chartTitle.txBody && graphicObject.chartTitle.transformText )
if ( graphicObject.chartTitle && graphicObject.chartTitle.txBody && graphicObject.chartTitle.transformText )
chartTxtAreas.push(graphicObject.chartTitle);
// Axis Y
if ( graphicObject.vAxisTitle.txBody && graphicObject.vAxisTitle.transformText )
if ( graphicObject.vAxisTitle && graphicObject.vAxisTitle.txBody && graphicObject.vAxisTitle.transformText )
chartTxtAreas.push(graphicObject.vAxisTitle);
// Axis X
if ( graphicObject.hAxisTitle.txBody && graphicObject.hAxisTitle.transformText )
if ( graphicObject.hAxisTitle && graphicObject.hAxisTitle.txBody && graphicObject.hAxisTitle.transformText )
chartTxtAreas.push(graphicObject.hAxisTitle);
for ( var i = 0; i < chartTxtAreas.length; i++ ) {
......
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