18 Commits

Author SHA1 Message Date
John Glover
fa086053fb Merge master into 309-expand-content-when-sidebar-empty 2013-02-11 10:00:41 +01:00
Rufus Pollock
242bcc7a14 [#287,view/graph][s]: move current view.graph.js to view.flotr2.js and setup recline.View.Graph to point to recline.View.Flot. 2013-02-09 16:18:37 +00:00
John Glover
f0005bed6c Hide the sidebar if it's empty.
When updating the view check to see if the sidebar
contains any visible children elements. If not,
hide it.
2013-02-06 12:09:34 +01:00
John Glover
2d5291b201 Rename x-axis and y-axis in view.graph.js.
Changed to Axis 1 and Axis 2 to avoid confusion
in bar graph (when axes are inverted).
2013-02-05 17:32:06 +01:00
User
c74c329c21 Added a line to document graphOptions, changed attribute access method 2012-11-08 13:02:49 -05:00
User
b501b7123c Added ability to extend graph options with state parameter 'graphOptions' 2012-11-08 12:31:05 -05:00
Rufus Pollock
7819b3b185 [#248,model][s]: normalize Field types where possible by mapping standard type aliases to default type name - fixes #248.
* view.graph.js improve graph view by making sure datetime for an axis is judged by whether it is date, datetime or time not just date!
* backend.ckan.js some type conversions now done in core model so can be removed
2012-10-12 22:06:56 +01:00
John Martin
6ee9e98e5e Fixes for Internet Explorer 7 and its strict JSON object modelling 2012-10-02 14:36:46 +01:00
Rufus Pollock
c879ca6df9 [whitespace,view/graph][xs]: fix up whitespace in view.graph.js. 2012-09-09 14:43:48 +01:00
Rufus Pollock
bc414e9f8c [#212,views][s]: refactor views and tutorial so that no render call in initialize and view element can be passed in externally (fixes #212). 2012-08-15 12:33:59 +01:00
Rufus Pollock
6f78b7b1be [#211,view][s]: switch show/hide from events to explicit methods - fixes #211. 2012-08-15 10:57:58 +01:00
Lieven Janssen
9a800902d2 bug fixes: string values & datetime values on x axis 2012-07-30 22:02:05 +02:00
Lieven Janssen
4978e076a9 fixed auto-scaling on x and y-axis 2012-07-15 12:44:44 +02:00
Lieven Janssen
b9c4a07d8d Migrated jquery-flot to flotr2. Added column chart type. 2012-07-15 08:52:06 +02:00
Rufus Pollock
a58f5e5bb0 [#174,refactor][s]: rename currentRecords to records on Dataset. 2012-07-05 15:37:17 +01:00
Rufus Pollock
1e65468f33 [#151,view/graph,bugfix][xs]: parse string as numbers if we can when plotting them - fixes #151. 2012-06-08 21:00:29 +01:00
Rufus Pollock
ef74f13163 [#145,view/refactor][m]: switch to a proper sidebar setup where views can have both a main element and a sidebar element and this added to central sidebar.
* this fixes functional and visual bugs with current (new) setup where fields where in separate in RHS sidebar
* Refactored map and graph view to put menu/controls in the sidebar (this is quite nice!)
2012-06-06 15:19:00 +01:00
Rufus Pollock
e73be69499 [refactor][s]: standardize naming of files to use '.' rather than '-' as separator. 2012-06-06 10:40:22 +01:00