Rufus Pollock
98e8647e16
Merge pull request #373 from kielni/override_handleQueryResult
...
[model][s]: various improvements around query building (add/remove facets) and allowing overriding of handling query result.
2013-10-13 02:28:55 -07:00
Rufus Pollock
02e5e70c18
Merge pull request #367 from davidmiller/casting
...
Cast elements in a series consistently
2013-09-21 09:09:08 -07:00
Rufus Pollock
e007fff15a
Merge pull request #372 from kielni/filters_and_facets
...
Add method to replace a filter - thx to @kleini.
2013-09-12 00:23:03 -07:00
kielni
ee2067da68
this.backend might be null; set handleResult before fetch
2013-09-10 10:21:02 -07:00
kielni
91c0f7704a
allow a dataset to override handleQueryResult
2013-09-09 07:31:12 -07:00
kielni
f7f010ea33
add new methods for facets: removeFacet, clearFacets, and refreshFacets
2013-09-06 13:51:17 -07:00
kielni
95fab060c3
add options to addFacet for size and silent
2013-09-06 11:58:23 -07:00
kielni
ef1064b888
add method to replace a filter
2013-09-06 11:40:31 -07:00
Rufus Pollock
c8f7ab56ff
[#316,timeline][s]: complete upgrade to v2.25 of timelinejs with support for BC dates <= 10k BC.
2013-08-24 13:25:28 +01:00
Rufus Pollock
fddea8e882
[#316,refactor][xs]: move vendor timeline stuff to vendor/timeline w/o versions to ease upgrading.
2013-08-24 13:16:45 +01:00
Rufus Pollock
2adc2138ef
[#316,timeline][s]: upgrade timelinejs vendor lib to v2.25 for better date extents (need to patch again to get working).
2013-08-24 13:14:07 +01:00
Rufus Pollock
191dd5796f
[timeline][xs]: micro followup to upgrade of timeline in ccf60d00f09473d244b5efaf83e423d833c25b39.
...
* tweak to test
* update tutorial to reference right vendor libs
2013-08-23 10:03:44 +01:00
John Glover
ab14d48939
Merge pull request #369 from okfn/369-map-url
...
No hardcoded http:// for maps
2013-08-21 05:38:20 -07:00
Dominik Moritz
efdf87dbd5
[ #369 ] Make image url relative as well, fix tile url
2013-08-21 10:19:08 +02:00
Dominik Moritz
6aeec49266
[ #369 ] Do not hard-code http
2013-08-20 13:39:52 +02:00
Rufus Pollock
ccf60d00f0
[#316,timeline][m]: timeline now handles BC dates and has a switch to support non US dates dd/dd/dddd - fixes #316 .
...
* upgrade timeine view to latest TimelineJS (note vendor code went in in last commit as needed to patch in this one)
* Minor fix to TimelineJS timeline.js code (actual bug I think)
* BC (-ve years) support is provided by latest TimelineJS (raw vendor code in last commit)
* Strip out use of momentjs and just use timelinejs date parsing (various changes and tests around this)
* state option nonUSDates: true to parse dd/mm/yyyy properly
2013-08-14 22:23:46 +01:00
Rufus Pollock
3bda0d6ff8
[#316,vendor][s]: introduce latest timelinejs lib (but do not switch to it).
2013-08-14 18:36:51 +01:00
Rufus Pollock
db9fe8d3a2
[view/flot,bugfix][xs]: tiny fix to have a correct default for graph type.
2013-08-14 16:54:53 +01:00
David Miller
49d89cc0ea
Only create variables if we need them.
2013-08-06 18:26:12 +01:00
David Miller
c34d8c681c
Check that all elements of a series are convertable to floats before casting individual elements.
2013-08-01 13:06:28 +01:00
Rufus Pollock
d1b04a4d10
[#314,backend][s]: remove gdocs backend - now in separate repo.
2013-06-30 22:08:36 +01:00
Rufus Pollock
e4adc0c34a
[#314,backends][m]: remove elasticsearch backend - now in own repo https://github.com/okfn/elasticsearch.js .
2013-06-30 21:51:39 +01:00
Rufus Pollock
f1ec8f0474
[build][xs]: .
2013-06-30 14:16:56 +01:00
Rufus Pollock
35b73aea52
[be/csv,bugfix][xs]: fix to breakage of csv loading for urls in 5d24fd474d6e6bd065039d058ef64c6db4454df9.
2013-06-30 14:16:22 +01:00
Rufus Pollock
b66f563368
[be/csv,bugfix][xs]: fix to breakage of csv loading from a file in 5d24fd474d6e6bd065039d058ef64c6db4454df9.
2013-06-22 20:14:20 +01:00
Rufus Pollock
005527f237
[build][xs]: .
2013-06-22 18:16:09 +01:00
Rufus Pollock
35a5f32163
[#362,view/map][s]: disable auto-turn on of map clustering above a certain number of points - fixes #362 .
2013-06-22 18:14:50 +01:00
Rufus Pollock
323f5febdd
[test][xs]: add marker css to test index.html.
2013-06-22 18:03:03 +01:00
Rufus Pollock
9a7e78f686
[build][xs]: cat files.
2013-06-15 12:19:36 +01:00
Rufus Pollock
5d24fd474d
[csv,bugfix][s]: fix to csv backend to correct issue with header row appearing in data in case where fields passed explicitly.
...
* The bug was triggered by change in 4d128af797546e5174537d8ed530a243e444eeab to use model fields if explicitly provided
* model.test.js illustrated issue (that new test was failing prior to changes to csv backend in this commit)
* Issue was that CSV backend did not pass back fields option. Previously, if no fields provided from backend we extracted fields from first row of the returned records. With change in 4d128af797546e5174537d8ed530a243e444eeab to use model fields if provided we had an issue as we no longer removed first row for fields.
* Fixed by having CSV backend explicitly extract fields and pass them back
2013-06-15 12:12:15 +01:00
Rufus Pollock
fa2e224bc9
[build][xs]: build.
2013-06-09 17:05:53 +01:00
Rufus Pollock
379ed11811
[view/flot,bugfix][s]: use getFieldValueUnrendered for getting values in flot graph.
...
* In case where we render value (e.g. number percentage) use of getFieldValue will result in percentage sign which flot will choke on.
2013-06-09 17:04:18 +01:00
Rufus Pollock
efe55b062c
[build][xs]: .
2013-06-02 20:04:52 +01:00
Rufus Pollock
4d128af797
[model,bugfix][s]: if explicitly passed field info to a dataset use that over any field info derived from backend.
2013-06-02 20:04:09 +01:00
Rufus Pollock
26a2a36c60
[build][xs]: build.
2013-06-02 19:06:17 +01:00
Rufus Pollock
b4f4c989cc
[view/multiview][s]: do not call fetch on dataset model in MultiView initialize (should be done in code using the view if needed).
...
* fetch method should have been done elsewhere (by client of the view)
* calling in the view is both wasteful and causes possible bugs as it may lead to race conditions to a fetch called by client code
2013-06-02 19:03:42 +01:00
Rufus Pollock
b297f2e25a
[build][s]: regular build.
2013-06-02 18:43:04 +01:00
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
8daba7e4e4
Build.
2013-05-17 18:30:48 +01:00
Dan Wilson
f6a6a41c07
Rewrote Deferred selection code to not use "window".
...
This means it can be used in a web worker.
2013-05-17 18:27:50 +01:00
Dan Wilson
9aa2b95866
Expose the ability to skip initial rows in CSV parser.
2013-05-17 16:11:25 +01:00
Rufus Pollock
033848290a
Merge pull request #356 from okfn/querystate-fix
...
Fixes a bug in querystate handling.
2013-05-17 07:08:50 -07:00
Dan Wilson
d626fab31c
Fixes a bug in querystate handling. Fixes okfn/dataexplorer#120 .
2013-05-16 20:48:00 +01:00
Dan Wilson
95036205b7
Build current
2013-05-16 11:38:49 +01:00
Dan Wilson
be67a2dad4
Some more jshint cleanup. Issue #340 .
2013-05-16 11:34:47 +01:00
Dan Wilson
8f0fe6e5ef
Added a build status image to the README. Fixes #252 .
2013-05-15 13:14:12 +01:00
Dan Wilson
31e25cf51b
Enable travis-ci
2013-05-15 12:40:38 +01:00
Dan Wilson
9932da7b37
Build current.
2013-05-15 11:32:23 +01:00
Dan Wilson
155ce78828
Merge pull request #354 from okfn/issue-351
...
Event handling cleanup
2013-05-15 02:25:43 -07:00