Diaplay Customize tooltip in Pie Chart

P

Pa Ji

Hello There,
Does somebody know how to display customize tooltip in PIE chart. I'm
able ti do this with bubble chart

Dim oObj: Set oObj = ChartSpace.RangeFromPoint(x, y)
oChart.SeriesCollection(oObj.Parent.Index).TipText = "add here
tooltip for bubble"

Bascially in bubble I know that at which axis which type of chart is there.
Is there something for PIE???


Thanks in advance

Pa Ji
 
T

Thao Moua [ms]

First, your tooltip code will work for Pie chart. For a pie chart, you can only have ONE series. So if oObj.Parent.Index returns anything greater then 0, then your code will set tooltip for the wrong series. Second, there is no axis for Pie chart. If you just want to determine the chart type then just query oChart.Type

Thao Mou
OWC Webchart Suppor

This posting is provided "AS IS" with no warranties, and
confers no rights. Use of included script samples are
subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top