Added save full graph image

This commit is contained in:
Unick Soft
2017-07-17 01:00:23 +03:00
parent 1236fc4c1a
commit a64fff2dd9
6 changed files with 71 additions and 6 deletions

View File

@@ -640,7 +640,7 @@ SavedDialogGraphImageHandler.prototype.pathObjects = null;
// Objects.
SavedDialogGraphImageHandler.prototype.objects = null;
SavedDialogGraphImageHandler.prototype.show = function(object)
SavedDialogGraphImageHandler.prototype.show = function(object, isFull = false)
{
var showDialogCallback = function ()
{
@@ -673,7 +673,7 @@ SavedDialogGraphImageHandler.prototype.show = function(object)
}
var imageName = this.app.SaveGraphImageOnDisk(showDialogCallback);
var imageName = isFull ? this.app.SaveFullGraphImageOnDisk(showDialogCallback) : this.app.SaveGraphImageOnDisk(showDialogCallback);
}