Commit 7e68153a authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Применение настроек для оси категорий и оси значений.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@54974 954022d7-b5bf-4e40-9824-e11837661b57
parent 1f215953
This diff is collapsed.
......@@ -2741,7 +2741,7 @@ function CreateScatterChart(asc_chart)
pt.setVal(asc_series[i].Val.NumCache[j].val);
num_cache.addPt(pt);
}
//if(parsedHeaders.bTop)
//if(parsedHeaders.bTop)
//{
// series.setCat(new CCat());
// var cat = series.cat;
......@@ -2987,7 +2987,6 @@ function CreateStockChart(asc_chart)
return chart_space;
}
function CreateDefaultAxises(valFormatCode)
{
var cat_ax = new CCatAx();
......
......@@ -1008,6 +1008,14 @@ CTextBody.prototype =
{
this.parent && this.parent.Refresh_RecalcData2(pageIndex);
},
getContentOneStringSizes: function()
{
//TODO: потом переделать
this.content.Reset(0, 0, 20000, 20000);//выставляем большую ширину чтобы текст расчитался в одну строку.
this.content.Recalculate_Page(0, true);
return {w: this.content.Content[0].Lines[0].Ranges[0].W+0.1, h: this.content.Get_SummaryHeight()+0.1};
},
getRectWidth: function(maxWidth)
{
......
......@@ -2556,9 +2556,9 @@ Format
<label>max value</label><input type="radio" name="crossesCat" value="maxValue" id="crossesMaxAxCatInput">
<br>
<label>Axis Position</label><br>
<label>by divisions:</label><input type="radio" id="checkBoxByDivisionsInput" checked="checked">
<label>by divisions:</label><input type="radio" id="checkBoxByDivisionsInput" name="axis_pos_cat">
<br>
<label>between divisions:</label><input type="radio" id="checkBoxBetweenDivisionsInput">
<label>between divisions:</label><input type="radio" id="checkBoxBetweenDivisionsInput" checked="checked" name="axis_pos_cat">
<div style="width: inherit; height: 1px; background: rgb(127,157,185)"></div>
<button id="valApplyCatAxisProps">
Apply Props
......
......@@ -3132,7 +3132,7 @@
else if($("#crossesCatAxValInput").attr("checked"))
{
axis_settings.putCrossesRule(c_oAscCrossesRule.value);
axis_settings.putCrosses($("#crossesCatInput").attr("value"));
axis_settings.putCrosses(parseFloat($("#crossesCatInput").attr("value")));
}
else
{
......
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