client/js/visulization.js
// Listiner to get chosenOption of selected menu

Listiner to get chosenOption of selected menu
Listiner to get chosenOption of selected menu
function checkWhichOptionIsClickedOn(dataset) {
    $('#navigationBar').click(function (e) {
        var chosenOption = e.target.id;
        if (currentMenuSelection != chosenOption) {
            currentMenuSelection = e.target.id;
            toogleBetweenGraphs(chosenOption, dataset);
        }
    });
}
function checkWhichOptionIsClickedOn ( dataset ) { $ ( '#navigationBar' ) . click ( function ( e ) { var chosenOption = e . target . id ; if ( currentMenuSelection != chosenOption ) { currentMenuSelection = e . target . id ; toogleBetweenGraphs ( chosenOption , dataset ) ; } } ) ; }
Listiner to get chosenOption of selected menu
Listiner to get chosenOption of selected menu