11 Commits

Author SHA1 Message Date
Rufus Pollock
79ce138751 [view-graph,bugfix][xs]: hovers for time series render dates correctly (rather than as large integers). 2012-05-09 03:40:41 +01:00
Rufus Pollock
5e002adb4e [view-graph,bugfix][s]: fix so we always redraw graph on data update (though perhaps only when graph becomes visible). 2012-05-09 03:29:43 +01:00
Rufus Pollock
b6664e9292 [view/graph][s]: make sure we do not try to draw if graph not yet properly configured.
* Was encountering a bug where data loads triggering a redraw but nothing yet properly configured. (This has been previously hidden by fact we don't draw if graph view is hidden -- which I had temporarily turned off).
2012-05-08 16:20:53 +01:00
Rufus Pollock
fa123b6e94 [bugfix,view-graph][xs]: hovers on bar graphs were wrong because we were not switching x,y due to it being horizontal. 2012-04-30 03:56:53 +01:00
Rufus Pollock
1df82c3c3d [#75,view/graph][s]: if type of x-axis field is date make flot graph treat it as a datetime - fixes #75.
* TODO / problems: have hard-coded ticks to be yyyy-MMM but that may not work well for all time series (may need to guess this from the resolution of the data or allow user to configure)
2012-04-25 23:23:13 +01:00
Rufus Pollock
d8bbac1f6f [#85,view/graph,ux][s]: show a message on graph view when no graph yet there giving instructions on how to plot a graph (was a big ux fail) - fixes #85. 2012-04-25 22:27:01 +01:00
Rufus Pollock
82ca51a0b6 [#85,view-graph][m]: graph controls are now correctly configure themselves from loaded state.
* Also heavily refactor to have a cleaner and better code e.g. using templating to add new series.
2012-04-25 22:12:42 +01:00
Rufus Pollock
2515658a0b [#80,refactor][xs]: switch to _.each in view-graph.js. 2012-04-15 17:00:42 +01:00
Rufus Pollock
cb51f485c0 [#81,css][s]: map view uses recline- naming for top level container plus minor simplifying rename for graph css (fixes #81). 2012-04-15 16:53:46 +01:00
Rufus Pollock
8097bd4791 [#81,css,view/graph][xs]: rename parent container to recline-graph-container. 2012-04-15 16:08:33 +01:00
Rufus Pollock
4ede229b7b [refactor][s]: rename view-flot-graph to view-graph and FlotGraph to Graph. 2012-04-15 16:03:08 +01:00