Kaydet (Commit) 87956cb7 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

percent and percentile also are relative to the area values

Change-Id: Ia4382cba061905cd7d2d029a26e28ec2b8ee884e
üst f6fdfc36
...@@ -298,7 +298,7 @@ double ScColorScaleFormat::GetMinValue() const ...@@ -298,7 +298,7 @@ double ScColorScaleFormat::GetMinValue() const
{ {
const_iterator itr = maColorScales.begin(); const_iterator itr = maColorScales.begin();
if(itr->GetType() != COLORSCALE_MIN && itr->GetType() != COLORSCALE_AUTOMIN) if(itr->GetType() == COLORSCALE_VALUE || itr->GetType() == COLORSCALE_FORMULA)
return itr->GetValue(); return itr->GetValue();
else else
{ {
...@@ -310,7 +310,7 @@ double ScColorScaleFormat::GetMaxValue() const ...@@ -310,7 +310,7 @@ double ScColorScaleFormat::GetMaxValue() const
{ {
ColorScaleEntries::const_reverse_iterator itr = maColorScales.rbegin(); ColorScaleEntries::const_reverse_iterator itr = maColorScales.rbegin();
if(itr->GetType() != COLORSCALE_MAX && itr->GetType() != COLORSCALE_AUTOMAX) if(itr->GetType() == COLORSCALE_VALUE || itr->GetType() == COLORSCALE_FORMULA)
return itr->GetValue(); return itr->GetValue();
else else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment