msupply-foundation / mobile

Open source mobile app for medical inventory control
http://msupply.org.nz/mobile
Other
42 stars 27 forks source link

Boxplot improvements with minimal data #3741

Open josh-griffin opened 3 years ago

josh-griffin commented 3 years ago

Describe the bug

The box plot looks a little odd when there is a small amount of data

To reproduce

  1. Go to sync a new sensor
  2. wait for 2-3 temperature logs or so
  3. View the data in the detail view
  4. See error

Expected behaviour

should look amazing

Proposed Solution

TBD

Version and device info

Additional context

Screenshot_2021-03-12-08-22-24-781

josh-griffin commented 3 years ago

I'm not really sure of a solution, - I am thinking that there are to many ticks for the small amount of time that has been recorded so far, so each tick is just a few seconds long?

Screenshot_2021-03-12-08-27-20-589