Can I set each label in RadCartesianChart?

2 posts, 1 answers
  1. Johnny
    Johnny avatar
    4 posts
    Member since:
    Sep 2013

    Posted 17 Nov 2013 Link to this post

    chart[i].HorizontalAxis= new LinearAxis() {  LabelInterval = 10  };
    Use LabelInterval can control  regular pattern of label.

    If I only want to show the last label? (attachment1)
    if I wnat to show the  Irregular label? (attachment2)
  2. Answer
    Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 20 Nov 2013 Link to this post

    Hello Johnny,

    I think you should take advantage of the LabelTemplateSelector to achieve this scenario. You can check the value in the SelectTemplate method and decide whether or not you want to return a regular or an empty data template.

    Regards,
    Petar Marchev
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top