Commit 1be1b3b1 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Bug 27284 - Не происходит смены Series Name/Category Name/Value у диаграммы типа Bar/Column

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59290 954022d7-b5bf-4e40-9824-e11837661b57
parent c5b78494
...@@ -2417,6 +2417,7 @@ DrawingObjectsController.prototype = ...@@ -2417,6 +2417,7 @@ DrawingObjectsController.prototype =
var d_lbls = new CDLbls(); var d_lbls = new CDLbls();
d_lbls.setShowVal(true); d_lbls.setShowVal(true);
chart_type.setDLbls(d_lbls); chart_type.setDLbls(d_lbls);
chart_type.dLbls.setParent(chart_type);
} }
var finish_dlbl_pos = DLBL_POS_DEFINES_MAP[data_labels_pos_setting]; var finish_dlbl_pos = DLBL_POS_DEFINES_MAP[data_labels_pos_setting];
//var DLBL_POS_DEFINES_MAP = []; //var DLBL_POS_DEFINES_MAP = [];
...@@ -2499,7 +2500,10 @@ DrawingObjectsController.prototype = ...@@ -2499,7 +2500,10 @@ DrawingObjectsController.prototype =
{ {
chartType.removeDataLabels(); chartType.removeDataLabels();
if(!chartType.dLbls) if(!chartType.dLbls)
{
chartType.setDLbls(new CDLbls()); chartType.setDLbls(new CDLbls());
chartType.dLbls.setParent(chartType);
}
return chartType.dLbls; return chartType.dLbls;
}; };
if(isRealBool(chartSettings.showCatName)) if(isRealBool(chartSettings.showCatName))
......
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