Commit cb501095 authored by Alexander.Trofimov's avatar Alexander.Trofimov

set chart space worksheet from sparkline

parent 3f229e5a
......@@ -4970,10 +4970,9 @@ RangeDataManager.prototype = {
sparklineGroup.prototype._drawThumbBySparklineGroup = function (oSparkline, oSparklineGroup, oSparklineView, oGraphics) {
oSparklineView.initFromSparkline(oSparkline, oSparklineGroup, null, true);
var api_sheet = Asc['editor'];
var t = this;
AscFormat.ExecuteNoHistory(function () {
oSparklineView.chartSpace.setWorksheet(api_sheet.wb.getWorksheet().model);
oSparklineView.chartSpace.setWorksheet(t.worksheet);
}, this, []);
oSparklineView.chartSpace.extX = 100;
......
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