The hasLabelsColumn was an internal hack used by some Google products to change chart behavior. In the last release we removed it, so it caused you these problems. I wonder where did you hear of this option. Anyway, it's no longer exist, so you can remove it from your code.
On Wed, Oct 5, 2011 at 8:35 PM, asgallant <[email protected]> wrote: > Setting strictFirstColumnType = true for the bar, column, pie, scatter, > combo (with bars), and candlestick charts enforces the rules on data type > for the first column. All of these charts specify a string value in the > first column, though they have worked with non-string values in the past > (though this was undocumented and not officially supported). This option > was introduced to allow developers to test their charts against the new > requirements, which will require strict adherence to the spec. Since your > data returns a number for the first column, not a string, setting this > option to true would cause the chart to fail. The way to get around the > problem with your data is to translate the first column into a string using > a DataView and then draw the chart using the view: > > var view = new google.visualization.DataView(data); > view.setColumns([{ > calc: function(data, row) { > return data.getFormattedValue(row, 0); > }, > type:'string' > }, > 1, > 2 > ]); > chart.draw(view, <options>); > > Incidentally, the displayAnnotations option is applicable to the Annotated > Timeline charts only. I don't know where you are getting > the hasLabelsColumn option from, but it's not in any of the charts insofar > as I am aware. > > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-visualization-api/-/5ZF-Gjrq6-sJ. > > 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. > -- 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.
