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
acfabbf0
Kaydet (Commit)
acfabbf0
authored
Eki 10, 2014
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
prepareScaleAutomatismForDimensionAndIndex -> prepareAutomaticAxisScaling.
Change-Id: Ic66d2fcf78603bdd4fa1e08933900f49c66384b7
üst
2ba6c00d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
VCoordinateSystem.cxx
chart2/source/view/axes/VCoordinateSystem.cxx
+1
-1
VCoordinateSystem.hxx
chart2/source/view/inc/VCoordinateSystem.hxx
+1
-1
ChartView.cxx
chart2/source/view/main/ChartView.cxx
+2
-2
No files found.
chart2/source/view/axes/VCoordinateSystem.cxx
Dosyayı görüntüle @
acfabbf0
...
@@ -356,7 +356,7 @@ void VCoordinateSystem::updateScalesAndIncrementsOnAxes()
...
@@ -356,7 +356,7 @@ void VCoordinateSystem::updateScalesAndIncrementsOnAxes()
{
{
}
}
void
VCoordinateSystem
::
prepare
ScaleAutomatismForDimensionAndIndex
(
ScaleAutomatism
&
rScaleAutomatism
,
sal_Int32
nDimIndex
,
sal_Int32
nAxisIndex
)
void
VCoordinateSystem
::
prepare
AutomaticAxisScaling
(
ScaleAutomatism
&
rScaleAutomatism
,
sal_Int32
nDimIndex
,
sal_Int32
nAxisIndex
)
{
{
if
(
rScaleAutomatism
.
getScale
().
AxisType
==
AxisType
::
DATE
&&
nDimIndex
==
0
)
if
(
rScaleAutomatism
.
getScale
().
AxisType
==
AxisType
::
DATE
&&
nDimIndex
==
0
)
{
{
...
...
chart2/source/view/inc/VCoordinateSystem.hxx
Dosyayı görüntüle @
acfabbf0
...
@@ -86,7 +86,7 @@ public:
...
@@ -86,7 +86,7 @@ public:
bool
hasMinimumAndMaximumSupplier
(
MinimumAndMaximumSupplier
*
pMinimumAndMaximumSupplier
);
bool
hasMinimumAndMaximumSupplier
(
MinimumAndMaximumSupplier
*
pMinimumAndMaximumSupplier
);
void
clearMinimumAndMaximumSupplierList
();
void
clearMinimumAndMaximumSupplierList
();
void
prepare
ScaleAutomatismForDimensionAndIndex
(
ScaleAutomatism
&
rScaleAutomatism
,
sal_Int32
nDimIndex
,
sal_Int32
nAxisIndex
);
void
prepare
AutomaticAxisScaling
(
ScaleAutomatism
&
rScaleAutomatism
,
sal_Int32
nDimIndex
,
sal_Int32
nAxisIndex
);
void
setExplicitScaleAndIncrement
(
sal_Int32
nDimensionIndex
,
sal_Int32
nAxisIndex
void
setExplicitScaleAndIncrement
(
sal_Int32
nDimensionIndex
,
sal_Int32
nAxisIndex
,
const
ExplicitScaleData
&
rExplicitScale
,
const
ExplicitScaleData
&
rExplicitScale
...
...
chart2/source/view/main/ChartView.cxx
Dosyayı görüntüle @
acfabbf0
...
@@ -227,7 +227,7 @@ void AxisUsage::prepareAutomaticAxisScaling( ScaleAutomatism& rScaleAutomatism,
...
@@ -227,7 +227,7 @@ void AxisUsage::prepareAutomaticAxisScaling( ScaleAutomatism& rScaleAutomatism,
{
{
std
::
vector
<
VCoordinateSystem
*>
aVCooSysList
=
getCoordinateSystems
(
nDimIndex
,
nAxisIndex
);
std
::
vector
<
VCoordinateSystem
*>
aVCooSysList
=
getCoordinateSystems
(
nDimIndex
,
nAxisIndex
);
for
(
size_t
i
=
0
,
n
=
aVCooSysList
.
size
();
i
<
n
;
++
i
)
for
(
size_t
i
=
0
,
n
=
aVCooSysList
.
size
();
i
<
n
;
++
i
)
aVCooSysList
[
i
]
->
prepare
ScaleAutomatismForDimensionAndIndex
(
rScaleAutomatism
,
nDimIndex
,
nAxisIndex
);
aVCooSysList
[
i
]
->
prepare
AutomaticAxisScaling
(
rScaleAutomatism
,
nDimIndex
,
nAxisIndex
);
}
}
void
AxisUsage
::
setExplicitScaleAndIncrement
(
void
AxisUsage
::
setExplicitScaleAndIncrement
(
...
@@ -793,7 +793,7 @@ void SeriesPlotterContainer::AdaptScaleOfYAxisWithoutAttachedSeries( ChartModel&
...
@@ -793,7 +793,7 @@ void SeriesPlotterContainer::AdaptScaleOfYAxisWithoutAttachedSeries( ChartModel&
{
{
for
(
size_t
nC
=
0
;
nC
<
aVCooSysList_Y
.
size
();
++
nC
)
for
(
size_t
nC
=
0
;
nC
<
aVCooSysList_Y
.
size
();
++
nC
)
{
{
aVCooSysList_Y
[
nC
]
->
prepare
ScaleAutomatismForDimensionAndIndex
(
rAxisUsage
.
aAutoScaling
,
1
,
nAttachedAxisIndex
);
aVCooSysList_Y
[
nC
]
->
prepare
AutomaticAxisScaling
(
rAxisUsage
.
aAutoScaling
,
1
,
nAttachedAxisIndex
);
ExplicitScaleData
aExplicitScaleSource
=
aVCooSysList_Y
[
nC
]
->
getExplicitScale
(
1
,
nAttachedAxisIndex
);
ExplicitScaleData
aExplicitScaleSource
=
aVCooSysList_Y
[
nC
]
->
getExplicitScale
(
1
,
nAttachedAxisIndex
);
ExplicitIncrementData
aExplicitIncrementSource
=
aVCooSysList_Y
[
nC
]
->
getExplicitIncrement
(
1
,
nAttachedAxisIndex
);
ExplicitIncrementData
aExplicitIncrementSource
=
aVCooSysList_Y
[
nC
]
->
getExplicitIncrement
(
1
,
nAttachedAxisIndex
);
...
...
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