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

Chart numbers

3 Answers 69 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
paul de Blaauw
Top achievements
Rank 1
paul de Blaauw asked on 03 Feb 2009, 09:06 AM
Hello,

I have a chart with large numbers data in it, However the numbers are over each other, so it isnt readable, second i dont think all data is displayed only one of the 2 series is.
Is is possible to show the ammounts vertical?
http://img3.imageshack.us/my.php?image=omzetcy5.jpg

Thanks for help,

Peter

3 Answers, 1 is accepted

Sort by
0
Velin
Telerik team
answered on 04 Feb 2009, 07:48 PM
Hi Paul,

In order to make the series item labels display vertically you should use code like the one below on a per series basis:

series.Appearance.LabelAppearance.RotationAngle = 90

Also, in this case, please make sure you have turned off the intelligent labels.

Best wishes,
Velin
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
paul de Blaauw
Top achievements
Rank 1
answered on 05 Feb 2009, 10:47 AM
Thanks that worked great, however because of the skin I have choosen, the text is not readable good at the moment. Is is possible to give the text another color?, or is there a way to make the chart higher, so the text can be in the black part?

http://img6.imageshack.us/my.php?image=omzet2uz0.jpg
0
Velin
Telerik team
answered on 06 Feb 2009, 11:43 AM
Hi Paul,

You can set a custom color to the labels of your series using code like the following:

series.Appearance.TextAppearance.TextProperties.Color = Color.Black; 

You could also make RadChart to render extra space above the series item by setting the AutoScale property of the YAxis to false. In this case you should manually provide values for the MinValue, MaxValue and Step properties of the axis and also make sure that all of your data falls within this predefined range. Here is a sample code demonstrating this scenario:

 
           chart.PlotArea.YAxis.AutoScale = false
            chart.PlotArea.YAxis.MinValue = 100000
            chart.PlotArea.YAxis.MaxValue = 1500000
            chart.PlotArea.YAxis.Step = 100000

Hope this will help.

All the best,
Velin
the Telerik team

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