This change implements a "mini-chart" function onto the home screen similar to Nightscout. This is a static chart showing an overview representation of the last 24 hours (or more) of data.
only glucose data is shown. No treatments, calibrations or anything else.
the chart points are refreshed every time new glucose data is processed
a new GlucoseMiniChartManager class is implemented and is basically a stripped down version of GlucoseChartManager
the mini-chart can be toggled to display, or not, from the Settings -> Home Screen menu
the mini-chart will be hidden by default on first install if the user has their screen scale set to "Zoomed". This is just to avoid crowding the screen. All other users will have the mini-chart visible by default.
the user can cycle through different time ranges to display by double tapping the mini-chart. Options are 24hrs (default)/2 days/3 days/7 days.
the time range is highlighted on a timer when the range is changed to draw attention from the user. It then fades back to gray to not distract
midnight markers are shown to give some context to the user
the mini-chart (as per the statistics view) will be hidden during the main screen lock mode as it isn't needed at night.
This change implements a "mini-chart" function onto the home screen similar to Nightscout. This is a static chart showing an overview representation of the last 24 hours (or more) of data.