This is a migrated thread and some comments may be shown as answers.

DefaultLabelFormat

1 Answer 120 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Kevin Hendriks
Top achievements
Rank 1
Kevin Hendriks asked on 14 Aug 2009, 09:06 AM
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

1 Answer, 1 is accepted

Sort by
0
Velin
Telerik team
answered on 18 Aug 2009, 08:10 AM
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.
Tags
Chart
Asked by
Kevin Hendriks
Top achievements
Rank 1
Answers by
Velin
Telerik team
Share this question
or