Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion scout-ui/src/minicharts/unique.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ module.exports = VizView.extend({
deps: ['orderedValues'],
cache: false,
fn: function() {
return _(this.model.values.sample(15))
// @hack for demo: show values across all types
return _(this.model.collection.parent.values.sample(15))
.map(function(x) {
return x.value;
})
Expand Down