summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorRafael Dominguez <venccsralph@gmail.com>2012-03-16 18:36:56 +0000
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-03-23 02:55:30 +0100
commit7eee4ece6822b99a90738bd4616023795294916d (patch)
tree53246d3dfd64a9377db521f1db1cf1726392e2a6 /chart2
parent34cadd6397c6d1767bba431450976d4f4f0b100c (diff)
Enable statistics if chart has any type of errorbars.
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/dialogs/dlg_ObjectProperties.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx b/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx
index ee478ac93053..cd6b1f05cfac 100644
--- a/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx
+++ b/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx
@@ -160,7 +160,10 @@ void ObjectPropertiesDialogParameter::init( const uno::Reference< frame::XModel
}
}
- if( OBJECTTYPE_DATA_ERRORS == m_eObjectType )
+ if( OBJECTTYPE_DATA_ERRORS == m_eObjectType ||
+ m_eObjectType == OBJECTTYPE_DATA_ERRORS_X ||
+ m_eObjectType == OBJECTTYPE_DATA_ERRORS_Y ||
+ m_eObjectType == OBJECTTYPE_DATA_ERRORS_Z)
m_bHasStatisticProperties = true;
if( OBJECTTYPE_AXIS == m_eObjectType )