Open marks opened 8 years ago
http://marks.github.io/vizwit/?gist=cf635692f034e9a81c16 has the two ways of zoom (bar chart only).
_Notes: _
Demo
TODO - refactor
timwis 12:54 btw, you can use this.filteredCollection.pluck(‘value’) on line 232 there
marks 12:55 i tried pluck but isnt it in attributes object?
timwis 12:56 when you operate on this.filteredCollection.models yes. but backbone collections pull in pluck as a convenience function fyi http://backbonejs.org/#Collection-Underscore-Methods
marks 12:57 fancy. thanks!
timwis 12:57 actually they document pluck explicitly http://backbonejs.org/#Collection-pluck
As discussed on Gitter w/ @timwis