[apps/regression] When predicting regression, select the line instead of

dots

Change-Id: Ia86c06fa64af8aec68ea9b53ba8534e58be1b64b
This commit is contained in:
Émilie Feral
2017-05-19 14:52:17 +02:00
parent c2237c2acc
commit 5259b3ab94
6 changed files with 21 additions and 7 deletions

View File

@@ -12,7 +12,7 @@ GraphController::GraphController(Responder * parentResponder, ButtonRowControlle
m_view(store, m_cursor, &m_bannerView, &m_cursorView),
m_store(store),
m_initialisationParameterController(this, m_store),
m_predictionParameterController(this, m_store, m_cursor),
m_predictionParameterController(this, m_store, m_cursor, this),
m_selectedDotIndex(-1)
{
m_store->setCursor(m_cursor);
@@ -36,6 +36,10 @@ I18n::Message GraphController::emptyMessage() {
return I18n::Message::NoEnoughDataForRegression;
}
void GraphController::selectRegressionCurve() {
m_selectedDotIndex = -1;
}
BannerView * GraphController::bannerView() {
return &m_bannerView;
}