Skip to content

Commit

Permalink
Progress
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Dec 20, 2015
1 parent 48f5fcf commit b1399b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
List of TODO items for Panoramix

## Improvments
* dashboard controller + filters
* Color hash in JS
* Widget sets ()
* datasource in explore mode could be a dropdown
* [sql] make "Test Connection" test further
Expand Down
5 changes: 3 additions & 2 deletions panoramix/static/panoramix.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var px = (function() {
var container_id = data.token + '_con';
var selector = '#' + container_id;
var container = $(selector);
var slice_id = data.form_data;
var slice_id = data.slice_id;
var name = data['viz_name'];
var dttm = 0;
var timer;
Expand Down Expand Up @@ -67,8 +67,9 @@ var px = (function() {
addFilter: function(slice_id, field, values) {
this.filters[slice_id] = [field, values];
this.slices.forEach(function(slice){
console.log([slice.data.slice_id, slice_id]);
if(slice.data.slice_id != slice_id){
//slice.render();
slice.render();
}
});
console.log(this.filters);
Expand Down

0 comments on commit b1399b9

Please sign in to comment.