Commit Graph

1288 Commits

Author SHA1 Message Date
Émilie Feral
19d57a8897 [apps] Create a class curve view with banner
Change-Id: I49108e9231f97aeed53351e2596b6550568c6314
2017-01-09 15:08:54 +01:00
Émilie Feral
b8eba2c42a [apps/graph/graph] Make the cursor position belong to th emodel
"GraphWindow"

Change-Id: I8cdcda85f0e29e4b678829f39b8bd212cd8d1086
2017-01-09 15:08:54 +01:00
Émilie Feral
6753974724 [apps/statistics] Add a banner to the box page
Change-Id: I26623369cc2fcf192582eb6fb618e1711da4baea
2017-01-09 15:08:54 +01:00
Émilie Feral
b9de56148b [apps/statistics] Create a class banner view
x

Change-Id: Ifad6658d49638739f4875914faeefa10ccba080c
2017-01-09 15:08:54 +01:00
Émilie Feral
035673dc61 [apps/statistics] Make the histogram banner appears and dispapears when
navigating on the histogram page

Change-Id: I2a00f2f29fe462638513af0d3f62394fb2f29e32
2017-01-09 15:08:54 +01:00
Émilie Feral
d1686ecfeb [apps/statistics] Avoid rounding error
Change-Id: I92e2a5d29ac18cbb3559f0cd30eeb9e921b31780
2017-01-09 15:08:54 +01:00
Émilie Feral
95daa6ccc0 [apps/statistics] Unable the user to set the bar width with a INF/ NAN
value

Change-Id: I42963c034a269971c332888839b940ea9bdec3c1
2017-01-09 15:08:54 +01:00
Émilie Feral
8d94b4f26b [apps]Make the curve view margins customisable
Change-Id: I7a632ae9ad98ae0b92a2259fa8465c3aecfbf570
2017-01-09 15:08:54 +01:00
Émilie Feral
63376e100c [apps] Change method names in editable cell table view controller
Change-Id: Ife743d81a0a3293fbfb37c2ed1a5b1be4baf1b39
2017-01-09 15:08:54 +01:00
Émilie Feral
7d8a7527e6 [escher] Simplify the constructor of tab view controller
Change-Id: If430a627c451636e44e8d713f3a902cb5bdeed75
2017-01-09 15:08:54 +01:00
Émilie Feral
5fa64fadcc [apps/probability] Delete useless methods in calculation (type recovery)
Change-Id: I52933b092fd0022153cef4c8ed42ed88c749dd16
2017-01-09 15:08:54 +01:00
Émilie Feral
d4c7656186 [apps/probability] In calculation, add methods: lowerBound and
upperbound

Change-Id: Ieeffe78b40b3a4166a184000de3d8bd05b5da3c0
2017-01-09 15:08:54 +01:00
Émilie Feral
b3593da856 [liba] Delete useless constant HUGE_VALF
Change-Id: Ibc72edb4b5e398bde1ea7df4fceea6c362043281
2017-01-09 15:08:54 +01:00
Émilie Feral
cc6e5f6685 [apps/probability] In binomial law, avoid double cast
Change-Id: I594f70110c1933a04ae4b4f6358821386898a037
2017-01-09 15:08:54 +01:00
Émilie Feral
88166440b0 [apps] In curve view, merge drawDiscreteHistogram and drawHistogram
methods in a unique method

Change-Id: I7093f1c0d639cc77f7e73bddf15fadc5c967823b
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
fecf0eb3a5 [apps/statistics] Change name: barStart -> firsBarAbscissa
Change-Id: Ia5d39ff3d4b8539b9028afd55476a0d310578dde
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
9dc82ab35b [liba] Replace the gamma extern constant file by the open bsd file
Change-Id: I11b6a6912aff05fc31a4a75c27ee5ff3bf5e2dbd
2017-01-09 15:08:54 +01:00
Émilie Feral
22716b55a8 [apps/statistics] In histogram page, unable to change selection when the
header button is selected

Change-Id: Ifa75a747648325adac84264a148390ebf5a2c497
2017-01-09 15:08:54 +01:00
Émilie Feral
97cbd64a59 [apps/statistics] In calculations page, display results in grey
Change-Id: I7070c874f025161f3daae6c18d36ca593972d270
2017-01-09 15:08:54 +01:00
Émilie Feral
fa5abce291 [apps/statistics] Handle selection in box
Change-Id: Id48d4f2af324bd53e8137b66695632f97396a196
2017-01-09 15:08:54 +01:00
Émilie Feral
2dc695bdec [apps/statistics] Display the box view in the box controller
Change-Id: Ib8b1aa35283a29bcbc94dfbe81ef551e42ae353f
2017-01-09 15:08:54 +01:00
Émilie Feral
7e05126d2c [apps/statistics] Create a class box view
Change-Id: I06e04cc701e20b83b9c6569901a6fcca9e963bfd
2017-01-09 15:08:54 +01:00
Émilie Feral
921781cc50 [apps/statistics] Create a model box window inheriting from curve view
window

