diff options
author | Balazs Varga <balazs.varga991@gmail.com> | 2019-05-17 11:40:27 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2019-05-18 00:06:28 +0200 |
commit | 75ef0e41ea8a9096ac619356d2b837c5333b47e6 (patch) | |
tree | 3d5b27ef9aa05a39b4098d4bfe092ecbb26d6bf1 /chart2/source/view/axes/VCartesianAxis.hxx | |
parent | 9976aa7b8420daa9f7a5290ae433e2ab338ca146 (diff) |
tdf#125334 Chart: allow text break in bar chart axis labels
Now vertical category axis labels support text breaking.
Change-Id: I8b1c6eff921ea999bc4f745aa5f85bae278e735b
Reviewed-on: https://gerrit.libreoffice.org/72457
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'chart2/source/view/axes/VCartesianAxis.hxx')
-rw-r--r-- | chart2/source/view/axes/VCartesianAxis.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/axes/VCartesianAxis.hxx b/chart2/source/view/axes/VCartesianAxis.hxx index df15e4896198..1c020bc4174c 100644 --- a/chart2/source/view/axes/VCartesianAxis.hxx +++ b/chart2/source/view/axes/VCartesianAxis.hxx @@ -150,7 +150,7 @@ private: //methods * @return true if we can break a single line label text into multiple * lines for better fitting, otherwise false. */ - bool isBreakOfLabelsAllowed( const AxisLabelProperties& rAxisLabelProperties, bool bIsHorizontalAxis ) const; + bool isBreakOfLabelsAllowed( const AxisLabelProperties& rAxisLabelProperties, bool bIsHorizontalAxis, bool bIsVerticalAxis ) const; ::basegfx::B2DVector getScreenPosition( double fLogicX, double fLogicY, double fLogicZ ) const; ScreenPosAndLogicPos getScreenPosAndLogicPos( double fLogicX, double fLogicY, double fLogicZ ) const; |