[bug] Fix bug 42601 (#610)

This commit is contained in:
Sergey Luzyanin
2019-08-28 19:44:52 +03:00
committed by Alexey Golubev
parent 4de2620197
commit 827a6b7dbc
2 changed files with 2 additions and 1 deletions

View File

@ -5498,6 +5498,7 @@ CChartSpace.prototype.checkCatByNumRef = function(oThis, ser, cat, bVertical)
CChartSpace.prototype.recalculateReferences = function()
{
this.resetSelection(false);
var worksheet = this.worksheet;
//this.pointsMap = {};
if(!worksheet)

View File

@ -4556,7 +4556,7 @@ CShape.prototype.draw = function (graphics, transform, transformText, pageIndex)
}
}
if ((geometry || (this.getObjectType && (this.getObjectType() === AscDFH.historyitem_type_DLbl || this.getObjectType() === AscDFH.historyitem_type_Legend))) && (this.style || (this.brush && this.brush.fill) || (this.pen && this.pen.Fill && this.pen.Fill.fill))) {
if ((geometry || (this.getObjectType && (this.getObjectType() === AscDFH.historyitem_type_DLbl || this.getObjectType() === AscDFH.historyitem_type_Title || this.getObjectType() === AscDFH.historyitem_type_Legend))) && (this.style || (this.brush && this.brush.fill) || (this.pen && this.pen.Fill && this.pen.Fill.fill))) {
graphics.SetIntegerGrid(false);
graphics.transform3(_transform, false);