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

How not to display the tallest bar label inside the bar?

1 Answer 43 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Matthew Kwan
Top achievements
Rank 1
Matthew Kwan asked on 15 Jan 2010, 01:08 PM
Hi,

Please see attachment.

The tallest bars with the figure label 1000 is displayed in the bar, how can I make it to show on Top of the bar (consistent with the rest).

I know this is caused by the max Y-axis value.  I would like to achieve it by not setting Y-axis autoscale = false, minvalue = xxx, maxvalue = yyy and step = xxx. 

Please advise.

Regards,
Matt

1 Answer, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 19 Jan 2010, 08:44 AM
Hello Matthew Kwan,

Generally there are two approaches for extending the YAxis range -- one is by manually setting the axis range (+ AutoScale=false), and the other is by setting the AxisY.AxisMode property to "Extended" (setting this property automatically extends the axis range by 1 step).

However, I do not think that you will get the best result by setting the AxisMode property in your scenario (the step on your YAxis is rather small, and even when the axis is extended by 1 step, there probably will not be enough space above the bar for displaying the "1000" label vertically.  You will probably need to consider setting the axis range manually or displaying the item labels horizontally.


Greetings,
Manuel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Chart (Obsolete)
Asked by
Matthew Kwan
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Share this question
or