From 59c2e0487473508335924c2195759d9bcd9fb3a3 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Tue, 26 Jun 2012 16:18:52 +0200 Subject: support colored axis in data bars Change-Id: Ie74404b35e31a2f96641abb18a9aaf46467e31c0 --- sc/inc/colorscale.hxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sc/inc/colorscale.hxx') 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), @@ -130,6 +132,11 @@ struct SC_DLLPUBLIC ScDataBarFormatData * Default color is 0xFF0000, this value is not set */ boost::scoped_ptr 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. -- cgit