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

Legend position & Item Labels

1 Answer 68 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Ernest
Top achievements
Rank 1
Ernest asked on 11 Dec 2008, 04:36 PM
Hi,
I want to put the legend at the bottom of chart, but it hides axes item labels and I can´t see their values. How can I make room between axes item labels and the bottom chart margin to put the legend?

Another issue:
Is there another way to populate a range of values along an axis without using ChartAxisItem? Because I'm feeding the RadChart.Series manually using AddItem method and I can´t put as item labels the value of ChartSeriesItem(double value, string labelText), so I need to cycle over an array filling RadChart.PlotArea.XAxis.Items to see the custom label.

Regards.

1 Answer, 1 is accepted

Sort by
0
Vladimir Milev
Telerik team
answered on 15 Dec 2008, 11:15 AM
Hello Ernest,

You should try using the AutoLayout feature of RadChart. It will arrange the elements automatically.

You can fill the axis manually when you have AutoScale=false by setting Min, Max and Step properties. These, however, will not fill in any labels. If you want to set labels on the axis you will need to manually create your axis items.

Sincerely yours,
Vladimir Milev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Chart (Obsolete)
Asked by
Ernest
Top achievements
Rank 1
Answers by
Vladimir Milev
Telerik team
Share this question
or