diff options
author | Tomaž Vajngerl <quikee@gmail.com> | 2013-05-27 08:02:37 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2013-07-03 21:46:39 +0200 |
commit | e6a0cc2d6cb37bf4e04861173c7e55b307513778 (patch) | |
tree | 3569da62ea24a3fd4dce7216751692b1a5e79306 /include/svx/chrtitem.hxx | |
parent | c63b74d22d360893bb9e1200f59099ffb7943705 (diff) |
fdo#35712 polynomial and moving average regression lines
- added polynomial and moving average to the dialog
- implemented moving average and polynomal RegressionCurveCalculator
- added icon for polynomial regression curve
- prepare icon for moving average regression curve
- degree parameter for polynomial regression curve
- period parameter for moving average regression curve
- limit the curve to max and min x value
- added extrapolation
Change-Id: I4ebb8dc23a3aff285b999e115fdda20ab11910a5
Diffstat (limited to 'include/svx/chrtitem.hxx')
-rw-r--r-- | include/svx/chrtitem.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/svx/chrtitem.hxx b/include/svx/chrtitem.hxx index 579e176042f9..8ea5c4627f3b 100644 --- a/include/svx/chrtitem.hxx +++ b/include/svx/chrtitem.hxx @@ -155,10 +155,12 @@ enum SvxChartRegress CHREGRESS_LINEAR, CHREGRESS_LOG, CHREGRESS_EXP, - CHREGRESS_POWER + CHREGRESS_POWER, + CHREGRESS_POLYNOMIAL, + CHREGRESS_MOVING_AVERAGE }; -#define CHREGRESS_COUNT (CHREGRESS_POWER + 1) +#define CHREGRESS_COUNT (CHREGRESS_MOVING_AVERAGE + 1) //------------------------------------------------------------------ |