diff options
author | Ingrid Halama <iha@openoffice.org> | 2004-01-05 19:11:12 +0000 |
---|---|---|
committer | Ingrid Halama <iha@openoffice.org> | 2004-01-05 19:11:12 +0000 |
commit | 313aaec1c1fe53d15133e2c5518fd3bd6c137960 (patch) | |
tree | d2958154205fb20de95ac1bea2b7d54b9293109f /chart2 | |
parent | fe01fdb973447bbb98223ba876c9035ad73b41de (diff) |
no space in the middle of a single ring chart
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/charttypes/PieChart.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chart2/source/view/charttypes/PieChart.cxx b/chart2/source/view/charttypes/PieChart.cxx index 6f7d04f7d237..aaf6a43e5963 100644 --- a/chart2/source/view/charttypes/PieChart.cxx +++ b/chart2/source/view/charttypes/PieChart.cxx @@ -66,6 +66,7 @@ public: private: //member double m_fDepth; +public: //Radius Offset for all rings in absolute logic values (1.0 == 1 category) double m_fRingOffset; @@ -321,6 +322,12 @@ void PieChart::createShapes() uno::Reference< drawing::XShapes > xTextTarget( createGroupShape( m_xLogicTarget,rtl::OUString() )); + if( this->isSingleRingChart() ) + { + m_pPosHelper->m_fRingOffset = 0.0; + m_pPosHelper->m_fRingDistance = 0.0; + } + //--------------------------------------------- //check necessary here that different Y axis can not be stacked in the same group? ... hm? |