diff options
author | Laurent Balland-Poirier <laurent.balland-poirier@laposte.net> | 2016-05-24 21:40:57 +0200 |
---|---|---|
committer | jan iversen <jani@documentfoundation.org> | 2016-06-09 11:00:55 +0000 |
commit | e420a335f783bb4d2ee9d74d56f91e16d189566f (patch) | |
tree | 18be16f8b630280cd1c9522a349738ef1cc7f464 /chart2/qa | |
parent | 0159ef4fbfd23ba97b20f97eb0677564bebd4ee7 (diff) |
tdf#94004 Wrap Power trendline equation
Wrap equation trendline if it is longer than chart width
Continue https://gerrit.libreoffice.org/18397/
Change-Id: If805f712a29c412a01209533842f9a6c797cbaf1
Reviewed-on: https://gerrit.libreoffice.org/25418
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'chart2/qa')
-rw-r--r-- | chart2/qa/extras/chart2_trendcalculators.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/qa/extras/chart2_trendcalculators.cxx b/chart2/qa/extras/chart2_trendcalculators.cxx index 04af84869237..ca327f1e2c94 100644 --- a/chart2/qa/extras/chart2_trendcalculators.cxx +++ b/chart2/qa/extras/chart2_trendcalculators.cxx @@ -136,7 +136,7 @@ void Chart2TrendCalculators::testPotentialRegression2() xValues[i] = d; yValues[i] = -2.0 * pow ( d, 3 ); } - checkCalculator( xValues, yValues, "f(x) = -2 x^3"); + checkCalculator( xValues, yValues, "f(x) = "+ aMinusSign +" 2 x^3"); } // test y = - 2 X - 5 |