Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

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

2 Replies
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);

Not applicable
Author

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