I suggest making a feature
request<http://code.google.com/p/google-visualization-api-issues/issues/list>to
add support for custom tooltips on the "Other" slice.
On Thursday, December 19, 2013 1:09:34 PM UTC-5, Joshua Logan wrote:
>
> Has anyone found a way to show a tool tip when the user hovers over a
> grouped Pie Slice.
>
> For example. In my chart, I have been experimenting with the
> sliceVisibilityThreshold property of the chart cosntructor and so far it
> works pretty well. The objective of this property is to aggregate pie
> slices that are to small to appear individually. The problem is that once
> it aggregates the slices, the user can not hover for a tool tip explaining
> the breakdown of the slices.
>
> Here is the code snippet for my constructor.
>
> //////////////////////////////////////////////////////////////////
> /////////////// Variable Diversity Chart ///////////////
> /////////////////////////////////////////////////////////////////
>
> var data2 = google.visualization.arrayToDataTable(dataChoice.data2);
> var options2 =
> {
> colors: ['#937ab1', '#59bad1', '#6095c9', '#aac46c', '#dda576', '#ede79d',
> '#e27d7d', ],
> chartArea: {left:13, top:10, width:"234", height:"234"},
> pieSliceTextStyle: {fontSize: 14, fontName: 'Arial Black', color:
> '#4c4c4c',},
> pieStartAngle: -65,
> legend: { position:'none', alignment:'start', textStyle: { fontSize:15}},
> backgroundColor:'transparent',
> tooltip: {textStyle:{fontSize: 12, fontName: 'Arial', color: '#4c4c4c'},
> text: 'value',},
> sliceVisibilityThreshold: .008,
> pieResidueSliceLabel: 'Other',
> };
> var chart2 = new
> google.visualization.PieChart(document.getElementById('cd_chart_div2'));
> chart2.draw(data2, options2);
>
> I have attached a screen grab of the output. The slice in question is in
> the gray slice right above the red-ish colored slice. When hovered, it does
> not do anything and is still too small for a label. I fear that this will
> hinder accurate reporting of data for the client.
>
>
>
--
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.