Tuesday, February 15, 2011

Kevin's Week 4 Report

This week I was able to get data from the database to show up on a graph that will be displayed to the user on the website.  The data is passed to the graph via query string as I described last week.  The radio buttons and the check boxes in the image below are not quite working yet, however, the general idea is that the user can use the buttons to display the data they would like to see.  They will be able to select values from the drop down menu, and the radio button selected will indicate how much of a time period the window will show.  Also, more checkboxes will be added so users can see multiple data sensors on one graph.  The Previous and Next buttons work right now, and that is how I navigated from 9PM to 10PM.  The URL through the local host right now looks like the following:
Where Type=hour indicates that it will show an hourly data window.  The information following that indicates the year, month, day, and hour to be viewed.  If Type=day, then there will be no hour in the URL.  I have provided the screenshots of the database to compare with the graph to show that numbers are being correctly recorded into the graph.  The database collected data from Sensor1 and Sensor2, but I only displayed Sensor1 data on the graph for now.
My next step is to get the buttons to display different time periods of data and multiple data sensors working.  Right now to change the time of the window, the user must manipulate the URL which is not very user friendly.








0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home