As of May 6th, 2014 this bug seems to still be present.

On Friday, 7 March 2014 06:39:02 UTC-8, Sergey wrote:
>
> I am not sure which question you are referring to. If you are referring to 
> your original original question, "So how can I get selected data value?", 
> then the answer is that you cannot at the moment, as there is a bug in the 
> code and it returns the wrong selection. We are aware of this issue and 
> will be working to fix it.
>
> - Sergey
>
>
> On Fri, Mar 7, 2014 at 1:33 AM, Dustqm Sybolls <[email protected]<javascript:>
> > wrote:
>
>> Could you inform me with reply this question??
>>
>> 6 Mart 2014 Perşembe 18:02:44 UTC+2 tarihinde Sergey yazdı:
>>>
>>> Hello, it appears you found a bug with our Histogram selection. We will 
>>> be working to fix this, but unfortunately I do not have an estimate for 
>>> when this will be fixed.
>>>
>>> - Sergey
>>>
>>>
>>> On Thu, Mar 6, 2014 at 8:03 AM, Dustqm Sybolls <[email protected]> wrote:
>>>
>>>>  I added listener like this;
>>>>
>>>> google.visualization.events.addListener(chart, 'select', 
>>>> myClickHandler);
>>>>
>>>> My listener function like this;
>>>>
>>>>                       function myClickHandler(){
>>>> var selection = chart.getSelection();
>>>> var message = '';
>>>>
>>>>   for (var i = 0; i < selection.length; i++) {
>>>>     var item = selection[i];
>>>>     var value = data.getValue(item.row, 0);
>>>>     if (item.row != null && item.column != null) {
>>>>       message += '{row:' + item.row + ',column:' + item.column + '} / 
>>>> Value: ' + value;
>>>>     } else if (item.row != null) {
>>>>       message += '{row:' + item.row + '}';
>>>>     } else if (item.column != null) {
>>>>       message += '{column:' + item.column + '}';
>>>>     }
>>>>   }
>>>>   if (message != '') {
>>>>   alert('You selected ' + message);
>>>>   }
>>>>  }
>>>>
>>>> But value is not true.. Because when I select, it gives me place on 
>>>> which column is on it.. But I want the row of data array..
>>>>
>>>> So how can I get selected data value??
>>>>
>>>> -- 
>>>> 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 http://groups.google.com/
>>>> group/google-visualization-api.
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>
>>>  -- 
>> 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]<javascript:>
>> .
>> To post to this group, send email to 
>> [email protected]<javascript:>
>> .
>> Visit this group at 
>> http://groups.google.com/group/google-visualization-api.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to