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
f412f4bc
Kaydet (Commit)
f412f4bc
authored
Mar 17, 2012
tarafından
Rafael Dominguez
Kaydeden (comit)
Markus Mohrhard
Mar 23, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Create separate shape groups for each errorbar type.
üst
c57bb7b5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
5 deletions
+11
-5
VSeriesPlotter.cxx
chart2/source/view/charttypes/VSeriesPlotter.cxx
+5
-2
VDataSeries.hxx
chart2/source/view/inc/VDataSeries.hxx
+2
-1
VDataSeries.cxx
chart2/source/view/main/VDataSeries.cxx
+4
-2
No files found.
chart2/source/view/charttypes/VSeriesPlotter.cxx
Dosyayı görüntüle @
f412f4bc
...
@@ -368,12 +368,15 @@ uno::Reference< drawing::XShapes > VSeriesPlotter::getErrorBarsGroupShape( VData
...
@@ -368,12 +368,15 @@ uno::Reference< drawing::XShapes > VSeriesPlotter::getErrorBarsGroupShape( VData
,
const
uno
::
Reference
<
drawing
::
XShapes
>&
xTarget
,
const
uno
::
Reference
<
drawing
::
XShapes
>&
xTarget
,
bool
bYError
)
,
bool
bYError
)
{
{
uno
::
Reference
<
drawing
::
XShapes
>
xShapes
(
rDataSeries
.
m_xErrorBarsGroupShape
);
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShapes
>
&
rShapeGroup
=
bYError
?
rDataSeries
.
m_xErrorYBarsGroupShape
:
rDataSeries
.
m_xErrorXBarsGroupShape
;
uno
::
Reference
<
drawing
::
XShapes
>
xShapes
(
rShapeGroup
);
if
(
!
xShapes
.
is
())
if
(
!
xShapes
.
is
())
{
{
//create a group shape for this series and add to logic target:
//create a group shape for this series and add to logic target:
xShapes
=
this
->
createGroupShape
(
xTarget
,
rDataSeries
.
getErrorBarsCID
(
bYError
)
);
xShapes
=
this
->
createGroupShape
(
xTarget
,
rDataSeries
.
getErrorBarsCID
(
bYError
)
);
r
DataSeries
.
m_xErrorBarsGroupShape
=
xShapes
;
r
ShapeGroup
=
xShapes
;
}
}
return
xShapes
;
return
xShapes
;
...
...
chart2/source/view/inc/VDataSeries.hxx
Dosyayı görüntüle @
f412f4bc
...
@@ -185,7 +185,8 @@ private: //methods
...
@@ -185,7 +185,8 @@ private: //methods
public
:
//member
public
:
//member
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShapes
>
m_xGroupShape
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShapes
>
m_xGroupShape
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShapes
>
m_xLabelsGroupShape
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShapes
>
m_xLabelsGroupShape
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShapes
>
m_xErrorBarsGroupShape
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShapes
>
m_xErrorXBarsGroupShape
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShapes
>
m_xErrorYBarsGroupShape
;
//the following group shapes will be created as children of m_xGroupShape on demand
//the following group shapes will be created as children of m_xGroupShape on demand
//they can be used to assure that some parts of a series shape are always in front of others (e.g. symbols in front of lines)
//they can be used to assure that some parts of a series shape are always in front of others (e.g. symbols in front of lines)
...
...
chart2/source/view/main/VDataSeries.cxx
Dosyayı görüntüle @
f412f4bc
...
@@ -158,7 +158,8 @@ VDataSeries::VDataSeries( const uno::Reference< XDataSeries >& xDataSeries )
...
@@ -158,7 +158,8 @@ VDataSeries::VDataSeries( const uno::Reference< XDataSeries >& xDataSeries )
,
m_fLogicZPos
(
0.0
)
,
m_fLogicZPos
(
0.0
)
,
m_xGroupShape
(
NULL
)
,
m_xGroupShape
(
NULL
)
,
m_xLabelsGroupShape
(
NULL
)
,
m_xLabelsGroupShape
(
NULL
)
,
m_xErrorBarsGroupShape
(
NULL
)
,
m_xErrorXBarsGroupShape
(
NULL
)
,
m_xErrorYBarsGroupShape
(
NULL
)
,
m_xFrontSubGroupShape
(
NULL
)
,
m_xFrontSubGroupShape
(
NULL
)
,
m_xBackSubGroupShape
(
NULL
)
,
m_xBackSubGroupShape
(
NULL
)
,
m_xDataSeries
(
xDataSeries
)
,
m_xDataSeries
(
xDataSeries
)
...
@@ -333,7 +334,8 @@ void VDataSeries::releaseShapes()
...
@@ -333,7 +334,8 @@ void VDataSeries::releaseShapes()
{
{
m_xGroupShape
.
set
(
0
);
m_xGroupShape
.
set
(
0
);
m_xLabelsGroupShape
.
set
(
0
);
m_xLabelsGroupShape
.
set
(
0
);
m_xErrorBarsGroupShape
.
set
(
0
);
m_xErrorXBarsGroupShape
.
set
(
0
);
m_xErrorYBarsGroupShape
.
set
(
0
);
m_xFrontSubGroupShape
.
set
(
0
);
m_xFrontSubGroupShape
.
set
(
0
);
m_xBackSubGroupShape
.
set
(
0
);
m_xBackSubGroupShape
.
set
(
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