Tool Tip - Code Behind

Thread is closed for posting
2 posts, 1 answers
  1. Murali
    Murali avatar
    16 posts
    Member since:
    Apr 2009

    Posted 21 Dec 2012 Link to this post

    i am creating a rad chart control in codebehind and adding it to the page. i now need to add tooltip to the points.
    I assign the data ycolumn to the chart series. so i dont have active regions defined hence no tool tip.
    can anyone point me in the right direction. any help is appreciated. thank you.

  2. Answer
    Petar Marchev
    Petar Marchev avatar
    996 posts

    Posted 25 Dec 2012 Link to this post

    Hi Murali,

    I think that you can attach a handler to the ItemDataBound event of the RadChart and set the tool tips there:
    void RadChart1_ItemDataBound(object sender, ChartItemDataBoundEventArgs e)
     e.SeriesItem.ActiveRegion.Tooltip = e.SeriesItem.YValue.ToString();

    All the best,
    Petar Marchev
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top