Commit Graph

38 Commits

Author SHA1 Message Date
Quentin Guidée
d50511f1be [Fix] Fix conflicts 2020-03-11 19:12:20 +01:00
Léa Saviot
8168a125e6 [apps/statistics] Remove unused variable in HistogramView
It is unused as HistogramView now inherits Shared::HorizontallyLabeledCurveView
2020-03-11 13:58:41 +01:00
Romain Goyet
2bf83c43a8 [apps/shared] Factorize CurveView::label
There was a lot of code duplication.
I removed the initialization of xLabel{} and yLabels{} because those are
scratch buffers that shouldn't be accessed before being written to
anyway.
2020-03-11 09:51:33 +01:00
Quentin Guidée
058e0552fa Omega theme finished 2019-11-30 22:59:33 +01:00
Quentin Guidée
cd604bcb53 Omega Theme: some fixes 2019-11-29 22:11:35 +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
Émilie Feral
e56cfa3f94 [shared] Fix the buffer size of curve view labels 2018-11-30 09:40:15 +01:00
Lionel Debroux
1a8c6b6ae9 [poincare, escher, ion, apps] Split the huge umbrella header poincare.h, to reduce build time.
This should be a NFC, but surprisingly, it also reduces size... so what does it change ?
2018-10-23 11:49:09 +02:00
Léa Saviot
e0518ecaf9 [apps/stats] Remove histogram blinking 2018-06-11 13:58:23 +02:00
Léa Saviot
ac59105a46 [apps/stats] Display the labels of the bottom histogram only 2018-05-29 15:34:49 +02:00
Léa Saviot
9c1c16c8dd [apps/stats] Color the histogram 2018-05-29 15:34:49 +02:00
Léa Saviot
c84fd45b97 [apps/statistics] Show several histograms 2018-05-29 15:34:49 +02:00
Émilie Feral
ef8f5e07c2 [apps] In CurveView, replace the virtual method evaluateModelWithParameter by a function given as parameter (to be able to call Curve view methods with different implementation of evaluateModelWithParameter) 2018-01-30 18:19:27 +01:00
Émilie Feral
f0a776a670 [apps] Operations in double when precision required
Change-Id: I7168a861a76178f0bf81841e9378f7399f67914a
2017-08-17 09:31:53 +02:00
Émilie Feral
82e212e771 [poincare] Template for double
Change-Id: I7404bd5cefc9ef78a5dbd572c3874a557cded28e
2017-08-16 09:55:29 +02:00
Émilie Feral
23026b6718 [apps/shared] Namespace shared
Change-Id: I6dec7ce900bb4e801a25c567fe5e242cb744cf29
2017-02-13 17:15:06 +01:00
Émilie Feral
b06c54856f [apps\shared] Create a folder shared/
Change-Id: I94e4474ff5ab3bf9db7afd5b3be57b985755ecdf
2017-02-13 17:15:06 +01:00
Émilie Feral
69e46f4958 [poincare] Namespace Poincare
Change-Id: I51a84fa7978ba16f128cfe1d32c390970f2037e8
2017-02-13 17:15:06 +01:00
Émilie Feral
676bd46f33 [poincare] Expand numbers to complex numbers
Change-Id: I2e7cf5240e184da45b656ee4f121ad76aabfd1c7
2017-02-13 17:15:03 +01:00
Émilie Feral
c3008ca360 [apps] Improvements of MVC structure regarding curve views and ranges
Change-Id: Iec8031dbf349c34c18694dffabd02ef9c88ebf2d
2017-01-18 14:31:42 +01:00
Émilie Feral
c19ecaeebe [apps] In curve view, avoid to reload the whole view when reloading
cursor

Change-Id: Ie8c0e100159201cc6b11122eeb567c68092a7b06
2017-01-15 20:09:18 +01:00
Émilie Feral
a74eef903a [poincare] Redesign Float::convertTotext
Change-Id: Id27d9472147b5e443ee296feca891392fad735c8
2017-01-15 20:04:59 +01:00
Émilie Feral
affda5eae9 [apps] Modular reimplementation of application models (stores and
ranges) and of curve views/curve view controllers.

Change-Id: If4ca9bf1bec024917ef540a3fc7baefa8700f7ba
2017-01-10 13:35:19 +01:00
Émilie Feral
6e9528103b [apps] Factorize banner view implementation.
Change-Id: Iedc4350d2bed0f1b1c597c2492e028293f58d5f2
2017-01-09 15:08:56 +01:00
Émilie Feral
b17222112a [apps] Change model data -> float pair store.
Change-Id: I72d5291f3168f2588e2a955476724ce95e32e6f5
2017-01-09 15:08:56 +01:00
Émilie Feral
2293d9f933 [apps] Factorize the reload methods in all subclasses of curve view
Change-Id: I77e04df7ab36b46582c221f7e07797e6d1bce0e2
2017-01-09 15:08:55 +01:00
Émilie Feral
aec9f8db2a [apps] Delete redundant constexpr definition
Change-Id: Ibc72723a576cc69a692b2dc263576a4d0d9d8161
2017-01-09 15:08:55 +01:00
Émilie Feral
852a6146e8 [apps] Rename methods in curve view with banner
Change-Id: I676ea90c241de1ade692fa04ee9c1daa89f3480f
2017-01-09 15:08:54 +01:00
Émilie Feral
77b4187888 [apps/statistics] Change name: banner view -> histogram banner view
Change-Id: Ib8b864b7b17f7cd3ad028701380bf949a0915876
2017-01-09 15:08:54 +01:00
Émilie Feral
ad93c1efd2 [apps/statistics] Make histogram view and box view inherits from curve
view with banner

Change-Id: Iab25cb2442ee7b20a97dfa4e4fce9742f16e5a96
2017-01-09 15:08:54 +01:00
Émilie Feral
699ee7ddc5 [apps] CHange name in curve view:
evaluateCurveAtAbscissa->evaluateModelWithParameter

Change-Id: Iface679b85d20fc59e8197eb14b516ad86d97862
2017-01-09 15:08:54 +01:00
Émilie Feral
e8bb416bec [apps] In cuve view, always put KDContext and KDRect as first parameters
Change-Id: I606f6bbe798fba9c75cd98e8857cd020b0eb0ca0
2017-01-09 15:08:54 +01:00
Émilie Feral
1719569b65 [apps/statistics] Optimize the dirty tracking of histogram
Change-Id: I1f4a05729bce0cd4131692ef3f1112a03e73c005
2017-01-09 15:08:53 +01:00
Émilie Feral
cb042957af [apps/statistics] Display the banner below the histogram
Change-Id: I4e4c2aba6ac286de932a6d52b653c59cb1a1b565
2017-01-09 15:08:53 +01:00
Émilie Feral
434906bbdb [apps/statistics] Update the data model to handle the bin selection and
th window scrolling

Change-Id: Iee2fe9e3f7f11d8b5c146aca9167f36f2d040d83
2017-01-09 15:08:53 +01:00
Émilie Feral
4c66e820d0 [apps/statistics] Handle bin selection in histogram controller
Change-Id: Ie6c8c99087b99b6d16cbdd4463875c187963077f
2017-01-09 15:08:53 +01:00
Émilie Feral
aef540efb6 [apps/statistics] Create a histogram view inheriting from cruve view
Change-Id: I7e6d027e50ec040e1fe6ee6354d9275dc3a025d9
2017-01-09 15:08:53 +01:00