From 23c0b3e13f88d6d71d528777d4f86f50c0766672 Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Mon, 1 May 2017 15:10:51 +0200 Subject: tdf#107074 uncommenting createLabels for the axis fixes the issue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Quick fix for this bug seems to be to call createLabels again after creating shapes. The code to position axis label seems to be quite messy it would be better to greatly refactor the code if we want to do any enhancement to this code in the future. Change-Id: I2bc2c3d503944002c538d2d2a5119102c927f3b7 Reviewed-on: https://gerrit.libreoffice.org/37122 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- chart2/source/view/axes/VCartesianAxis.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chart2') diff --git a/chart2/source/view/axes/VCartesianAxis.cxx b/chart2/source/view/axes/VCartesianAxis.cxx index 90348c90fcb9..64ada6d2af09 100644 --- a/chart2/source/view/axes/VCartesianAxis.cxx +++ b/chart2/source/view/axes/VCartesianAxis.cxx @@ -1846,7 +1846,7 @@ void VCartesianAxis::createShapes() } } - //createLabels(); + createLabels(); } } //namespace chart -- cgit