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
581978b9
Kaydet (Commit)
581978b9
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
Get correct datasource when calculating errorbar length.
üst
6294d8f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
VSeriesPlotter.cxx
chart2/source/view/charttypes/VSeriesPlotter.cxx
+5
-4
No files found.
chart2/source/view/charttypes/VSeriesPlotter.cxx
Dosyayı görüntüle @
581978b9
...
@@ -637,7 +637,8 @@ double lcl_getErrorBarLogicLength(
...
@@ -637,7 +637,8 @@ double lcl_getErrorBarLogicLength(
uno
::
Reference
<
beans
::
XPropertySet
>
xProp
,
uno
::
Reference
<
beans
::
XPropertySet
>
xProp
,
sal_Int32
nErrorBarStyle
,
sal_Int32
nErrorBarStyle
,
sal_Int32
nIndex
,
sal_Int32
nIndex
,
bool
bPositive
)
bool
bPositive
,
bool
bYError
)
{
{
double
fResult
;
double
fResult
;
::
rtl
::
math
::
setNan
(
&
fResult
);
::
rtl
::
math
::
setNan
(
&
fResult
);
...
@@ -706,7 +707,7 @@ double lcl_getErrorBarLogicLength(
...
@@ -706,7 +707,7 @@ double lcl_getErrorBarLogicLength(
uno
::
Reference
<
chart2
::
data
::
XDataSource
>
xErrorBarData
(
xProp
,
uno
::
UNO_QUERY
);
uno
::
Reference
<
chart2
::
data
::
XDataSource
>
xErrorBarData
(
xProp
,
uno
::
UNO_QUERY
);
if
(
xErrorBarData
.
is
())
if
(
xErrorBarData
.
is
())
fResult
=
StatisticsHelper
::
getErrorFromDataSource
(
fResult
=
StatisticsHelper
::
getErrorFromDataSource
(
xErrorBarData
,
nIndex
,
bPositive
);
xErrorBarData
,
nIndex
,
bPositive
,
bYError
);
}
}
break
;
break
;
}
}
...
@@ -851,7 +852,7 @@ void VSeriesPlotter::createErrorBar(
...
@@ -851,7 +852,7 @@ void VSeriesPlotter::createErrorBar(
if
(
bShowPositive
)
if
(
bShowPositive
)
{
{
double
fLength
=
lcl_getErrorBarLogicLength
(
aData
,
xErrorBarProperties
,
nErrorBarStyle
,
nIndex
,
true
);
double
fLength
=
lcl_getErrorBarLogicLength
(
aData
,
xErrorBarProperties
,
nErrorBarStyle
,
nIndex
,
true
,
bYError
);
if
(
::
rtl
::
math
::
isFinite
(
fLength
)
)
if
(
::
rtl
::
math
::
isFinite
(
fLength
)
)
{
{
double
fLocalX
=
fX
;
double
fLocalX
=
fX
;
...
@@ -874,7 +875,7 @@ void VSeriesPlotter::createErrorBar(
...
@@ -874,7 +875,7 @@ void VSeriesPlotter::createErrorBar(
if
(
bShowNegative
)
if
(
bShowNegative
)
{
{
double
fLength
=
lcl_getErrorBarLogicLength
(
aData
,
xErrorBarProperties
,
nErrorBarStyle
,
nIndex
,
false
);
double
fLength
=
lcl_getErrorBarLogicLength
(
aData
,
xErrorBarProperties
,
nErrorBarStyle
,
nIndex
,
false
,
bYError
);
if
(
::
rtl
::
math
::
isFinite
(
fLength
)
)
if
(
::
rtl
::
math
::
isFinite
(
fLength
)
)
{
{
double
fLocalX
=
fX
;
double
fLocalX
=
fX
;
...
...
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