Showing label for specific itemMapping in RadChart

6 posts, 0 answers
  1. Tamara
    Tamara avatar
    11 posts
    Member since:
    Sep 2012

    Posted 15 Aug 2013 Link to this post

    Hi,
      
    I have RadChart and pager for choosing an item from the chart.
    This operation should show label for that specific itemMapping.
      
    How should I implement that?
      
    Thanks,
      
    Tamara.
  2. Tamara
    Tamara avatar
    11 posts
    Member since:
    Sep 2012

    Posted 19 Aug 2013 Link to this post

    Can anyone answer me please?

    Thanks.
  3. DevCraft banner
  4. Tamara
    Tamara avatar
    11 posts
    Member since:
    Sep 2012

    Posted 01 Sep 2013 Link to this post

    Hi,

    As I wrote before, I have problem to implement showing label for specific item from the chart.
    Is it possible at all for SeriesDefintion? I know that for the LineSeries there is the PointMarks option.

    Tamara
  5. Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 04 Sep 2013 Link to this post

    Hi Tamara,

    I am unsure what is the final result that you are after. The RadChart does not have out-of-the-box functionality to show a label for a certain item. The chart shows either all labels or none.

    Perhaps you can work this out, but the solution would highly depend on your set up. One way to go is to use the selection API of the chart (chart1.DefaultView.ChartArea.SelectItem and/or other methods) to select an item and handle the visibility of the label. You will need mainly to use code behind.

    Another approach would be to use the hover effects to annotate an item. I have attached an item to demonstrate this.

    Let us know if you were able to achieve the desired effect. If you need further assistance I will ask that you attach a snapshot of the desired effect, so that it is clear what you are after.

    Regards,
    Petar Marchev
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  6. Tamara
    Tamara avatar
    11 posts
    Member since:
    Sep 2012

    Posted 10 Sep 2013 Link to this post

    Hi Petar,

    Thank you for the help:)
    In the end I created a popup outside of the chart because of matter of time.

    I have another issue that I dont found solution for.
    My RadChart's flow direction is left to right, but I need that the tooltip text of the itemMapping direction will be right to left.
    How should I do that?

    Regrads,

    Tamara

  7. Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 13 Sep 2013 Link to this post

    Hello Tamara,

    You can use the ItemToolTipOpening event of the ChartArea to set whatever visual you need inside the tool tip. You can check this example. You can create a brand new user control and define it in a right-to-left flow direction.

    Regards,
    Petar Marchev
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top
DevCraft banner