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

bar chart series label text was truncated when set the chart size

3 Answers 354 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Freddy
Top achievements
Rank 1
Freddy asked on 23 Sep 2015, 07:04 AM

I create a bar chart to display data with positive and negative numbers. I must to set width of the chart in order to satisfy the requirement to display all of the columns. Here I just to show the label text of the series, but the label text will be truncated in some reason. the sample like http://dojo.telerik.com/azuco/3 

 Is there a method to implement this? I think the margin and padding cannot work well.

3 Answers, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 25 Sep 2015, 08:21 AM
Hi Freddy,

To avoid this you could set plotArea.margin. Take a look at the updated dojo.

Regards,
Iliana Nikolova
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Freddy
Top achievements
Rank 1
answered on 04 Nov 2015, 07:41 AM

hey lliana,

At last I need to hide the value axis, but hide value axis will also make the series label be cut off.

see the sample:http://dojo.telerik.com/OFEPO

Of course we can continue make the PlotArea property to fix this, but this will make the value more large, and I cannot make sure whether there is a value can cause the issue appear again.

0
Iliana Dyankova
Telerik team
answered on 06 Nov 2015, 08:43 AM
Hi Freddy,

As another I would suggest setting transparent color to the valueAxis labels / line. For your convenience here is the updated dojo.

Regards,
Iliana Nikolova
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Charts
Asked by
Freddy
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Freddy
Top achievements
Rank 1
Share this question
or