Commit a638f9dc authored by SergeyLuzyanin's avatar SergeyLuzyanin

fix bug with drag-and-drop chart into title

parent de973e5d
......@@ -1626,11 +1626,21 @@ CDLbl.prototype =
Get_Theme: function()
{
return this.chart.Get_Theme();
if(this.chart){
return this.chart.Get_Theme();
}
return null;
},
Get_ColorMap: function()
{
return this.chart.Get_ColorMap();
if(this.chart){
return this.chart.Get_ColorMap();
}
else {
return AscFormat.G_O_DEFAULT_COLOR_MAP;
}
},
Get_AbsolutePage: function()
......
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