After doing some research it seems that corecharts do not have a
setselection method implemented yet. Therefore I guess I can't
actually set the data for them.


Can someone else, deny or corroborate this for me?


http://groups.google.com/group/google-visualization-api/browse_thread/thread/57f873605ac1cc20/90498e98c3f8dfcf



On Jun 24, 10:34 pm, visual_learner <[email protected]> wrote:
> Just an update, the code above actually updates the table as well. So
> if I select a point on the scatterplot it will highlight the
> corresponding row of the table. The problem seems to be that the
> points of the scatterplot are not selectable. When clicked they don't
> change color, highlight, or do anything to distinguish that they have
> been selected.
>
> On Jun 24, 9:42 pm, visual_learner <[email protected]> wrote:
>
>
>
>
>
>
>
> > I am trying to have a point selected in a scatterchart highlight the
> > corresponding row in a table and vice-versus. Is this possible? It
> > works between two tables but doesn't work when incorporating
> > sparklines or scattercharts. When I click a point in the scatterchart
> > the select listener is flagged (and appropriate value selected).
> > However, the actual point in the scatter chart doesn't seem to be
> > selected (it doesn't change color or indicate it is different from the
> > rest of the points). On mouseover it shows the label for each point,
> > but nothing happens when clicked (aside from calling the listener).
>
> > My code (which handles the selecting) is like the following:
>
> > //For a table (this works between two tables)
> > container.chart.setSelection(brushSelect);
>
> > //For a scatterchart (never works)
> > container.chart.setSelection([{row: brushSelect.getSelection()
> > [0].row}]);

-- 
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