Avoid tooltips on chart lines

6 posts, 0 answers
  1. Hari Prasad
    Hari Prasad avatar
    1 posts
    Member since:
    Jul 2012

    Posted 02 Jul 2012 Link to this post

    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.
  2. Anitha
    Anitha avatar
    33 posts
    Member since:
    Apr 2012

    Posted 02 Jul 2012 Link to this post

    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
  3. DevCraft banner
  4. Petar Kirov
    Admin
    Petar Kirov avatar
    425 posts

    Posted 03 Jul 2012 Link to this post

    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 >>
  5. Anitha
    Anitha avatar
    33 posts
    Member since:
    Apr 2012

    Posted 03 Jul 2012 Link to this post

    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
  6. Petar Kirov
    Admin
    Petar Kirov avatar
    425 posts

    Posted 04 Jul 2012 Link to this post

    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 >>
  7. Anitha
    Anitha avatar
    33 posts
    Member since:
    Apr 2012

    Posted 04 Jul 2012 Link to this post

    Thanks My problem is sloved. I got it.
Back to Top
DevCraft banner