This question is locked. New answers and comments are not allowed.

Don Turkstra
Top achievements
Rank 1
Don Turkstra
asked on 07 Jun 2007, 07:36 PM
3 Answers, 1 is accepted
0
Hello Don,
To put the labels on the X axis, you should manage the whole series instead of the items:
You can do this through the Property grid as well.
Kind regards,
Evtim
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
To put the labels on the X axis, you should manage the whole series instead of the items:
chartSeries1.Appearance.LabelAppearance.Position.AlignedPosition = Telerik.Charting.Styles.AlignedPositions.Bottom; |
chartSeries1.Appearance.LabelAppearance.RotationAngle = 90F; |
You can do this through the Property grid as well.
Kind regards,
Evtim
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

Don Turkstra
Top achievements
Rank 1
answered on 08 Jun 2007, 01:18 PM
Thanks for the reply... that helps.
The problem that I have now is that some of the labels are being truncated. For example
The problem that I have now is that some of the labels are being truncated. For example
chart.PlotArea.YAxis.Appearance.ValueFormat = ChartValueFormat.Currency;
series.Appearance.LabelAppearance.RotationAngle = 90F;
series.Appearance.LabelAppearance.Position.AlignedPosition = AlignedPositions.Center;
2 series, both defined the same with 1 item each.
series 1, the item has a y-value of 2500.
series 2, the item has a y-value of 0.
The $2,500.00 label shows correctly in the center of the bar
The $0.00 displays as $0.0 (missing the last zero).
Any ideas?
Thanks again...
0
Hello Don,
Unfortunately, we couldn't reproduce the reported issue. Please, create a simple project exposing the incorrect behavior and send it us in a new support ticket. We will be happy to review it for you.
You can also play with NumberFormatInfo to enforce 2 digits after the decimal point for the currency format.
Regards,
Evtim
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Unfortunately, we couldn't reproduce the reported issue. Please, create a simple project exposing the incorrect behavior and send it us in a new support ticket. We will be happy to review it for you.
You can also play with NumberFormatInfo to enforce 2 digits after the decimal point for the currency format.
Regards,
Evtim
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center