summaryrefslogtreecommitdiff
path: root/chart2/qa
diff options
context:
space:
mode:
authorLaurent Balland-Poirier <laurent.balland-poirier@laposte.net>2016-05-23 21:17:29 +0200
committerjan iversen <jani@documentfoundation.org>2016-06-09 10:23:06 +0000
commit9a9c778d81e8ae54dcc42290241a5fc72be29bf2 (patch)
treea518b7fcd9d18344fb29edeec19bcb570ffc8c90 /chart2/qa
parent19baa61e1d7b140b9e24717f7080617ab3d324d4 (diff)
tdf#94004 Wrap Exponential trendline equation
Wrap equation trendline if it is longer than chart width Continue https://gerrit.libreoffice.org/18397/ Change-Id: I3938aaeec6c56582ecfe50dbfc54ec711f1b963d Reviewed-on: https://gerrit.libreoffice.org/25393 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.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/qa/extras/chart2_trendcalculators.cxx b/chart2/qa/extras/chart2_trendcalculators.cxx
index 0c3b972c3031..04af84869237 100644
--- a/chart2/qa/extras/chart2_trendcalculators.cxx
+++ b/chart2/qa/extras/chart2_trendcalculators.cxx
@@ -199,7 +199,7 @@ void Chart2TrendCalculators::testExponentialRegression2()
xValues[i] = d;
yValues[i] = -2.0 * exp ( 0.3 * d );
}
- checkCalculator( xValues, yValues, "f(x) = -2 exp( 0.3 x )");
+ checkCalculator( xValues, yValues, "f(x) = "+ aMinusSign + " 2 exp( 0.3 x )");
}