Hi there, >From what I know, the tooltip on shows on "non residual" values. To go over this, what I've done is to pre-generate a residual slice which I called 'others' and by this, I can also "drop-in" to the 'others' for further viewing.
Hope it helped :-) On Wed, Jul 6, 2011 at 5:26 PM, Chris K <[email protected]> wrote: > Hi, > > Is there a way to show the label on the residue? I've set the > pieResidueLabel property, but when i mouseover the residue slice, it > doesn't pop up a label. Here is an example: > > function drawVisualization() { > // Create and populate the data table. > var data = new google.visualization.DataTable(); > data.addColumn('string', 'Task'); > data.addColumn('number', 'Hours per Day'); > data.addRows(4); > data.setValue(0, 0, 'Work'); > data.setValue(0, 1, 20); > data.setValue(1, 0, 'Eat'); > data.setValue(1, 1, 20); > data.setValue(2, 0, 'CommuteToWork'); > data.setValue(2, 1, 1); > data.setValue(3, 0, 'CommuteHome'); > data.setValue(3, 1, 1); > > var pieChartOpt = { > is3D: true, pieSliceText: 'label', > sliceVisibilityThreshold: 4 / 100, > pieResidueSliceLabel: 'Other' > } > // Create and draw the visualization. > new > google.visualization.PieChart(document.getElementById('visualization')). > draw(data, pieChartOpt); > } > > > Chris. > > -- > 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. > > -- 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.
