diff options
author | Rafael Dominguez <venccsralph@gmail.com> | 2012-03-16 18:36:56 +0000 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-03-23 02:55:30 +0100 |
commit | 7eee4ece6822b99a90738bd4616023795294916d (patch) | |
tree | 53246d3dfd64a9377db521f1db1cf1726392e2a6 /chart2 | |
parent | 34cadd6397c6d1767bba431450976d4f4f0b100c (diff) |
Enable statistics if chart has any type of errorbars.
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/dialogs/dlg_ObjectProperties.cxx | 5 |
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 ) |