From e0b0a0fa43ef51a3e5a4d5a335a43673f1a6b288 Mon Sep 17 00:00:00 2001 From: "Sergey.Luzyanin" <Sergey.Luzyanin@OnlyOffice.com> Date: Wed, 29 Oct 2014 09:11:09 +0000 Subject: [PATCH] =?UTF-8?q?Bug=2027284=20-=20=D0=9D=D0=B5=20=D0=BF=D1=80?= =?UTF-8?q?=D0=BE=D0=B8=D1=81=D1=85=D0=BE=D0=B4=D0=B8=D1=82=20=D1=81=D0=BC?= =?UTF-8?q?=D0=B5=D0=BD=D1=8B=20Series=20Name/Category=20Name/Value=20?= =?UTF-8?q?=D1=83=20=D0=B4=D0=B8=D0=B0=D0=B3=D1=80=D0=B0=D0=BC=D0=BC=D1=8B?= =?UTF-8?q?=20=D1=82=D0=B8=D0=BF=D0=B0=20Bar/Column?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59290 954022d7-b5bf-4e40-9824-e11837661b57 --- Common/Drawings/CommonController.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Common/Drawings/CommonController.js b/Common/Drawings/CommonController.js index 13a1dfe8a..33abeb774 100644 --- a/Common/Drawings/CommonController.js +++ b/Common/Drawings/CommonController.js @@ -2417,6 +2417,7 @@ DrawingObjectsController.prototype = var d_lbls = new CDLbls(); d_lbls.setShowVal(true); chart_type.setDLbls(d_lbls); + chart_type.dLbls.setParent(chart_type); } var finish_dlbl_pos = DLBL_POS_DEFINES_MAP[data_labels_pos_setting]; //var DLBL_POS_DEFINES_MAP = []; @@ -2499,7 +2500,10 @@ DrawingObjectsController.prototype = { chartType.removeDataLabels(); if(!chartType.dLbls) + { chartType.setDLbls(new CDLbls()); + chartType.dLbls.setParent(chartType); + } return chartType.dLbls; }; if(isRealBool(chartSettings.showCatName)) -- 2.30.9