Commit 8b98fed5 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

git-svn-id:...

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51174 954022d7-b5bf-4e40-9824-e11837661b57
parent 5d8b642d
......@@ -366,6 +366,7 @@ CChartAsGroup.prototype =
this.chartTitle.setTextBody(new CTextBody(this.chartTitle));
for(var i in title_str)
this.chartTitle.txBody.content.Paragraph_Add(new ParaText(title_str[i]), false);
this.chart.header.title = this.chartTitle.txBody.content.getTextString();
}
else
{
......@@ -383,9 +384,10 @@ CChartAsGroup.prototype =
content.Content[i].setParent(content);
content.Content[i].setTextPr(new ParaTextPr());
}
}
this.chart.header.title = this.chartTitle.txBody.content.getTextString();
}
}
if(isRealObject(this.hAxisTitle)&& isRealObject(this.hAxisTitle.txBody)&& isRealObject(this.hAxisTitle.txBody.content))
{
......@@ -399,6 +401,8 @@ CChartAsGroup.prototype =
this.hAxisTitle.setTextBody(new CTextBody(this.hAxisTitle));
for(var i in title_str)
this.hAxisTitle.txBody.content.Paragraph_Add(new ParaText(title_str[i]), false);
this.chart.xAxis.title = this.hAxisTitle.txBody.content.getTextString();
}
else
{
......@@ -416,11 +420,12 @@ CChartAsGroup.prototype =
content.Content[i].setParent(content);
content.Content[i].setTextPr(new ParaTextPr());
}
}
this.chart.xAxis.title = this.hAxisTitle.txBody.content.getTextString();
}
}
if(isRealObject(this.vAxisTitle) && isRealObject(this.vAxisTitle.txBody)&& isRealObject(this.vAxisTitle.txBody.content))
{
this.chart.xAxis.title = "";
......@@ -436,6 +441,8 @@ CChartAsGroup.prototype =
for(var i in title_str)
this.vAxisTitle.txBody.content.Paragraph_Add(new ParaText(title_str[i]), false);
this.chart.yAxis.title = this.vAxisTitle.txBody.content.getTextString();
}
else
{
......@@ -454,9 +461,10 @@ CChartAsGroup.prototype =
content.Content[i].setParent(content);
content.Content[i].setTextPr(new ParaTextPr());
}
}
this.chart.yAxis.title = this.vAxisTitle.txBody.content.getTextString();
}
}
this.recalculate();
},
......
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