Tried the following code on my desktop with chrome. safari, Firefox and work fine On Ipad when I touch a slice the pieSliceText show and every thing freeze Am I doing any thing wrong
Thanks in advance <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Statistique CLient</title> <script type="text/javascript" src="http://www.google.com/jsapi"></script> <script type="text/javascript"> google.load('visualization', '1', {packages: ['corechart','table']}); google.setOnLoadCallback(drawChart1); var data1; var chart1; function drawChart1() { data1 = new google.visualization.DataTable(); data1.addColumn('string', 'Fournisseur'); data1.addColumn('number', 'Total'); data1.addRows([ ['DIVERS',42041.30] , ['FALOULA',48011.11] , ['INDIANA',2952.89] , ['GOOGLE',83603.18] ] ); var nomVendeur = 'CHARLES THE ONE' ; var options = {title:"2012 Sales for " + nomVendeur ,width:320,height:400, is3D:true,isStacked:true, backgroundColor:{stroke:'black', fill:'#F6F6C4', strokeSize: 1}, borderColor:{stroke:'black', fill:'#F6F6C4', strokeSize: 1}, axisColor:{stroke:'black', fill:'#66CCCC', strokeSize: 1}, legend:{position:'bottom'}, legendBackgroundColor:{stroke:'black', fill:'#F6F6C4', strokeSize: 1}, hAxis:{format:['$###,###.##']}}; chart1 = new google.visualization.ChartWrapper({ chartType: 'PieChart', dataTable: data1, options: options, containerId: 'chartdiv1' }); chart1.draw(); google.visualization.events.addListener(chart1, 'select', selectHandler1); } function selectHandler1() { var selection = chart1.getChart().getSelection(); if (selection.length > 0) { for (var i = 0; i < selection.length; i++) { var item = selection[i]; if (item.row != null) { var color = chart1.getOption('colors', '#2C2CE0'); var groupe = data1.getFormattedValue(item.row, 0); var link = '../blabla.html?vendeur=0018&grp_produit=' + groupe.substring(0, 2) myWindow=window.open(link); myWindow.focus(); } } chart1.getChart().setSelection(); } } </script> </head> <body> <h1 style="text-align: center;"</h1> <p> <p> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta name="generator" content= "HTML Tidy for Windows (vers 14 February 2006), see www.w3.org"> <title></title> </head> <body> <table width="98%" border="1" cellspacing="2" cellpadding="3" align="center"> <tbody> <tr> <td id="chartdiv1" align="left"></td> </tr> </tbody> </table> </body> </html> </body> </html> -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/q7cP3_37QewJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
