summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-10-09 17:37:38 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-10-09 17:48:26 -0400
commit5aa51c08cd697ed22b16903926b3b43d5a978514 (patch)
tree8e34facef3db37f51ecdaa898fd05228649faa4e /chart2
parent700ed579f9db3958b22df90558db358cac899452 (diff)
Description for m_aAllTickInfos.
Especially wrt why it is nested vectors. Change-Id: I143785778ef62abbdc047a2d18c713f43a6522d9
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/axes/VAxisBase.hxx11
1 files changed, 10 insertions, 1 deletions
diff --git a/chart2/source/view/axes/VAxisBase.hxx b/chart2/source/view/axes/VAxisBase.hxx
index b27c60487dc4..a53341abd2fa 100644
--- a/chart2/source/view/axes/VAxisBase.hxx
+++ b/chart2/source/view/axes/VAxisBase.hxx
@@ -87,7 +87,16 @@ protected: //member
::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapes > m_xGroupShape_Shapes;
::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapes > m_xTextTarget;
- ::std::vector< ::std::vector< TickInfo > > m_aAllTickInfos;
+ /**
+ * This typically consists of 2 TickInfo vectors (i.e. the outer vector
+ * has 2 child vector elements) for normal axis. The first vector
+ * corresponds with the major ticks while the second corresponds with the
+ * minor ticks.
+ *
+ * It may have more than 2 TickInfo vectors for complex category axis
+ * which has multi-level axis labels.
+ */
+ std::vector< std::vector<TickInfo> > m_aAllTickInfos;
bool m_bReCreateAllTickInfos;
bool m_bRecordMaximumTextSize;