Émilie Feral
a0a93a1287
[regression] GraphController: reinitialize the selected series when
...
displaying graph if the current selected series has been removed
2019-05-09 16:28:36 +02:00
Émilie Feral
c1c280762f
[regression] Add an assertion on the number of entries of matrices used
...
in models
2019-05-03 15:54:22 +02:00
Ruben Dashyan
0f98face6a
[apps] Define InteractiveCurveViewController::selectedCurveIndex
2019-05-03 15:54:22 +02:00
Ruben Dashyan
3d71397949
[apps/shared] XYBannerView contains a TextField
2019-05-03 15:54:22 +02:00
Ruben Dashyan
5ff19a2506
[apps] Define Font, Text/BackgroundColor BannerView static methods
2019-05-03 15:54:21 +02:00
Ruben Dashyan
4d640e2916
[apps] XYBannerView: prepare constructor so the class may contain TextField
2019-05-03 15:54:21 +02:00
Ruben Dashyan
ba6282be45
[apps/shared] Remove InteractiveCurveViewController::didEnterResponderChain
...
In order to avoid reloading after Ion::Events::Toolbox/Var, but only in
viewWillAppear.
The previous behavior was masking a bug in
Regression::GraphController::viewWillAppear where the cursor could be
moved after reloading the bannerView.
2019-05-03 15:54:21 +02:00
Ruben Dashyan
94cf542ba3
[apps] Factorize InteractiveCurveViewController::moveCursorVertically
2019-05-03 15:54:21 +02:00
Ruben Dashyan
f6ceae3b8b
[apps] Factorize SimpleInteractiveCurveView::moveCursorHorizontally
2019-05-03 15:54:21 +02:00
Ruben Dashyan
67f9f79322
[apps] Implement InteractiveCurveViewController::isCursorVisible
...
It was a pure virtual method implemented in derived classes
Shared::FunctionGraphController,
Regression::GraphController.
InteractiveCurveViewRange does not need anymore to hold CurveViewCursor
* m_cursor.
2019-05-03 15:54:21 +02:00
Ruben Dashyan
8629254d9a
[apps] Remove Shared::InteractiveCurveViewController::displayTop/BottomMarginRatio
...
and replace it by the existing cursorTop/BottomMarginRatio.
There was absolutely no reason to use different margin values.
2019-05-03 15:54:21 +02:00
Ruben Dashyan
d8f97d62a4
[apps] Factorize Shared::InteractiveCurveViewController methods
...
cursorBottomMarginRatio(), displayBottomMarginRatio(),
estimatedBannerHeight() and k_viewHeight moved to
Shared::InteractiveCurveViewController from derived classes.
estimatedBannerNumberOfLines() moved from
Shared::FunctionGraphController to
Shared::InteractiveCurveViewController and implemented in
Regresssion::GraphController.
2019-05-03 15:54:21 +02:00
Ruben Dashyan
e13651f6fb
[apps] Remove Shared::InteractiveCurveViewController::initRangeParameters virtual method
2019-05-03 15:54:21 +02:00
Ruben Dashyan
5b6fca8f72
[apps] Replace k_cursorTop/BottomMarginRatio by virtual methods
...
In SimpleInteractiveCurveViewController subclasses.
2019-05-03 15:54:21 +02:00
Ruben Dashyan
696434d38a
[apps] GoToParameterController: remove ForbiddenValue warnings
...
when the controller tries to move the cursor beyond the limit of 1E8.
2019-05-03 15:54:21 +02:00
Ruben Dashyan
355e42734d
[apps] Replace BannerView::set(Legend|Message)AtIndex by getters
2019-05-03 15:54:21 +02:00
Ruben Dashyan
205ae8fec5
[apps] Remove BannerView::messageTextViewAtIndex method
2019-05-03 15:54:21 +02:00
Ruben Dashyan
0d34923dd1
[apps] Graph/Regression/Sequence::BannerView inherit from new Shared::XYBannerView
2019-05-03 15:54:21 +02:00
Ruben Dashyan
236b752f4f
[apps] replace BannerView::textViewAtIndex by subviewAtIndex
2019-05-03 15:54:21 +02:00
Ruben Dashyan
513a4cf852
[apps] BannerView::numberOfSubviews
...
Shared::BannerView::numberOfSubviews made pure virtual.
Define constexpr attributes instead of magic numbers.
Move numberOfSubviews to header file.
2019-05-03 15:54:21 +02:00
Émilie Feral
2217eebaec
[escher] SelectableTableView: when reloading data, we temporary deselect
...
the table. We warn the SelectableTableViewDelegate that the selection
change is 'within a temporary selection change' when notifying it of the
change.
2019-05-03 15:54:21 +02:00
Émilie Feral
da1ee21fd5
[poincare] VerticalOffsetLayout: change name of 'Type' to 'Position'
2019-05-03 15:54:21 +02:00
Léa Saviot
7329b450dc
[apps/reg] Factorize the model layouts fonts
2019-05-03 15:53:21 +02:00
Léa Saviot
c9d548ec8a
[apps/reg] Clean regression models layout creation
2019-05-03 15:53:21 +02:00
Léa Saviot
d2b9bdd616
[unicode] Clean typography (accents, non present glyphs...)
2019-05-03 15:53:20 +02:00
Léa Saviot
bf3e4b0f4b
[i18n] Remove duplicate entry
2019-05-03 15:53:20 +02:00
Léa Saviot
4f63b16e0a
[unicode] Fix portuguese literals
2019-05-03 15:53:20 +02:00
Léo Solé
e74c5f8039
[unicode] Fix Spanish literals
2019-05-03 15:53:19 +02:00
Léo Solé
3038073d3b
[unicode] Add accents in french litterals
2019-05-03 15:53:19 +02:00
Léa Saviot
4c5251f04f
[unicode] Use unicode when dealing with chars - Part 2
2019-05-03 15:53:19 +02:00
Léa Saviot
5df9e0af71
Use correct unicode symbols
2019-05-03 15:53:19 +02:00
Léa Saviot
6765de4598
[apps/regression] Add X bar and Y bar
2019-05-03 15:53:19 +02:00
Léa Saviot
496d346049
Remove max/min inline from KDCoordinate header
2019-05-03 15:53:19 +02:00
Léa Saviot
bbb10f1993
[ion/kandinsky] Move unicode to ion
2019-05-03 15:53:19 +02:00
Léa Saviot
65e5adafac
Remove Ion::Charset
2019-05-03 15:53:19 +02:00
Léa Saviot
f576e31ff1
[apps/poincare] Replace CharLayouts with CodePointLayouts
2019-05-03 15:53:19 +02:00
Léa Saviot
e7d2c61cec
[apps/regression] Increase the iterations limit to compute a regression
...
The exponential regression on the following data now works:
1 120000
3 130000
6 150000
8 160000
2019-04-29 17:24:53 +02:00
Romain Goyet
4f2c7a3763
[build] Update the i18n processing to fit the out-of-tree build
2019-03-06 15:00:59 +01:00
Romain Goyet
4f1d74f44b
[build] Use an out-of-tree build
2019-03-06 15:00:59 +01:00
Émilie Feral
24c9617a89
[poincare] Templatize TreeHandle Builders
2019-02-21 11:29:35 +01:00
Émilie Feral
7b5f3c570d
[poincare] Change the way Expression are built
2019-02-21 11:29:35 +01:00
Émilie Feral
ac6f23684d
[poincare] Clean Expression and Layout builders
...
Before: Opposite(Opposite(Rational(1))) misleadingly created the
expression "-1"; now, Opposite::Builder(Opposite::Builder(Rational(1)))
creates "--1"
2019-02-21 11:29:35 +01:00
Léa Saviot
69105572ef
[apps] Change axes drawing order in curve views
2019-01-10 11:42:05 +01:00
Léa Saviot
335264e944
[apps] Typo: drawAxes is now drawAxis
2019-01-10 11:42:05 +01:00
Léa Saviot
e5f0959239
[poincare] Static Expression methods start with uppercase
2019-01-10 11:42:05 +01:00
Émilie Feral
6021579ae3
[regression] Clean warnings
2019-01-10 11:42:04 +01:00
Émilie Feral
fe8825df35
[shared] PoincareHelpers: update the complexFormat (force it to
...
Cartesian with complex input).
2019-01-10 11:42:04 +01:00
Émilie Feral
ecf3f2ea0f
[poincare] Create a a flag on Expression that is set when the
...
approximation encouters a complex value
All approximation methods take the complex format into account.
2019-01-10 11:42:04 +01:00
Léa Saviot
8c6ffa6d42
[apps] Fix graph X axis labels that read the same
...
Scenario: just zoom in in a graph
Fix:
- Do not truncate labels.
- Label size is computed depending on available size and number of
labels.
- If labels cannot be displayed properly, just display the minimal
and maximal labels!
2019-01-10 11:42:02 +01:00
Léa Saviot
a65bdb1dfc
[apps] Increase the Y axis label buffer sizes in curve views
2019-01-10 11:42:02 +01:00