Hi all, I'm new to using Google Charts, and so far everything has gone great. The only real issue I'm having is trying to get the Select event to work on iPhones.
Here is a link to my website: https://assessment.jefferson.kyschools.us/DMA/SPV/SPV.aspx If you drill down on Goal 1, Success Measure 1, you will see a Google Column Chart. If you're on a non-mobile browser and click on the columns, it will open a new window to show more detail. Clicking on the columns from an iPhone doesn't do anything however. Does it not work on iPhones, or am I not coding the event handler correctly? Here's a snippet of my javascript: chrt = new google.visualization.ColumnChart(document.getElementById('divFA1SM1')); function selectHandler() { var selectedItem = chrt.getSelection()[0]; if (selectedItem) { var topping = data.getValue(selectedItem.row, 0); switch (topping) { case 'Elementary': window.open('FA1SM1.aspx?schoolLevel=1', 'SubReport', 'width=625,height=750'); break; case 'Middle': window.open('FA1SM1.aspx?schoolLevel=2', 'SubReport', 'width=625,height=750'); break; case 'High': window.open('FA1SM1.aspx?schoolLevel=3', 'SubReport', 'width=625,height=750'); break; } } } google.visualization.events.addListener(chrt, 'select', selectHandler); chrt.draw(dview, options); -- You received this message because you are subscribed to the Google Groups "Google Chart API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-chart-api. For more options, visit https://groups.google.com/groups/opt_out.
