Commit 6e3ab1f5 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51108 954022d7-b5bf-4e40-9824-e11837661b57
parent d46621a0
......@@ -645,7 +645,7 @@ CChartAsGroup.prototype =
initFromChartObject: function(chart, options)
{
this.setAscChart(chart);
this.spPr.xfrm = new CXfrm();
this.setXfrmObject(new CXfrm());
var xfrm = this.spPr.xfrm;
var chartLeft = this.drawingObjects.convertMetric(options && options.left ? ptToPx(options.left) : (parseInt($("#ws-canvas").css('width')) / 2) - c_oAscChartDefines.defaultChartWidth / 2, 0, 3);
var chartTop = this.drawingObjects.convertMetric(options && options.top ? ptToPx(options.top) : (parseInt($("#ws-canvas").css('height')) / 2) - c_oAscChartDefines.defaultChartHeight / 2, 0, 3);
......@@ -703,11 +703,6 @@ CChartAsGroup.prototype =
this.vAxisTitle.setTextBody(new CTextBody(this.vAxisTitle));
for(var i in title_string)
this.vAxisTitle.txBody.content.Paragraph_Add(new ParaText(title_string[i]), false);
//this.chart.yAxis.bDefaultTitle = false;
//this.chart.yAxis.bShow = false;
//this.chart.yAxis.title = "";
}
this.init();
......
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