sizzlelab / side

t3rc
6 stars 3 forks source link

Blood pressure, Glucose and Heart beat graph #76

Closed ktkarhu closed 12 years ago

ktkarhu commented 12 years ago

This is a feature proposal. If I take several blood pressure measurements it would be nice to see the trend of measurements as a graph. Measurement time should be used as time value (for x axis) and actual measurements plotted as y-values. I think this same applies to any measurement, the default should be that you can see all your measurements plotted in time axis.

mataanin commented 12 years ago

@pplegend Yongzhen Zhang, please give estimate and deadline.

pplegend commented 12 years ago

Now i have changed the display for blood pressure, please check it here: http://jimu.cs.hut.fi/side/chart i will update to new server soon, because there is one bug i need to fix it and the gluose data is not showed. i will finish it on Monday.30th,Jan.

pplegend commented 12 years ago

@ktkarhu @mataanin this part has done, please check it.

mataanin commented 12 years ago

@ktkarhu please, hold on; if it is well done, will ask you to take a look.

@pplegend Natalya (@katuta ) is going to test it first.

mataanin commented 12 years ago

@katuta please test in side.soberit.hut.fi/side environment.

mataanin commented 12 years ago

Following things have to be implemented:

  1. Make "From" and "To" fields to be input fields. They have to look like you can change those days.
  2. "From" and "To" fields have to be validated. Now if I enter foobar into "any of the fields" charts reacts as normal. It has to highlight fields red when input is not valid.
  3. Every data point on the charts has to have a circle. If there is only single data point (no trend), it has to be still visible on the chart.
  4. Additional filters have to be changed to 1w (one week), 1m, 6m, 1y. Additional filters (currently 1m, 3m, 6m, 1y), when being clicked, have to change the To field to today's date and the From to the date calculated in this way: "today - 1m".
  5. Chart has to show data starting with the day selected in the To and From fields.
  6. Every chart has to have a label: "Heart beat", "Blood pressure" and "Glucose"
  7. Optionally, there should be a calendar for each of date fields.
mataanin commented 12 years ago

@pplegend Yongzhen, please, give estimate and deadline.

pplegend commented 12 years ago

6th, Feb. 8hours

katuta commented 12 years ago

@pplegend Hi, I uploaded today measurements fro project test02, in the table Recent Uploading it is visible that the data has arrived. But actually on the graph I cant see anything. Instead it shows some strange data from 28.08 till 24.02. Please, could you check it.

pplegend commented 12 years ago

@katuta sure I will check it

pplegend commented 12 years ago

@katuta could you give me your user name and password?

katuta commented 12 years ago

fro project test02 I have one researcher account: it is natalya.larsson@gmail.com , pwd: a4tech, project code 100054, and one participant account: username: nata, pwd: a4tech, proejct code: 10062

mataanin commented 12 years ago

@pplegend , please fist fix so that data would be displayed on graph. This is of primary importance!

pplegend commented 12 years ago

@katuta the time is displayed in GMT format. it shows data according to your web browser's timezone.

pplegend commented 12 years ago

@mataanin Every chart has to have a label: "Heart beat", "Blood pressure" and "Glucose" what is this means?

mataanin commented 12 years ago

@pplegend each graphs has to have a heading explaining what is on the graph.

katuta commented 12 years ago

@pplegend just the problem what i see, it that i do not the my data from yesterday on the graph at all, instead i see some strange data from the future 24.02.

mataanin commented 12 years ago

@pplegend this has to fixed ASAP

pplegend commented 12 years ago

@katuta @mataanin could you make a screen shot or you can come to the office now? because i do not see the problem.

katuta commented 12 years ago

@pplegend ok, i will make a print screen and send to you, in spprox 2 hours, when i get home. Sorry, cant come to you :-)

katuta commented 12 years ago

@pplegend hi, actually, i checked now again, and today the graph looks completely different that yesterday. So you have done some changes, great, now it looks ok. I will come back with other comments, if needed.

pplegend commented 12 years ago

@katuta Yes, i made one mistake before, now it is corrected. For the comments from maksim 2 days ago:Following things have to be implemented:1,2,3,4,5,6,7. Now 1,2,3,5,6 have been changed, you can test them first.

katuta commented 12 years ago

@pplegend I tried to check it, but now it again looks not very good :-) it actually doesn't show anything at the moment - just constantly show the loading bar running. You probably are still working in it. Let's agree so, when you are done with changes, reassign it to me, so I will know that I can test it.

pplegend commented 12 years ago

@miyula @mataanin did you change the version of Jquery? it beacuse the wrong version, please change it back.

mataanin commented 12 years ago

Please, be specific: what is the required version of jquery?

On Fri, Feb 3, 2012 at 9:46 PM, pplegend < reply@reply.github.com

wrote:

@miyula @mataanin did you change the version of Jquery? it beacuse the wrong version, please change it back.


Reply to this email directly or view it on GitHub: https://github.com/sizzlelab/side/issues/76#issuecomment-3803054

pplegend commented 12 years ago

@mataanin jQuery 1.4.2

miyula commented 12 years ago

Oh, Sorry! I think the problem is because I update drupal today. Yongzhen, which jquery version you want ? jQuery 1.4.2 ?

-miyula

2012/2/3 pplegend < reply@reply.github.com

@mataanin jQuery 1.4.2


Reply to this email directly or view it on GitHub: https://github.com/sizzlelab/side/issues/76#issuecomment-3803776

Zeng Shuyan Tel: +358 44 939 6248 Email: miyula1988@gmail.com

pplegend commented 12 years ago

@miyula yes, at least jQuery 1.4.2 works ...WTF

mataanin commented 12 years ago

Updated to jquery 1.4.2

pplegend commented 12 years ago

@mataanin @miyula @katuta now it works, the jquery version should be v1.3.1.

pplegend commented 12 years ago

@katuta now you can check it.

katuta commented 12 years ago

Today 17.02.2012, I uploaded several sessions to username: nata pwd: qwe

But nothing is shown on the graph on Getcheck, although in the table of recent uploadings it is shown that data is recorded. Could you check it?

katuta commented 12 years ago

Actually, the data is shown on the graph now. so it is working, but it has a delay on 1 hour. Data was uploaded 2012-02-17 23:35:49, and it is on the graph only now at 0:40.

I'm not sure where is exactly the problem, so I assign to Max.

mataanin commented 12 years ago

Latest file that you have uploaded was quite big, so this may be the reason.

On Sat, Feb 18, 2012 at 12:41 AM, Natalya Larsson < reply@reply.github.com

wrote:

Actually, the data is shown on the graph now. so it is working, but it has a delay on 1 hour. Data was uploaded 2012-02-17 23:35:49, and it is on the graph only now at 0:40.

I'm not sure where is exactly the problem, so I assign to Max.


Reply to this email directly or view it on GitHub: https://github.com/sizzlelab/side/issues/76#issuecomment-4029218

katuta commented 12 years ago

I do not know what is the reason exactly, but there is a big delay between the data is recorded on the site and the momewnt, when it is showed on the graph.

For example today, I have uploaded 4 sessions: 2012-02-18 18:46:55 2012-02-18 18:44:14 2012-02-18 18:42:08 2012-02-18 18:41:46

The data is recorded, but it is not shown on the graph. As experience shows, it will appear within an hour or more. Then, if we are going to have a showing case during presentation, it means that we wont be able to show, that the data is actually shown on the graph.

One again, I just report the findings