diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2008-07-30 10:58:15 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2008-07-30 10:58:15 +0000 |
commit | 9c0a95e6fa63b200143c0c8caf554b6c064045c7 (patch) | |
tree | 48467e6d25899865d8862d013bcd1f6172b57f9d /chart2 | |
parent | d06946c3634f9c2e928dff28d60a33f84dbe4f7b (diff) |
INTEGRATION: CWS chart22 (1.29.2); FILE MERGED
2008/07/30 10:18:15 iha 1.29.2.5: RESYNC: (1.31-1.32); FILE MERGED
2008/06/10 11:12:01 iha 1.29.2.4: RESYNC: (1.30-1.31); FILE MERGED
2008/04/17 11:30:30 iha 1.29.2.3: RESYNC: (1.29-1.30); FILE MERGED
2008/02/21 18:00:28 iha 1.29.2.2: #i65549# Plotting of missing values
2008/02/21 17:02:09 iha 1.29.2.1: #i65549# Plotting of missing values
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/main/VDataSeries.cxx | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/chart2/source/view/main/VDataSeries.cxx b/chart2/source/view/main/VDataSeries.cxx index f713f79212a9..0dbd37ec6ef5 100644 --- a/chart2/source/view/main/VDataSeries.cxx +++ b/chart2/source/view/main/VDataSeries.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: VDataSeries.cxx,v $ - * $Revision: 1.32 $ + * $Revision: 1.33 $ * * This file is part of OpenOffice.org. * @@ -39,6 +39,7 @@ #include "ContainerHelper.hxx" #include "MeanValueRegressionCurveCalculator.hxx" +#include <com/sun/star/chart/MissingValueTreatment.hpp> #include <com/sun/star/chart2/Symbol.hpp> //#include "CommonConverters.hxx" @@ -255,6 +256,7 @@ VDataSeries::VDataSeries( const uno::Reference< XDataSeries >& xDataSeries ) , m_apSymbolProperties_AttributedPoint(NULL) , m_apSymbolProperties_InvisibleSymbolForSelection(NULL) , m_nCurrentAttributedPoint(-1) + , m_nMissingValueTreatment(::com::sun::star::chart::MissingValueTreatment::LEAVE_GAP) { ::rtl::math::setNan( & m_fYMeanValue ); @@ -927,6 +929,16 @@ bool VDataSeries::getTextLabelMultiPropertyLists( sal_Int32 index return false; } +void VDataSeries::setMissingValueTreatment( sal_Int32 nMissingValueTreatment ) +{ + m_nMissingValueTreatment = nMissingValueTreatment; +} + +sal_Int32 VDataSeries::getMissingValueTreatment() const +{ + return m_nMissingValueTreatment; +} + //............................................................................. } //namespace chart //............................................................................. |