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
ebf550d6
Kaydet (Commit)
ebf550d6
authored
Eki 15, 2013
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
some small cosmetic changes
Change-Id: I2bc8c39f91faf6915c4970a002e4030f81c95bc5
üst
a369737c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
DataSeriesState.hxx
chart2/inc/DataSeriesState.hxx
+13
-4
No files found.
chart2/inc/DataSeriesState.hxx
Dosyayı görüntüle @
ebf550d6
...
@@ -20,11 +20,13 @@
...
@@ -20,11 +20,13 @@
namespace
chart
{
namespace
chart
{
class
DataSe
ries
class
DataSe
quence
{
{
public
:
public
:
typedef
mdds
::
multi_type_vector
<
mdds
::
mtv
::
element_block_func
>
DataSeriesType
;
typedef
mdds
::
multi_type_vector
<
mdds
::
mtv
::
element_block_func
>
DataSeriesType
;
// used for fast iteration through data series
// allows to easily skip empty data ranges
DataSeriesType
getDataSeries
();
DataSeriesType
getDataSeries
();
size_t
size
();
size_t
size
();
...
@@ -43,7 +45,11 @@ struct DataSeriesProperties
...
@@ -43,7 +45,11 @@ struct DataSeriesProperties
{
{
typedef
std
::
map
<
OUString
,
com
::
sun
::
star
::
uno
::
Any
>
PropertyMap
;
typedef
std
::
map
<
OUString
,
com
::
sun
::
star
::
uno
::
Any
>
PropertyMap
;
PropertyMap
aSeriesProps
;
PropertyMap
aSeriesProps
;
// we might want to switch to multi_type_vector for better memory usage
// hopefully this vector is empty most of the time
std
::
vector
<
PropertyMap
>
aPointProps
;
std
::
vector
<
PropertyMap
>
aPointProps
;
com
::
sun
::
star
::
chart
::
MissingValueTreatment
eMissingValueTreatment
;
};
};
struct
Axis
struct
Axis
...
@@ -56,10 +62,13 @@ struct Axis
...
@@ -56,10 +62,13 @@ struct Axis
struct
DataSeriesState
struct
DataSeriesState
{
{
DataSeries
aXValue
;
// length of the data series is min(aXValue.size(), aYValue.size());
DataSeries
aYValue
;
DataSequence
aXValue
;
DataSequence
aYValue
;
DataSeriesProperties
aProperties
;
DataSeriesProperties
aProperties
;
std
::
map
<
OUString
,
DataSeries
>
aMapProperties
;
// also contains bubble chart bubble size
// apply values to properties with functor
std
::
map
<
OUString
,
DataSeries
>
aMappedProperties
;
Axis
aXAxis
;
Axis
aXAxis
;
Axis
aYAxis
;
Axis
aYAxis
;
};
};
...
...
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