mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-02-10 18:15:19 +08:00
[bug] fix bug 79916
This commit is contained in:
@ -1475,7 +1475,8 @@ CSparklineView.prototype.setMinMaxValAx = function(minVal, maxVal, oSparklineGro
|
|||||||
DrawingBase.prototype._getGraphicObjectCoords = function()
|
DrawingBase.prototype._getGraphicObjectCoords = function()
|
||||||
{
|
{
|
||||||
var _t = this;
|
var _t = this;
|
||||||
|
if (!this.worksheet)
|
||||||
|
return null;
|
||||||
if ( _t.isGraphicObject() ) {
|
if ( _t.isGraphicObject() ) {
|
||||||
var ret = {Pos:{}, ext: {}, from: {}, to: {}};
|
var ret = {Pos:{}, ext: {}, from: {}, to: {}};
|
||||||
var rot = AscFormat.isRealNumber(_t.graphicObject.rot) ? _t.graphicObject.rot : 0;
|
var rot = AscFormat.isRealNumber(_t.graphicObject.rot) ? _t.graphicObject.rot : 0;
|
||||||
@ -1535,6 +1536,8 @@ CSparklineView.prototype.setMinMaxValAx = function(minVal, maxVal, oSparklineGro
|
|||||||
|
|
||||||
DrawingBase.prototype.setGraphicObjectCoords = function() {
|
DrawingBase.prototype.setGraphicObjectCoords = function() {
|
||||||
var _t = this;
|
var _t = this;
|
||||||
|
if (!this.worksheet)
|
||||||
|
return;
|
||||||
var oCoords = this._getGraphicObjectCoords();
|
var oCoords = this._getGraphicObjectCoords();
|
||||||
if(oCoords)
|
if(oCoords)
|
||||||
{
|
{
|
||||||
@ -1609,6 +1612,8 @@ CSparklineView.prototype.setMinMaxValAx = function(minVal, maxVal, oSparklineGro
|
|||||||
DrawingBase.prototype.checkBoundsFromTo = function() {
|
DrawingBase.prototype.checkBoundsFromTo = function() {
|
||||||
var _t = this;
|
var _t = this;
|
||||||
|
|
||||||
|
if (!this.worksheet)
|
||||||
|
return;
|
||||||
if ( _t.isGraphicObject() && _t.graphicObject.bounds) {
|
if ( _t.isGraphicObject() && _t.graphicObject.bounds) {
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user