Skip to content

Commit

Permalink
troubleshooting for days......got circles changing colors, but not th…
Browse files Browse the repository at this point in the history
…e gradients yet
  • Loading branch information
zanewolf committed May 8, 2022
1 parent 8299b00 commit 508b069
Show file tree
Hide file tree
Showing 3 changed files with 200 additions and 656 deletions.
11 changes: 6 additions & 5 deletions js/main_arc.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ function initMainPage(dataArray) {
// for the faculty heatmap table for research interests
// let selectedFacultyTableFilterRI = $('#faculty-table-filter-research-selector').val();
// let selectedFacultyTableFilterAA = $('#faculty-table-filter-academic-selector').val();
let selectedColorPalette = false;
let selectedSortMethod = 'alphabetical';
var selectedColorPaletteArc = false;
var selectedSortMethod = 'alphabetical';
// var selectedSortTable = false;
//let newFilterBack = false;

Expand Down Expand Up @@ -57,12 +57,13 @@ let selectedSortMethod = 'alphabetical';
// }
//
function changeColorPaletteArc(){
selectedColorPalette = !selectedColorPalette;
myArcViz.wrangleData();
selectedColorPaletteArc = !selectedColorPaletteArc;
console.log('changeColorPaletteArch function')
myArcViz.updateColors(selectedColorPaletteArc,selectedSortMethod);
}

function changeSort(){
selectedSortMethod = $('#selectSort').val();
myArcViz.sortData();
myArcViz.wrangleData(selectedSortMethod);

}
Loading

0 comments on commit 508b069

Please sign in to comment.