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
3e6b9080
Kaydet (Commit)
3e6b9080
authored
May 18, 2012
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
show dottet line if axis is not at zero
Change-Id: Ifd1d69a6afe9a0392e08e0f5bb0b1a497e1c2606
üst
56b41a2b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
output.cxx
sc/source/ui/view/output.cxx
+14
-0
No files found.
sc/source/ui/view/output.cxx
Dosyayı görüntüle @
3e6b9080
...
...
@@ -49,6 +49,7 @@
#include <drawinglayer/processor2d/baseprocessor2d.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <svx/sdr/contact/objectcontacttools.hxx>
#include <vcl/lineinfo.hxx>
#include <svx/unoapi.hxx>
#include "output.hxx"
...
...
@@ -832,6 +833,19 @@ void drawDataBars( const ScDataBarInfo* pOldDataBarInfo, OutputDevice* pDev, con
//TODO: improve this for gradient fill
pDev
->
SetFillColor
(
pOldDataBarInfo
->
maColor
);
pDev
->
DrawRect
(
aPaintRect
);
//draw axis
if
(
pOldDataBarInfo
->
mnZero
)
{
Point
aPoint1
(
nPosZero
,
rRect
.
Top
());
Point
aPoint2
(
nPosZero
,
rRect
.
Bottom
());
LineInfo
aLineInfo
(
LINE_DASH
,
1
);
aLineInfo
.
SetDashCount
(
5
);
pDev
->
SetFillColor
(
COL_BLACK
);
pDev
->
SetLineColor
(
COL_BLACK
);
pDev
->
DrawLine
(
aPoint1
,
aPoint2
,
aLineInfo
);
pDev
->
SetLineColor
();
}
}
void
drawCells
(
const
Color
*
pColor
,
const
SvxBrushItem
*
pBackground
,
const
Color
*&
pOldColor
,
const
SvxBrushItem
*&
pOldBackground
,
...
...
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