views:

268

answers:

1

Does anyone know how to disable the little "detail" balloons that popup when a Google Visualizations' chart is clicked (Selected)?

Following the sample code at Getting Started with Visualizations, my charts look wonderful except that the "zoom details" feature I've developed don't override the default balloons. Unfortunately the balloons peeking out from beneath my detail-zoomer look VERY unprofessional!

+2  A: 

I guess you mean the tool-tips?

There is a setEnableTooltip(boolean) method in CommonOptions. So I imagine you can set that option to false on the option object you pass in the constructor of your chart. e.g. based on Getting Started with Visualizations

...
PieChart pie = new PieChart(createTable(), createOptions());
...
private Options createOptions() {
  Options options = Options.create();
...
  options.setEnableTooltip(false);
  return options;
}
...
jitter
Thank-you VERY much! We probably would have gotten a lot farther had we been searching for "tooltip" instead of "balloon", "callout",...
belwood