diff options
author | Rafael Dominguez <venccsralph@gmail.com> | 2012-03-17 10:34:44 +0000 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-03-23 02:55:31 +0100 |
commit | 2713c4bf0f8d4869c7c59ebc479d3140ec55b11a (patch) | |
tree | 3094c27cfeab6cd268252556d05627ff10adf5ff /chart2 | |
parent | 1e27c77338450b0199df7092804e61ea047732cb (diff) |
Determine ranges correctly for any type of chart errorbar object.
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/tools/RangeHighlighter.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chart2/source/tools/RangeHighlighter.cxx b/chart2/source/tools/RangeHighlighter.cxx index d923b5136c2b..4876c4e78dae 100644 --- a/chart2/source/tools/RangeHighlighter.cxx +++ b/chart2/source/tools/RangeHighlighter.cxx @@ -134,7 +134,10 @@ void RangeHighlighter::determineRanges() fillRangesForDataPoint( xDataSeries, nIndex ); return; } - else if( OBJECTTYPE_DATA_ERRORS == eObjectType ) + else if( OBJECTTYPE_DATA_ERRORS == eObjectType || + OBJECTTYPE_DATA_ERRORS_X == eObjectType || + OBJECTTYPE_DATA_ERRORS_Y == eObjectType || + OBJECTTYPE_DATA_ERRORS_Z == eObjectType ) { // select error bar ranges, or data series, if the style is // not set to FROM_DATA |