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

Avoid tooltips on chart lines

5 Answers 71 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Hari Prasad
Top achievements
Rank 1
Hari Prasad asked on 02 Jul 2012, 04:48 PM
Hello all,

          I'm using rad chart area and using "ItemToolTipOpening" event to customize the tooltip for the chart.
I'm successfully able to open the tooltips but the problem is it not only displaying on datapoints but also the line drawn
by the chart, which is causing confusion.

Is there any I could turn it off?

Thank You,
Hari.

5 Answers, 1 is accepted

Sort by
0
Anitha
Top achievements
Rank 1
answered on 03 Jul 2012, 04:26 AM
Hi All,

  For tooltip functionality I am trying to use

<telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" Skin="Telerik"
Width="200px" Animation="Slide" Position="TopCenter" EnableShadow="true" ToolTipZoneID="RadChart1" AutoTooltipify="true">
</telerik:RadToolTipManager>


but, I getting the following error:
The Type 'telerik:RadToolTipManager' was not found. Verify that you are not missing an assembly reference.


Any help how to get the tooltips only at the datapoints not along the line.

Thanks in Advance
0
Petar Kirov
Telerik team
answered on 03 Jul 2012, 11:36 AM
Hi all, 
@(Anitha M) I think your problem is that you are trying to use ASP.NET HTML syntax in a  Silverlight application. Please note that:
  • The two platforms - Silverlight and ASP.NET, are quite different (for example the Silverlight runs on the client computer, and the ASP.NET runs on the server side) so perhaps you should consider exploring their differences.
  • The RadChart-s for SL and ASP.NET have different API-s so you should refer to Silverlight RadChart or the ASP.NET RadChart documentation for your specific project.
  • If you are building a new project for Silverlight/WPF we would recommend using the RadChartView, because of the many improvements in the architecture over the previous RadChart.

@(Hari Prasad) in order to disable the displaying of the ToolTip, when the mouse is over the line, you will have re-template the style of the Line.
Please check the attached project for an example solution.
Please not that I'm using the latest binaries as of today (2012 Q2 607), but it should work with earlier versions.

All the best,
Petar Kirov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Anitha
Top achievements
Rank 1
answered on 03 Jul 2012, 11:52 AM
Ya, I got it. The difference between the ASP.Net and Silverlight.

I am using Silverlight Radchart, I developed entire chart, the only problem is with Tooltip.
Need to show the tooltip value only at the datapoint not on the line.

The sample given by you is not opening, it is missing one of the project.
Please send the entire code.

Thanks
0
Petar Kirov
Telerik team
answered on 04 Jul 2012, 08:29 AM
Hello Anitha,

I reviewed my attachment and everything is working as expected. Could you clarify with what version of our dll-s have you tested it?

Kind regards,
Petar Kirov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Anitha
Top achievements
Rank 1
answered on 04 Jul 2012, 08:57 AM
Thanks My problem is sloved. I got it.
Tags
Chart
Asked by
Hari Prasad
Top achievements
Rank 1
Answers by
Anitha
Top achievements
Rank 1
Petar Kirov
Telerik team
Share this question
or