summaryrefslogtreecommitdiff
path: root/chart2/source/inc/chartview
diff options
context:
space:
mode:
authorTomaž Vajngerl <quikee@gmail.com>2013-11-23 16:06:28 +0100
committerTomaž Vajngerl <quikee@gmail.com>2013-11-24 19:43:16 +0100
commit6f62f3f0af9ae8c1b00d0d620f306cae914a3861 (patch)
tree9e6f39e28706a494db998531e4fd3bc423fc4a8d /chart2/source/inc/chartview
parentf58e03e7bb0016c1ca789f7e7b35933c95378121 (diff)
Custom name for a trend line (shown in legend).
Previously, a trendline name was fixed to a combination of the trendline type and the name of the series. With this it is possible to add a custom name for the trendline, which is shown in the legend. Change-Id: I61eaaf14e6df45088abdf1f3e9c24877d26ae8a7
Diffstat (limited to 'chart2/source/inc/chartview')
-rw-r--r--chart2/source/inc/chartview/ChartSfxItemIds.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/chart2/source/inc/chartview/ChartSfxItemIds.hxx b/chart2/source/inc/chartview/ChartSfxItemIds.hxx
index 2b988481c3cb..7481cc88169a 100644
--- a/chart2/source/inc/chartview/ChartSfxItemIds.hxx
+++ b/chart2/source/inc/chartview/ChartSfxItemIds.hxx
@@ -167,7 +167,8 @@
#define SCHATTR_REGRESSION_EXTRAPOLATE_BACKWARD (SCHATTR_REGRESSION_START + 6)
#define SCHATTR_REGRESSION_SET_INTERCEPT (SCHATTR_REGRESSION_START + 7)
#define SCHATTR_REGRESSION_INTERCEPT_VALUE (SCHATTR_REGRESSION_START + 8)
-#define SCHATTR_REGRESSION_END SCHATTR_REGRESSION_INTERCEPT_VALUE
+#define SCHATTR_REGRESSION_CURVE_NAME (SCHATTR_REGRESSION_START + 9)
+#define SCHATTR_REGRESSION_END SCHATTR_REGRESSION_CURVE_NAME
#define SCHATTR_END SCHATTR_REGRESSION_END