Closed partysalat closed 10 years ago
Please use json schema https://github.com/just-kile/Zapfmaster2000/wiki/Schema-distribution
This scheme is not implemented in frontend yet.
feel free to rename attributes, please just paste it in here :)
Using shema:
{ "expectation": 3.234, "variance": 0.01231, "degression": 0.123, "normalCurve":[{"amount": 0, "userCount": 1.2}, ...] "actualCurve":[{"amount": 0, "userCount": 1.2}, ...] }
actualCurve is not set yet. We need to test if data looks ok with normal curve or what we have to do so it does. Please adjust frontend to use the new provided data and get back to me afterwards so we can discuss the further steps.
@partysalat Please update schema accordingly if it fits your needs, otherwise fix it and tell me =)
Implemented.
@thomaskipar Please check if calculation is alright, i get the same parameter userCount for every amount. (see http://develop.zapfmaster2000.de/zapfmaster2000-service/rest/statistics/distribution?token=o7a5kef65ubkavvkb52gh2iota )
Fixed the problem, values are reported now correctly by the back end.
Added values for "actualValues". Changed "userCount" to "probability", because this is what it really is about.
@partysalat, please draw the actual values in the chart as well and let us discuss the result afterwards.
Added 2nd line to chart with new json.
@thomaskipar the results at develop seems pretty nice ;).
Add a distribution chart with expectation/variance etc.