Name: mPowerViz
Owner: Sage Bionetworks
Description: Visualization view for mPower
Created: 2016-02-17 16:44:10.0
Updated: 2016-02-20 00:47:53.0
Pushed: 2016-05-16 18:33:47.0
Homepage:
null
Size: 3129
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
Other Committers
User | Email | Most Recent Commit | # Commits |
README
Visualization view for mPower
To Use
- load index.html in a web view;
- when the base page's onload event fires, call window.display(“users-session-guid”, “startDate”, “endDate”);
- start date and end date are optional (and you can specify startDate leaving endDate to be today's date); right now, it will show the last two weeks if these are not provided. These are in the format “YYYY-MM-DD”;
- the page will set window.displayLoaded to true when the data has been retrieved and the visualizations have been loaded. The page fades in after this;
- if the page encounters any kind of problem, the variable window.displayError will have a text message indicating the error. (Otherwise it is null).