diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-06-26 16:18:52 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-06-27 05:59:50 +0200 |
commit | 59c2e0487473508335924c2195759d9bcd9fb3a3 (patch) | |
tree | d2b1795d306d923c6f1e76f6e12ce9fa020c50b6 /sc/inc/colorscale.hxx | |
parent | 46b8dbda43c365abf84717014c478d42f4007e53 (diff) |
support colored axis in data bars
Change-Id: Ie74404b35e31a2f96641abb18a9aaf46467e31c0
Diffstat (limited to 'sc/inc/colorscale.hxx')
-rw-r--r-- | sc/inc/colorscale.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sc/inc/colorscale.hxx b/sc/inc/colorscale.hxx index 72349dc95b34..24aa2ea3c027 100644 --- a/sc/inc/colorscale.hxx +++ b/sc/inc/colorscale.hxx @@ -99,6 +99,7 @@ enum ScAxisPostion struct SC_DLLPUBLIC ScDataBarFormatData { ScDataBarFormatData(): + maAxisColor(COL_BLACK), mbGradient(true), mbNeg(true), meAxisPosition(databar::AUTOMATIC), @@ -106,6 +107,7 @@ struct SC_DLLPUBLIC ScDataBarFormatData ScDataBarFormatData(const ScDataBarFormatData& r): maPositiveColor(r.maPositiveColor), + maAxisColor(r.maAxisColor), mbGradient(r.mbGradient), mbNeg(r.mbNeg), meAxisPosition(r.meAxisPosition), @@ -131,6 +133,11 @@ struct SC_DLLPUBLIC ScDataBarFormatData */ boost::scoped_ptr<Color> mpNegativeColor; /** + * Color of the axis if used + * Default color is black + */ + Color maAxisColor; + /** * Paint the bars with gradient. If this is used the default is to draw with * borders. * |