Please provide a way to display multi-line labels in the chart controls such as the bar chart category axis. The need is detailed in this post:
http://stackoverflow.com/questions/13247577/line-break-in-category-label-of-kendo-ui-chart
14 comments
ADMIN
Telerik Admin
Posted on:06 Mar 2015 14:02
Sarath, for additional technical questions please contact our support via the forums or support system on telerik.com. Thanks for your understanding.
Sharath
Posted on:06 Mar 2015 10:26
Hey
Is there anyway to add the line break in the client side ?
For example, I want the category axis label to be displayed as
JUN
2012
But my database(server) returns it as "JUN 2012" and I don't want to add "\n" there, but want to achieve it from client side.
Any ideas ?
ADMIN
Telerik Admin
Posted on:08 Oct 2014 11:32
Vincent, please forward any technical questions to our forums or support system on telerik.com. Thus they will be addressed by my colleagues from the support staff.
Thanks.
Vincent
Posted on:02 Oct 2014 14:44
Great!, Works almost like a charm. We have implemented in our VoxVote mobile voting solution, So far so good.
With the given label font, now the y-axis with the \n wraps to 2 or more lines, overlapping other labels.
Question: is there a way to set the height / margin between the lines after the wrap?
ADMIN
Telerik Admin
Posted on:18 Aug 2014 16:08
I am not sure whether I got this right - does specifying the line feed character via the MVC chart wrapper attribute produce the expected result with labels text wrapping?
Jeroen
Posted on:14 Aug 2014 13:21
How does this work with the MVC wrapper? the \n character will become a normal newline (instead of a new <text> tag)
ADMIN
Telerik Admin
Posted on:22 Jul 2014 11:54
To wrap the labels in multiple lines, inject a line feed character as instructed in the documentation:
http://docs.telerik.com/kendo-ui/api/dataviz/chart#configuration-categoryAxis.title.text
This should be applicable for category/value axis labels, legend items labels, etc.
Alan Mosley
Posted on:21 Jul 2014 08:57
I have 2014.2.716.545, but cant see how to do this, is there any documentation?
Thanks
ADMIN
Telerik Admin
Posted on:17 Jul 2014 14:24
This feature will be included in our Q2 2014 release. Public Beta of it is expected in the middle of next week, feel free to give it a spin.