mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +08:00
Minor chart fixes
git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47274 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
committed by
Alexander.Trofimov
parent
57cd3ca57d
commit
94f737d07b
@ -888,10 +888,10 @@ function BinaryChartWriter(memory)
|
||||
var oThis = this;
|
||||
if(null != chart.legend && true == chart.legend.bShow)
|
||||
this.bs.WriteItem(c_oSer_ChartType.Legend, function(){oThis.WriteLegend(chart.legend);});
|
||||
if(null != chart.title && ("" != chart.title || true == chart.bDefaultTitle))
|
||||
if (null != chart.header.title && ("" != chart.header.title || true == chart.header.bDefaultTitle))
|
||||
{
|
||||
this.memory.WriteByte(c_oSer_ChartType.Title);
|
||||
this.memory.WriteString2(chart.title);
|
||||
this.memory.WriteString2(chart.header.title);
|
||||
}
|
||||
this.bs.WriteItem(c_oSer_ChartType.PlotArea, function(){oThis.WritePlotArea(chart);});
|
||||
if(null != chart.styleId)
|
||||
@ -1212,7 +1212,7 @@ function BinaryChartWriter(memory)
|
||||
{
|
||||
this.memory.WriteByte(c_oSer_ChartSeriesMarkerType.Symbol);
|
||||
this.memory.WriteByte(c_oSerPropLenType.Byte);
|
||||
this.memory.WriteByte(marker.bShowValue);
|
||||
this.memory.WriteByte(marker.Symbol);
|
||||
}
|
||||
};
|
||||
this.WriteDataLabels = function(chart)
|
||||
|
||||
Reference in New Issue
Block a user