IonicWind Software

Announcements => User Offerings => Topic started by: billhsln on July 23, 2020, 08:47:59 PM

Title: Blood Sugar program
Post by: billhsln on July 23, 2020, 08:47:59 PM
I wrote this to track my blood sugar and chart it by week and month, with help from Brian Pugh.  You must have enough data available to actually chart 1 week (at least 8 days) and 32 for the month, otherwise the charts don't work right.

I am hoping some one else might find this of use.  If nothing else, it might help you to learn how to do line charts.

Bill
Title: Re: Blood Sugar program
Post by: Rock Ridge Farm (Larry) on July 24, 2020, 05:17:54 PM
I can use it - thanks.

Larry
Title: Re: Blood Sugar program
Post by: billhsln on July 26, 2020, 09:46:18 PM
I am starting to use an app on my Android phone called Diabetes:M, using the free version.  I was thinking of adding an import/export the data in their format.  It will mean adding some more fields, but I will repost the program here, if any one else might need/use it.

Bill
Title: Re: Blood Sugar program
Post by: billhsln on August 02, 2020, 11:00:40 AM
Added A1C info to the program.

Bill
Title: Re: Blood Sugar program
Post by: billhsln on August 09, 2020, 01:37:26 PM
Found a couple of errors in what I was doing and added color to the graphs for when over 300 or 400.  My next trick is to see if I can turn this into a bar chart, just for fun/learning experience.

Sorry, found another missing piece of code.  Made another small change.  Added yellow circles for the points.

Bill
Title: Re: Blood Sugar program
Post by: Brian on August 09, 2020, 01:51:40 PM
Bill,

Weekly graph seems to work OK (I think), but when you select Monthly, it shows the window and then closes the whole program down

Brian
Title: Re: Blood Sugar program
Post by: billhsln on August 09, 2020, 01:55:17 PM
Last time that happened to me was when I did not have enough data.  I just recompiled mine and it worked fine for Monthly.  Do you want me to send you my data file?

Bill
Title: Re: Blood Sugar program
Post by: billhsln on August 09, 2020, 10:34:41 PM
Cleaned up the Weekly and Monthly charts, they were not landing where they should.  Also added a point to make it easier to see where they land.

Bill
Title: Re: Blood Sugar program
Post by: billhsln on August 11, 2020, 10:10:21 AM
Found a couple of more little bugs and created a bar chart style version with the numbers above the bar.

Bill