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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Tooltip with Polar charts

Thread ID:





96753 Oct 4,2010 10:20 AM UTC Oct 12,2010 12:11 PM UTC WPF 5
Tags: Chart
Asked On October 4, 2010 10:20 AM UTC


I need to display a tooltip with the polar chart. I want to display informations that change with the part of the polar over which the mouse is.
When I use the event MouseMove of the Series the ChartMouseEventArgs has one segment with a collection of CorrespondingPoints representing all the points of the series. Is there a way to know the point corresponding to the mouse position ?
With your sample very lightly modified we see the differences between Radars and Polars.For Radars CorrespondingPoints[0] is the selected point so the Tooltip changes. For Polars it is the first point of the segment, the tooltip does not change.


Olivier Vayssié

ToolTip Demo_79fdb048.rar

Replied On October 4, 2010 12:38 PM UTC

Hello Olivier,

Look here, I discussed for getting Value with Mouse position : http://www.syncfusion.com/support/forums/chart-wpf/96123/Update-ToolTip-with-good-values

I paste here :


//On serie Mouse Move, I take Mouse Position :
mousePoint = e.MouseEventArgs.GetPosition(ChartArea)

//and then I get the value from Point :

double valx = ChartArea.PointToValue(ChartArea.PrimaryAxis, mousePoint);
double valy = ChartArea.PointToValue(ChartArea.SecondaryAxis, mousePoint);


It's for cartesian Chart, I don't know if it work for polar, but I hope le logic is the same.


Replied On October 6, 2010 09:30 AM UTC

Hello Arnaud,

Thank you for your answer. But this method does not work for radial charts. You will get NaN if you try it with a Pie, or a Polar.


Olivier Vayssié

Sujitha S [Syncfusion]
Replied On October 6, 2010 09:35 AM UTC

Hello Olivier,

The PointToValue method is only for cartesian axis and with the PolarChart the PointToValue does not work and thus returns double.NaN value.

We do not have the support for PointToValue in Polar axis, We will give the support after Vol4 release.

Let me know, if you have any queries.

Sujtha S

Replied On October 8, 2010 10:10 AM UTC


I am not using PointToValue with polar charts. I am using e.Segment.CorrespondingPoints with the mousemove event. It is working with Cartesian charts and Pie chart. The thing is for Polar charts there are more than one CorrespondingPoints. I was asking if there was a way to know which point was the one over which the mouse was.


Olivier Vayssié

Sujitha S [Syncfusion]
Replied On October 12, 2010 12:11 PM UTC

Hello Olivier,

Sorry for the inconvenience caused.

We donot have default ToolTip support for polar axis.

We can use custom ToolTip instead, since the polar Axis is rendered as one segment with a collection of CorrespondingPoints, we need to get the Mouse position and convert it to PointToValue to get the corresponding value.
But the PointToValue is not supported in PolarAxis.

So we cannot set the ToolTip for PolarAxis, it is supported only for the cartesian Axis.

Sujitha S


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon