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
97b7e088
Kaydet (Commit)
97b7e088
authored
Mar 16, 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
Get correct errorbar CID depending on the direction.
üst
7eee4ece
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
8 deletions
+10
-8
VSeriesPlotter.cxx
chart2/source/view/charttypes/VSeriesPlotter.cxx
+5
-4
VDataSeries.hxx
chart2/source/view/inc/VDataSeries.hxx
+1
-1
VSeriesPlotter.hxx
chart2/source/view/inc/VSeriesPlotter.hxx
+1
-1
VDataSeries.cxx
chart2/source/view/main/VDataSeries.cxx
+3
-2
No files found.
chart2/source/view/charttypes/VSeriesPlotter.cxx
Dosyayı görüntüle @
97b7e088
...
@@ -365,13 +365,14 @@ uno::Reference< drawing::XShapes > VSeriesPlotter::getLabelsGroupShape( VDataSer
...
@@ -365,13 +365,14 @@ uno::Reference< drawing::XShapes > VSeriesPlotter::getLabelsGroupShape( VDataSer
}
}
uno
::
Reference
<
drawing
::
XShapes
>
VSeriesPlotter
::
getErrorBarsGroupShape
(
VDataSeries
&
rDataSeries
uno
::
Reference
<
drawing
::
XShapes
>
VSeriesPlotter
::
getErrorBarsGroupShape
(
VDataSeries
&
rDataSeries
,
const
uno
::
Reference
<
drawing
::
XShapes
>&
xTarget
)
,
const
uno
::
Reference
<
drawing
::
XShapes
>&
xTarget
,
bool
bYError
)
{
{
uno
::
Reference
<
drawing
::
XShapes
>
xShapes
(
rDataSeries
.
m_xErrorBarsGroupShape
);
uno
::
Reference
<
drawing
::
XShapes
>
xShapes
(
rDataSeries
.
m_xErrorBarsGroupShape
);
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
()
);
xShapes
=
this
->
createGroupShape
(
xTarget
,
rDataSeries
.
getErrorBarsCID
(
bYError
)
);
rDataSeries
.
m_xErrorBarsGroupShape
=
xShapes
;
rDataSeries
.
m_xErrorBarsGroupShape
=
xShapes
;
}
}
return
xShapes
;
return
xShapes
;
...
@@ -941,7 +942,7 @@ void VSeriesPlotter::createErrorBar_X( const drawing::Position3D& rUnscaledLogic
...
@@ -941,7 +942,7 @@ void VSeriesPlotter::createErrorBar_X( const drawing::Position3D& rUnscaledLogic
if
(
xErrorBarProp
.
is
())
if
(
xErrorBarProp
.
is
())
{
{
uno
::
Reference
<
drawing
::
XShapes
>
xErrorBarsGroup_Shapes
(
uno
::
Reference
<
drawing
::
XShapes
>
xErrorBarsGroup_Shapes
(
this
->
getErrorBarsGroupShape
(
rVDataSeries
,
xTarget
)
);
this
->
getErrorBarsGroupShape
(
rVDataSeries
,
xTarget
,
false
)
);
createErrorBar
(
xErrorBarsGroup_Shapes
createErrorBar
(
xErrorBarsGroup_Shapes
,
rUnscaledLogicPosition
,
xErrorBarProp
,
rUnscaledLogicPosition
,
xErrorBarProp
...
@@ -963,7 +964,7 @@ void VSeriesPlotter::createErrorBar_Y( const drawing::Position3D& rUnscaledLogic
...
@@ -963,7 +964,7 @@ void VSeriesPlotter::createErrorBar_Y( const drawing::Position3D& rUnscaledLogic
if
(
xErrorBarProp
.
is
())
if
(
xErrorBarProp
.
is
())
{
{
uno
::
Reference
<
drawing
::
XShapes
>
xErrorBarsGroup_Shapes
(
uno
::
Reference
<
drawing
::
XShapes
>
xErrorBarsGroup_Shapes
(
this
->
getErrorBarsGroupShape
(
rVDataSeries
,
xTarget
)
);
this
->
getErrorBarsGroupShape
(
rVDataSeries
,
xTarget
,
true
)
);
createErrorBar
(
xErrorBarsGroup_Shapes
createErrorBar
(
xErrorBarsGroup_Shapes
,
rUnscaledLogicPosition
,
xErrorBarProp
,
rUnscaledLogicPosition
,
xErrorBarProp
...
...
chart2/source/view/inc/VDataSeries.hxx
Dosyayı görüntüle @
97b7e088
...
@@ -158,7 +158,7 @@ public:
...
@@ -158,7 +158,7 @@ public:
rtl
::
OUString
getCID
()
const
;
rtl
::
OUString
getCID
()
const
;
rtl
::
OUString
getSeriesParticle
()
const
;
rtl
::
OUString
getSeriesParticle
()
const
;
rtl
::
OUString
getPointCID_Stub
()
const
;
rtl
::
OUString
getPointCID_Stub
()
const
;
rtl
::
OUString
getErrorBarsCID
()
const
;
rtl
::
OUString
getErrorBarsCID
(
bool
bYError
)
const
;
rtl
::
OUString
getLabelsCID
()
const
;
rtl
::
OUString
getLabelsCID
()
const
;
rtl
::
OUString
getLabelCID_Stub
()
const
;
rtl
::
OUString
getLabelCID_Stub
()
const
;
rtl
::
OUString
getDataCurveCID
(
sal_Int32
nCurveIndex
,
bool
bAverageLine
)
const
;
rtl
::
OUString
getDataCurveCID
(
sal_Int32
nCurveIndex
,
bool
bAverageLine
)
const
;
...
...
chart2/source/view/inc/VSeriesPlotter.hxx
Dosyayı görüntüle @
97b7e088
...
@@ -331,7 +331,7 @@ protected: //methods
...
@@ -331,7 +331,7 @@ protected: //methods
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShapes
>
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShapes
>
getErrorBarsGroupShape
(
VDataSeries
&
rDataSeries
getErrorBarsGroupShape
(
VDataSeries
&
rDataSeries
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShapes
>&
xTarget
);
::
com
::
sun
::
star
::
drawing
::
XShapes
>&
xTarget
,
bool
bYError
);
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShape
>
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShape
>
createDataLabel
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
createDataLabel
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
...
...
chart2/source/view/main/VDataSeries.cxx
Dosyayı görüntüle @
97b7e088
...
@@ -393,9 +393,10 @@ rtl::OUString VDataSeries::getPointCID_Stub() const
...
@@ -393,9 +393,10 @@ rtl::OUString VDataSeries::getPointCID_Stub() const
{
{
return
m_aPointCID_Stub
;
return
m_aPointCID_Stub
;
}
}
rtl
::
OUString
VDataSeries
::
getErrorBarsCID
()
const
rtl
::
OUString
VDataSeries
::
getErrorBarsCID
(
bool
bYError
)
const
{
{
rtl
::
OUString
aChildParticle
(
ObjectIdentifier
::
getStringForType
(
OBJECTTYPE_DATA_ERRORS
)
);
rtl
::
OUString
aChildParticle
(
ObjectIdentifier
::
getStringForType
(
bYError
?
OBJECTTYPE_DATA_ERRORS_Y
:
OBJECTTYPE_DATA_ERRORS_X
)
);
aChildParticle
+=
(
C2U
(
"="
));
aChildParticle
+=
(
C2U
(
"="
));
return
ObjectIdentifier
::
createClassifiedIdentifierForParticles
(
return
ObjectIdentifier
::
createClassifiedIdentifierForParticles
(
...
...
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