Commit 69dc1d5b authored by SergeyLuzyanin's avatar SergeyLuzyanin

do not create table's styles for charts

parent 058afc8d
......@@ -1478,7 +1478,7 @@ CDLbl.prototype =
if(this.lastStyleObject)
return this.lastStyleObject;
var styles = new CStyles(false);
var style = new CStyle("dataLblStyle", null, null, null);
var style = new CStyle("dataLblStyle", null, null, null, true);
var text_pr = new CTextPr();
text_pr.FontSize = 10;
if(this.chart && AscFormat.isRealNumber(this.chart.style) )
......
......@@ -935,9 +935,8 @@ CChartSpace.prototype.getStyles = function()
{
return AscFormat.ExecuteNoHistory(function(){
//todo: доработать
var styles = new CStyles();
var style = new CStyle("dataLblStyle", null, null, null);
var styles = new CStyles(false);
var style = new CStyle("dataLblStyle", null, null, null, true);
var text_pr = new CTextPr();
text_pr.FontSize = 10;
text_pr.Unifill = CreateUnfilFromRGB(0,0,0);
......
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