The problem is that you're using getXLocation(number), but your X axis is dates. You need to pass a date to getXLocation.
On Mon Nov 17 2014 at 3:21:45 PM Reid Ransom <[email protected]> wrote: > Here's what I'm doing: > > 1. Create a datatable with google.visualization.DataTable() > 2. Add a datetime column > 3. Add a number column > 4. Add the rows > 5. Create a chart from that datatable > 6. Try to get an x location with > chart.getChartLayoutInterface().getXLocation(5) > > http://codepen.io/reidransom/pen/emYwWY > > In FF I get "a[ec] is not a function" > > In Chrome I get "undefined is not a function" > > I must be missing something. Any help would be greatly appreciated. > Thanks! > > -- > 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]. 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.
