summaryrefslogtreecommitdiff
path: root/chart2/source/model
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-08-20 03:14:36 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-08-20 03:15:51 +0200
commit5cabc2c06d9e5dd7c414b79a5728420cf2eb43fe (patch)
treed36ddc11c2ac11fa67ad6bd76096aa7e5dc927fa /chart2/source/model
parente56be085eaf7e3a8e94bea0537ad6f2ae1ba6034 (diff)
make sure that LineColor is supported for data series
Change-Id: I1ae96c7b6adf5a90f96d7dddc20d7fb241e78445
Diffstat (limited to 'chart2/source/model')
-rw-r--r--chart2/source/model/main/DataPointProperties.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/chart2/source/model/main/DataPointProperties.cxx b/chart2/source/model/main/DataPointProperties.cxx
index f09cf47de6b3..8c131837f449 100644
--- a/chart2/source/model/main/DataPointProperties.cxx
+++ b/chart2/source/model/main/DataPointProperties.cxx
@@ -204,6 +204,15 @@ void DataPointProperties::AddPropertiesToVector(
| beans::PropertyAttribute::MAYBEVOID ));
// Line Properties
+
+ rOutProperties.push_back(
+ Property( "LineColor",
+ PROP_DATAPOINT_BORDER_COLOR,
+ cppu::UnoType<sal_Int32>::get(),
+ beans::PropertyAttribute::BOUND
+ | beans::PropertyAttribute::MAYBEVOID
+ | beans::PropertyAttribute::MAYBEDEFAULT ));
+
rOutProperties.push_back(
Property( "LineStyle",
LinePropertiesHelper::PROP_LINE_STYLE,