Hi, thanks for confirming that I haven't missed something! Shame, though... I wouldn't mind being able to do that...
cheers On Thursday, August 6, 2015 at 3:39:34 PM UTC+2, Sergey wrote: > > Yeah, I don't believe we have any way of retrieving the number of entries > in each bin. > > On Thu, Aug 6, 2015 at 9:31 AM LE Sacks <[email protected] <javascript:>> > wrote: > >> My bad. >> That works - but what I was looking for was to retrieve the number of >> entries in each bin... which is a different question. >> >> >> On Wednesday, June 10, 2015 at 9:49:56 PM UTC+2, Sergey wrote: >> >>> Hi, >>> >>> It appears to work for me in this example: http://jsfiddle.net/q91h2wj7/ >>> >>> Can you give me an example of where it doesn't work? >>> >>> On Wed, Jun 10, 2015 at 3:20 AM LE Sacks <[email protected]> wrote: >>> >> Still no action on this? >>>> >>>> It really would be so useful to get bin values for selections... >>>> >>>> cheers >>>> >>>> >>>> On Thursday, March 6, 2014 at 5:02:44 PM UTC+1, Sergey wrote: >>>> >>>>> 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]. >>>> 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. >>>> >>> -- >> 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.
