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
168f2657
Kaydet (Commit)
168f2657
authored
Nis 15, 2014
tarafından
Markus Mohrhard
Kaydeden (comit)
Markus Mohrhard
Nis 15, 2014
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove some crap that should not have been pushed
Change-Id: I92b9aa565fc04fb095cedc2a89df468b2f568ea1
üst
d67554eb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
83 deletions
+0
-83
DataSeriesState.hxx
chart2/inc/DataSeriesState.hxx
+0
-81
AbstractShapeFactory.hxx
chart2/source/view/inc/AbstractShapeFactory.hxx
+0
-2
No files found.
chart2/inc/DataSeriesState.hxx
deleted
100644 → 0
Dosyayı görüntüle @
d67554eb
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef DATASERIES_HXX
#define DATASERIES_HXX
#include <rtl/ustring.hxx>
#include <mdds/multi_type_vector.hpp>
#include <mdds/multi_type_vector_trait.hpp>
#include <vector>
#include <map>
#include <com/sun/star/uno/Any.h>
#include <com/sun/star/chart/MissingValueTreatment.hpp>
namespace
chart
{
class
DataSequence
{
public
:
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
();
size_t
size
();
double
getValue
(
size_t
nIndex
);
private
:
OUString
maLabel
;
DataSeriesType
maDataSeries
;
};
/**
* point properties overwrite series properties
*/
struct
DataSeriesProperties
{
typedef
std
::
map
<
OUString
,
com
::
sun
::
star
::
uno
::
Any
>
PropertyMap
;
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
;
sal_Int32
eMissingValueTreatment
;
};
struct
Axis
{
double
nMin
;
double
nMax
;
bool
bLog
;
bool
bInverseDirection
;
};
struct
DataSeriesState
{
// length of the data series is min(aXValue.size(), aYValue.size());
DataSequence
aXValue
;
DataSequence
aYValue
;
DataSeriesProperties
aProperties
;
// also contains bubble chart bubble size
// apply values to properties with functor
std
::
map
<
OUString
,
DataSequence
>
aMappedProperties
;
Axis
aXAxis
;
Axis
aYAxis
;
};
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
chart2/source/view/inc/AbstractShapeFactory.hxx
Dosyayı görüntüle @
168f2657
...
...
@@ -29,8 +29,6 @@
#include <rtl/ustring.hxx>
#include "DataSeriesState.hxx"
namespace
chart
{
...
...
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