Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
a9d1d2f3
Kaydet (Commit)
a9d1d2f3
authored
Ara 13, 2011
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Prefer reference over pointer (when it makes sense).
üst
ccc59bc7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
AreaChart.cxx
chart2/source/view/charttypes/AreaChart.cxx
+9
-9
No files found.
chart2/source/view/charttypes/AreaChart.cxx
Dosyayı görüntüle @
a9d1d2f3
...
...
@@ -647,9 +647,9 @@ void AreaChart::createShapes()
//iterate through all x slots in this category to get 100percent sum
for
(
;
aXSlotIter
!=
aXSlotEnd
;
++
aXSlotIter
)
{
::
std
::
vector
<
VDataSeries
*
>*
pSeriesList
=
&
(
aXSlotIter
->
m_aSeriesVector
)
;
std
::
vector
<
VDataSeries
*>::
iterator
aSeriesIter
=
pSeriesList
->
begin
();
const
std
::
vector
<
VDataSeries
*>::
iterator
aSeriesEnd
=
pSeriesList
->
end
();
std
::
vector
<
VDataSeries
*>&
rSeriesList
=
aXSlotIter
->
m_aSeriesVector
;
std
::
vector
<
VDataSeries
*>::
iterator
aSeriesIter
=
rSeriesList
.
begin
();
const
std
::
vector
<
VDataSeries
*>::
iterator
aSeriesEnd
=
rSeriesList
.
end
();
for
(
;
aSeriesIter
!=
aSeriesEnd
;
++
aSeriesIter
)
{
...
...
@@ -688,9 +688,9 @@ void AreaChart::createShapes()
aXSlotIter
=
aZSlotIter
->
begin
();
for
(
sal_Int32
nX
=
0
;
aXSlotIter
!=
aXSlotEnd
;
++
aXSlotIter
,
++
nX
)
{
::
std
::
vector
<
VDataSeries
*
>*
pSeriesList
=
&
(
aXSlotIter
->
m_aSeriesVector
)
;
::
std
::
vector
<
VDataSeries
*
>::
const_iterator
aSeriesIter
=
pSeriesList
->
begin
();
const
::
std
::
vector
<
VDataSeries
*
>::
const_iterator
aSeriesEnd
=
pSeriesList
->
end
();
std
::
vector
<
VDataSeries
*>&
rSeriesList
=
aXSlotIter
->
m_aSeriesVector
;
std
::
vector
<
VDataSeries
*>::
const_iterator
aSeriesIter
=
rSeriesList
.
begin
();
const
std
::
vector
<
VDataSeries
*>::
const_iterator
aSeriesEnd
=
rSeriesList
.
end
();
std
::
map
<
sal_Int32
,
double
>
aLogicYForNextSeriesMap
;
//one for each different nAttachedAxisIndex
//=============================================================================
...
...
@@ -704,7 +704,7 @@ void AreaChart::createShapes()
/* #i70133# ignore points outside of series length in standard area
charts. Stacked area charts will use missing points as zeros. In
standard charts, pSeriesList contains only one series. */
if
(
m_bArea
&&
(
pSeriesList
->
size
()
==
1
)
&&
(
nIndex
>=
(
*
aSeriesIter
)
->
getTotalPointCount
())
)
if
(
m_bArea
&&
(
rSeriesList
.
size
()
==
1
)
&&
(
nIndex
>=
(
*
aSeriesIter
)
->
getTotalPointCount
())
)
continue
;
uno
::
Reference
<
drawing
::
XShapes
>
xSeriesGroupShape_Shapes
=
getSeriesGroupShapeFrontChild
(
*
aSeriesIter
,
m_xSeriesTarget
);
...
...
@@ -730,7 +730,7 @@ void AreaChart::createShapes()
{
if
(
(
*
aSeriesIter
)
->
getMissingValueTreatment
()
==
::
com
::
sun
::
star
::
chart
::
MissingValueTreatment
::
LEAVE_GAP
)
{
if
(
pSeriesList
->
size
()
==
1
||
nSeriesIndex
==
0
)
if
(
rSeriesList
.
size
()
==
1
||
nSeriesIndex
==
0
)
{
fLogicY
=
pPosHelper
->
getLogicMinY
();
if
(
!
pPosHelper
->
isMathematicalOrientationY
()
)
...
...
@@ -741,7 +741,7 @@ void AreaChart::createShapes()
}
}
if
(
m_nDimension
==
3
&&
m_bArea
&&
pSeriesList
->
size
()
!=
1
)
if
(
m_nDimension
==
3
&&
m_bArea
&&
rSeriesList
.
size
()
!=
1
)
fLogicY
=
fabs
(
fLogicY
);
if
(
pPosHelper
->
isPercentY
()
&&
!::
rtl
::
math
::
approxEqual
(
aLogicYSumMap
[
nAttachedAxisIndex
],
0.0
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment