2 Replies Latest reply: Jun 16, 2014 7:19 PM by Priscila Terra RSS

    google geochart extension

      Hi All,

       

      I have the geochart extension - I want to be able to click on a country to select it, does anyone know how to include this option into the script.js file?  I'm not familiar with Javascript so I'm having some trouble interpreting the API.

       

      Cheers,

       

      GPC

        • Re: google geochart extension
          Nicole Smith

          You'll need something similar to this:

           

          //Allowing the user to make selections in a chart
                  var QlikViewData = this.Data;
                  function selectHandler() {
                      var selectedItem = chart.getSelection()[0];
                      if (selectedItem) {
                          var selection = data.getValue(selectedItem.row, 0);
                          QlikViewData.SelectTextsInColumn(0, false, selection);
                      }
                  }
                  google.visualization.events.addListener(chart, 'select', selectHandler);
          
          • Re: google geochart extension

            Hi, to play with GeoChart in QlikView I need a Geochart extension? Or I've to do this only by the Qlikview tool?