Change-Id: Ib6bafaeaf10a0f8dbe4a5dfda1c7edd085913c57
2017-01-09 15:08:54 +01:00
Émilie Feral
6d550f2c8d [apps] Add a method draw segment to draw curve view
Change-Id: I770cf498ecb58a0d12a4019278ef4e536cad2401
2017-01-09 15:08:54 +01:00
Émilie Feral
939a2eacb5 [apps/statistics] Improve the calculation page based on the data model
Change-Id: I5b49d3aee0cae503e6bb35079c98d37c943b2458
2017-01-09 15:08:54 +01:00
Émilie Feral
c1dc9b972a [apps/stastistics] Add methods to compute statistics calculation in the
data model

Change-Id: I5c32b9ec391631cefc68996410802adbf6ca1775
2017-01-09 15:08:54 +01:00
Émilie Feral
4ee0d26726 [escher] Add method to set the alignment in event odd buffer text view
Change-Id: I2d16f1b503b48a993ad9c0760a4c8255ea49ff31
2017-01-09 15:08:54 +01:00
Émilie Feral
924b0372d0 [escher][apps] Move value cell class to escher folder renamed even odd
buffer text view

Change-Id: I6c8b8fdcd90d2b6847ec94f65c4b2e64204b52ba
2017-01-09 15:08:54 +01:00
Émilie Feral
43ac44c1b6 [apps/graph/list] Fix error: Avoid editing the button add new function
Change-Id: I4999765eacef9e2bdac5aad467d0cc99d35de2e9
2017-01-09 15:08:54 +01:00
Émilie Feral
014a9dc125 [apps/stastistics] Delete useless stack view controller of the app
Change-Id: Ia9adefffa0058fd422872d0ece83af24e071a0d7
2017-01-09 15:08:54 +01:00
Émilie Feral
50ac7d3fd7 [apps/statistics] Display an empty page in calculation tab if no data to
calculate on

Change-Id: Ib4e0c57485fd1bf3c4e7a1cd07f8f1d63cd17f6d
2017-01-09 15:08:53 +01:00
Émilie Feral
91e168e4ee [apps/statistics] Fix error: writing title text on editable cells
Change-Id: Iac82f14a7e83620a968084489ede27350bfdfdef
2017-01-09 15:08:53 +01:00
Émilie Feral
1de9e3d4b3 [apps/statisstics] Avoid displaying histogram or box when all data have
0 size

Change-Id: I14206cab379d5560e66360b0131e5a939ad9ad29
2017-01-09 15:08:53 +01:00
Émilie Feral
fd8613ac7a [apps/statistics] Redesign data API with Romain
Change-Id: I666125ae85e04311806379a4ec2255c256f253f2
2017-01-09 15:08:53 +01:00
Émilie Feral
a9433779a3 [apps/statistics] Give the data model to the box controller
Change-Id: I2ccb0747853675b9a4b9a89b091767c6f75570ac
2017-01-09 15:08:53 +01:00
Émilie Feral
3c7ac73c5e [apps/statistics] Throw an error when the user set a negative value as
bin width

Change-Id: I0203ce403e469f4616af74399e451f6ed41d3024
2017-01-09 15:08:53 +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
7e457017f2 [apps/statistics] Create a class banner view
Change-Id: I480db952437ecbdd7383e55423a75da8f9deba4d
2017-01-09 15:08:53 +01:00
Émilie Feral
c4edca5f05 [apps/statistics] Add a bottom margin to display the banner below the
histogram

Change-Id: Icd69e08f924d507e8839d930d6e8f1b93841e74b
2017-01-09 15:08:53 +01:00
Émilie Feral
f319ebd1ee [apps/statistics] Prevent memory leaking in data class
Change-Id: I58024d11edc8087602994472f29a09b22126264f
2017-01-09 15:08:53 +01:00
Émilie Feral
f1f67acca6 [apps/statistics] Display the histogram parameter page when clicking on
the histogram parameter button

Change-Id: Ie9bbe3f94bf1c4eb5901b39f82a2e4caf36e3c0e
2017-01-09 15:08:53 +01:00
Émilie Feral
7224a7b16c [apps/statistics] Create a class Histogram parameter controller
Change-Id: I269ef1faa0aaecbd6d328ab0985dd428ae387702
2017-01-09 15:08:53 +01:00
Émilie Feral
7d1f254b92 [apps/probability] Reinit the binWidth in the data when the data has
changed

Change-Id: I81748aef8895ae9c8729fe8def9cf3e22668e369
2017-01-09 15:08:53 +01:00
Émilie Feral
453891c0da [apps] Factorize the method textFieldDidReceiveEvent in the abstract
class float parameter controller

Change-Id: I374e46664f6514246fff6378d97ae142c7130ca9
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
8aff2dac2b [apps] In curve view, distinguish 2 methods to draw discrete histograms
and any histogram

Change-Id: I52cec9a3c063d80b0385f8dded1e3de9f6837fdc
2017-01-09 15:08:53 +01:00