19 Commits

Author SHA1 Message Date
Rufus Pollock
39ec742d42 [view/flot][xs]: cast dates to strings before attempting to parse. 2013-06-02 18:42:25 +01:00
Rufus Pollock
eb682d673f [#359,view/flot][m]: much better time series support by using flot time plugin - fixes #359.
* Note you still need to set the type of the field to time for this to work properly (i.e. we do not attempt to guess a column is dates as that is very error-prone).
2013-06-02 18:42:17 +01:00
Dan Wilson
be67a2dad4 Some more jshint cleanup. Issue #340. 2013-05-16 11:34:47 +01:00
Dan Wilson
93637a7b0b Where necessary, override remove() to also remove subviews. 2013-05-14 12:45:48 +01:00
Dan Wilson
5ef821c92a Use listenTo() rather than bind() in the views so that the events get unbound upon removal. 2013-05-14 12:43:22 +01:00
Dan Wilson
8ea1a81c0a Updated code and tests to stop recline clobbering view.el. Issue #350. 2013-05-13 18:52:37 +01:00
Dan Wilson
b72dd0fb62 Enabled strict mode, and fixed issues raised. 2013-05-13 16:53:55 +01:00
John Glover
bada4a877b [#340] jshint cleanup of view.flot.js 2013-04-15 17:11:54 +02:00
John Glover
c4bdca79ad [#340] Value of 30 in comment contradicts actual value in code (15) 2013-04-15 17:10:41 +02:00
Joe Hand
930e3ad7c5 [#286, bugfix]: Fix case for null in Tick labels
Trying to run label.toString() on null value in tickFormatter results
in error.
2013-03-21 10:55:05 -06:00
Rufus Pollock
7ec2fdb278 [#334,flot,bugfix][s]: find and resolve issue with no ticks on x-axis if values are floats - fixes #334.
* Change to explicitly signal the Labels / Dates case (where x values are indices into records array)
* No longer always set xticks - let flot do this except in indices case
2013-03-08 10:30:02 +00:00
Mark Brough
accf6518e9 Show field labels rather than id on legend 2013-02-23 16:18:01 +00:00
Mark Brough
9fcedc2189 Date bug corrected, fixes #327 2013-02-23 16:07:42 +00:00
John Glover
aaef39c724 [#324] Show full labels on flot bar y-axis 2013-02-20 12:15:43 +00:00
John Glover
62bd8ffda7 [#324] Bug fix: fix tooltip content and placement in flot bar graph. 2013-02-20 11:43:42 +00:00
Rufus Pollock
b6e179e3e7 [#287,view/flot][s]: s/recline-graph/recline-flot/g. 2013-02-09 18:29:44 +00:00
Rufus Pollock
d369c9d958 [bugfix,view/flot][xs]: do not subtract 240px from rhs of flot graph (fix appears to be no longer needed and is breaking in most cases ...). 2013-02-09 18:29:02 +00:00
John Glover
4f2e58b514 Add horizontal bar chart back to view.flot.js 2013-02-06 17:51:59 +01:00
John Glover
8439cc5522 [#287] Add view.flot.js.
Allows flot to be used for graphs as well as
flotr2.
Based on view.graph.js in the ckan-updates branch.
2013-01-09 15:53:44 +01:00