Closed satra closed 11 years ago
Cool! I've fetched and merged but the flot modal doesn't show up when I click "Launch RT" - Is this something I need to add or was it there, but I messed up the merge?
that's because the json file is empty. while empty nothing will show up. so either you have to do a real run, or open the run004_active.json in an editor and add/change things.
@akeshavan, @satra On flots for runs that haven't occurred yet: my approach has been to initialize all of those files (run001_active.json, etc.) with a trivial template; I think I use a graph with one datapoint at (0,0) in it so that the flot plots happily... Those basic templates are tracked by git. See template_active.json and template_reference.json. I think this is the best way to avoid the 72 HTTP-404 errors. Would welcome a patch on Pull Request #18
this demonstrates how to have dynamic flot updating. it also cleans and reorganizes the code. i would recommend pulling this branch, undoing the changes that anisha made (181030a) so that i could run this on my mac.
while the general form can be cleaned up a fair bit, i kept the original submit logic - just that it happens through a javascript function now that allows for more flexibility.