Any help ?

On Feb 22, 9:40 am, Tahola <[email protected]> wrote:
> I try something like this but nothing is happen (sorry for my english)
> thank in advance.
>
>       google.load("visualization", "1", {packages:["columnchart"]});
>       google.setOnLoadCallback(drawChart);
>       function drawChart() {
>         var data = new google.visualization.DataTable();
>         data.addColumn('string', 'Year');
>         data.addColumn('number', 'Sales');
>         data.addColumn('number', 'Expenses');
>         data.addRows(4);
>         data.setValue(0, 0, '2004');
>         data.setValue(0, 1, 1000);
>         data.setValue(0, 2, 400);
>         data.setValue(1, 0, '2005');
>         data.setValue(1, 1, 1170);
>         data.setValue(1, 2, 460);
>         data.setValue(2, 0, '2006');
>         data.setValue(2, 1, 660);
>         data.setValue(2, 2, 1120);
>         data.setValue(3, 0, '2007');
>         data.setValue(3, 1, 1030);
>         data.setValue(3, 2, 540);
>
>         var test = new
>
> google.visualization.ColumnChart(document.getElementById('chart_div'));
>
>         google.visualization.events.addListener(chart_div,
> 'onmouseover',
>      function(e) {
>   // use it..
>         test.setSelection([e]);
>      }
>                                               );
>
>         test.draw(data, {width: 400, height: 240, is3D: true, title:
> 'Company  Performance'});
>       }
>
> On Feb 22, 9:09 am, Tahola <[email protected]> wrote:
>
> > Thank you but do you have any any exemple or snippet  ?
>
> > On Feb 21, 7:17 pm, MC Get Vizzy <[email protected]> wrote:
>
> > > you need to handle the onmouseover event:
>
> > >http://code.google.com/apis/visualization/documentation/gallery/areac...
>
> > > On Sun, Feb 21, 2010 at 5:53 AM, Tahola <[email protected]> wrote:
> > > > Hi,
>
> > > > is there anyway to get the tooltips on mouseover with the Area Chart
> > > > like in Google Analytics ?
>
> > > > Thanks in advance.
> > > > John
>
> > > > --
> > > > You received this message because you are subscribed to the Google 
> > > > Groups
> > > > "Google Visualization API" group.
> > > > To post to this group, send email to
> > > > [email protected].
> > > > To unsubscribe from this group, send email to
> > > > [email protected]<google-visualization-api%[email protected]>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/google-visualization-api?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
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.

Reply via email to