We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

tooltips on point of series

Thread ID:

Created:

Updated:

Platform:

Replies:

51210 Oct 31,2006 10:03 AM Nov 16,2006 10:45 AM Windows Forms 7
loading
Tags: Chart
sh
Asked On October 31, 2006 10:03 AM

Hi,

I am trying to get tooltips, showing the Y-axis value, on hoovering over the points of the line chartseries in my chart.
I do not get it working. Can you help?

I used the following code, as you show it in the examples:

' ToolTips
Me.chartMetingen.ShowToolTips = True

' Displaying the tooltips on chart elements
using Preparestyle event
' (For each series that I create in the chart I add this handler)
AddHandler _Serie.PrepareSeriesStyle, AddressOf Serie_PrepareSeriesStyle


Private Sub Serie_PrepareSeriesStyle(ByVal sender As Object, ByVal args As Syncfusion.Windows.Forms.Chart.ChartPrepareStyleInfoEventArgs)
Dim series As Syncfusion.Windows.Forms.Chart.ChartSeries = sender
If Not (series Is Nothing) Then
If args.Index = 3 Then ' Y-as value???
Dim Y() As Double = series.Points.Item(args.Index).YValues()
args.Style.ToolTip = Y(0).ToString
args.Handled = True
End If
End If
End Sub


Do I still miss some setting of a property or something else?
I am working with version 3.201.1.0

Thanx.

Administrator [Syncfusion]
Replied On November 2, 2006 11:04 AM

Hi sansan,

Sorry for the delay in responding you.

Please have a look at the sample attached. Let me know if this helps.

ToolTip Sample

We are looking into it and will update you as soon as possible.

Thanks,
Sureshbabu

Administrator [Syncfusion]
Replied On November 3, 2006 12:15 AM

Hi sansan,

I am unable to reproduce your problem.

Please take look at the attached sample. Let me know if this helps.

ChartToolTip Sample

If possible, send me your sample.

Thanks for your patience.

Regards,
Sureshbabu

Administrator [Syncfusion]
Replied On November 3, 2006 07:14 AM

Hello,

Thank you for your response.
I tried your example, but also here the tooltips were not show when hoovering over the points of the series.

What I need is that, when hoovering over a point of a series, the X and Y values are shown in a tooltip. Also only the Y value would do.

The only tooltips that are shown in your example are the texts "Chart Area Tooltip" and "Chart Tooltip", but this is not what I need.

Actually I would expect it to be a property of the series and/or point objects, to show pointvalue tooltips or not. But I couldn't find something like this.

Is there any way (in my version of the chart) to make point value tooltips possible?


I attached my project to htis message. I hope it clears things up?

Thanx, Sandra

Isala.EriDanos.VerpleegkundigDossier.Forms.zip

Administrator [Syncfusion]
Replied On November 6, 2006 06:50 AM

Hi Sansan,

Sorry for the delay in responding you.

Please have a look at the attached sample. Let me know if this helps.

Chart ToolTip.zip

In the sample, using the methods GetPointByValue(), GetValueByPoint(), X and Y values are shown in tooltip.

Regards,
Sureshbabu

sh
Replied On November 7, 2006 10:08 AM

Hi Sureshbabu,

I'm sorry, but could you please check this with my version of the chart (see above).

Your example looks nice, but doesn't cover my problem since
- GetValueByPoint and -GetPointByValue
are not members of the chartarea in my version.

Can it be done in my version????

Thanx, Sandra

Chart ToolTip.zip

Administrator [Syncfusion]
Replied On November 10, 2006 12:55 AM

Hi Sansan,

We are looking into it and will update you as soon as possible.

Thanks for your patience.

Thanks,
Sureshbabu

Administrator [Syncfusion]
Replied On November 16, 2006 10:45 AM

Hi Sansan,

Sorry for the inconvenience caused.

The fuctionalities GetPointByValue(), GetValueByPoint() are added in version3.2.1.1 itself.

Please upgrade to latest version and try the above attached sample.

Once again sorry for the delay in responding you.

Regards,
Sureshbabu

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;