From a6a2feffc024a6af8e44a3a07c9a2f2599bf92bf Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Fri, 7 Dec 2012 19:48:50 -0500 Subject: bnc#791952: Better placement of 3D pie chart data labels. This value appears to control the logical vertical offset of data labels along the z-axis for 3D pie charts (no effect in 2D pie charts). With -0.5, the data labels appear lifted from the top surface of the pie chart. With -1.0, the labels get placed right at the top surface, which improves the precision of data label positions. With this change, data labels that are centered are really centered inside their respective pie segments. Change-Id: I26d5d7cb7f68bd09131b70bcb4fc030ac924bcce --- chart2/source/view/charttypes/PieChart.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chart2') diff --git a/chart2/source/view/charttypes/PieChart.cxx b/chart2/source/view/charttypes/PieChart.cxx index b62d9ae2b92a..fff4e9872ad1 100644 --- a/chart2/source/view/charttypes/PieChart.cxx +++ b/chart2/source/view/charttypes/PieChart.cxx @@ -431,7 +431,7 @@ void PieChart::createShapes() } //create data point - double fLogicZ = -0.5;//as defined + double fLogicZ = -1.0; // For 3D pie chart label position uno::Reference xPointShape( createDataPoint( xSeriesGroupShape_Shapes, xPointProperties , fUnitCircleStartAngleDegree, fUnitCircleWidthAngleDegree -- cgit