Commit d1a8f4ab 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@56622 954022d7-b5bf-4e40-9824-e11837661b57
parent 0abb1aee
...@@ -2150,11 +2150,11 @@ ...@@ -2150,11 +2150,11 @@
chartForm.find("#titlesField").show(); chartForm.find("#titlesField").show();
chartForm.find("#legendField").show(); chartForm.find("#legendField").show();
chartForm.find("#typeField").show(); chartForm.find("#typeField").show();
//
function setTitleFont() { showChartFontDialog(chart.asc_getHeader().asc_getFont()) } // function setTitleFont() { showChartFontDialog(chart.asc_getHeader().asc_getFont()) }
function setAxisXFont() { showChartFontDialog(chart.asc_getXAxis().asc_getTitleFont()) } // function setAxisXFont() { showChartFontDialog(chart.asc_getXAxis().asc_getTitleFont()) }
function setAxisYFont() { showChartFontDialog(chart.asc_getYAxis().asc_getTitleFont()) } // function setAxisYFont() { showChartFontDialog(chart.asc_getYAxis().asc_getTitleFont()) }
//
api.asc_setSelectionDialogMode(true); api.asc_setSelectionDialogMode(true);
chartForm.css("visibility", "visible"); chartForm.css("visibility", "visible");
...@@ -2216,7 +2216,7 @@ ...@@ -2216,7 +2216,7 @@
text: "Ok", text: "Ok",
click: function() { click: function() {
var chartForm = $("#chartSelector"); /* var chartForm = $("#chartSelector");
var isSelected = (chart.type != null) && (chart.type != ""); var isSelected = (chart.type != null) && (chart.type != "");
var range = chart.asc_getRange(); var range = chart.asc_getRange();
...@@ -2272,8 +2272,8 @@ ...@@ -2272,8 +2272,8 @@
if (isSelected) if (isSelected)
api.asc_editChartDrawingObject(chart); api.asc_editChartDrawingObject(chart);
else else */
api.asc_addChartDrawingObject(chart); api.asc_addChartDrawingObject(chart);
$(this).dialog("close"); $(this).dialog("close");
} }
}, },
......
...@@ -55,7 +55,9 @@ CChartSpace.prototype.setRecalculateInfo = function() ...@@ -55,7 +55,9 @@ CChartSpace.prototype.setRecalculateInfo = function()
recalculateUpDownBars: true, recalculateUpDownBars: true,
recalculateLegend: true, recalculateLegend: true,
recalculateReferences: true, recalculateReferences: true,
recalculateBBox: true recalculateBBox: true,
recalculateFormulas: true,
recalculatePenBrush: true
}; };
this.baseColors = []; this.baseColors = [];
this.bounds = {l: 0, t: 0, r: 0, b:0, w: 0, h:0}; this.bounds = {l: 0, t: 0, r: 0, b:0, w: 0, h:0};
......
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