I would guess that deep in the Java Script there is something that a tool 
tip attaches to which represents a slice of a par or a segment of a bar or 
whatever.  It is probably possible to write a script that would load a div 
on mouseover of that item if you knew what it was called in the DOM. I is 
waaaaay beyond my understanding and abilities.

Perhaps you could just put a data table below the graphic on the page?
   

On Friday, March 8, 2019 at 6:35:31 AM UTC-6, Prakash joshi wrote:
>
> I Want to open my data on a div on the same page, when clicked on chart's 
> area or petals of pie chart. please anybody help me.
>
> <html>
>   <head>
>     <script type="text/javascript" 
> src="https://www.gstatic.com/charts/loader.js";></script>
>     <script type="text/javascript">
>       google.charts.load('current', {'packages':['corechart']});
>       google.charts.setOnLoadCallback(drawChart);
>
>       function drawChart() {
>
>         var data = google.visualization.arrayToDataTable([
>           ['Task', 'Hours per Day'],
>           ['Work',     11],
>           ['Eat',      2],
>           ['Commute',  2],
>           ['Watch TV', 2],
>           ['Sleep',    7]
>         ]);
>
>         var options = {
>           title: 'My Daily Activities'
>         };
>
>         var chart = new 
> google.visualization.PieChart(document.getElementById('piechart'));
>
>         chart.draw(data, options);
>       }
>     </script>
>   </head>
>   <body>
>     <div id="piechart" style="width: 900px; height: 500px;"></div>
>   </body>
> </html>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization 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 https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/b3dd34ef-ecfe-4827-81f2-f6b48fe04142%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to