This is a migrated thread and some comments may be shown as answers.

Silverlight Chart Tooltip issue

7 Answers 104 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
avinash
Top achievements
Rank 1
avinash asked on 27 Jun 2011, 10:32 AM
hi Guys,

I have a stacked bar chart with tooltip, which contains value.
I have a click event on chart area. And on this click i open a new detailed window.

Problem is when i click on particular chart area, tooltip stays on. It doesnt go after opening a new child window.
Couls you please help?

Regards,
Avi

7 Answers, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 28 Jun 2011, 03:24 PM
Hi Avi,
I created a simple user control, based on the information that you provided about your setup. I could not, however, reproduce the behavior you describe - please, find my user control with the chart definition, attached. Could you please open a formal support ticket and send me a running test project that demonstrates your setup and detailed information on the result you are trying to achieve.

All the best,
Tsvetie
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
avinash
Top achievements
Rank 1
answered on 30 Jun 2011, 05:42 AM
Hi,Tsvetie,
 
Thanks.
To check this open a child window from chart area click event. You can find out the exact issue.
Once we open a child window, the tooltip stays back.

Please find attached screenshot.

Regards,
Avi
0
Tsvetie
Telerik team
answered on 05 Jul 2011, 03:18 PM
Hi Avinash,
I was able to reproduce the problem, when I applied the changes that you mentioned. I just need to make sure that I have reproduced the same problem that you report. That is why, please check, whether the problem you reproduce on your side is the same as the one, described below:

  1. In case I move the mouse over a bar chart item, wait for the tooltip to show and then click on the bar, the tooltip closes as expected.
  2. In case I move the mouse over a bar chart item, wait for the tooltip to begin its opening animation and then click on the bar, before the tooltip is fully displayed, then the tooltip stays open. This is the problem that I was able to reproduce.
If the second case is the one you ran into as well, then I have forwarded it to our developers and we will do our best to provide you with a way to close the tooltip programmatically with the internal build that we will upload next week.

In case my assumption is not correct, please explain in detain the steps that you follow in order to reproduce the problem. It will be best, if you send us a video, demonstrating these steps.

Regards,
Tsvetie
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
avinash
Top achievements
Rank 1
answered on 06 Jul 2011, 07:40 AM

Hi,

You got it. The second point u mentioned exactly same issue happening.

Really appreciate ure help. Waiting for the solution.... :)

Thanks

Regards,
Avi

0
Tsvetie
Telerik team
answered on 06 Jul 2011, 12:42 PM
Hi Avi,
The method will be part of the next internal release and with it, you should be able to hide the tooltip using the following code:
private void ChartArea_ItemClick(object sender, Telerik.Windows.Controls.Charting.ChartItemClickEventArgs e)
{
    (e.OriginalSource as BaseChartItem).HideToolTip();
 
    ChildWindow1 child = new ChildWindow1();
    child.Show();
}

Greetings,
Tsvetie
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
David
Top achievements
Rank 1
answered on 25 Aug 2011, 01:44 PM
Which version will the HideToolTip() method be available in?

We're experiencing the exact same problem [thanks for the detailed description in this post] and we're looking for a fix.

Thanks in advance.
0
Giuseppe
Telerik team
answered on 25 Aug 2011, 03:31 PM
Hi David,

You can download the weekly internal build from your client account and you will be able to use the new method. Alternatively, it will be included in the official service pack release (around mid-September) as well.


Kind regards,
Giuseppe
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Chart
Asked by
avinash
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
avinash
Top achievements
Rank 1
David
Top achievements
Rank 1
Giuseppe
Telerik team
Share this question
or