DefaultLabelFormat

2 posts, 0 answers
  1. Kevin Hendriks
    Kevin Hendriks avatar
    56 posts
    Member since:
    Feb 2009

    Posted 14 Aug 2009 Link to this post

    I use the chart to display some data, but the labels can become very long.
    Now I want to use the Default LabelFormat but I do not seem to get it work

    I use the following      #LABEL{[a-zA-Z]{0,10}...}

    But my string always stays as long as it is. I want the string to be a max of 15 chars and if longer have the tree dots after it
  2. Velin
    Admin
    Velin avatar
    391 posts

    Posted 18 Aug 2009 Link to this post

    Hello Kevin,

    Unfortunately, RadChart does not support regular expressions with label formatting. You can find more information about supported format expressions here.

    To achieve the desired label format you should manually clip it's value prior to data binding.

    Hope this helps.

    Sincerely,
    Velin
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top