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

Chart YAxis layoutmode

4 Answers 67 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Pete
Top achievements
Rank 1
Pete asked on 15 Oct 2008, 06:10 PM
Hi,

Is it possible to somehow define the YAxis layout mode just like what you can do with XAxis -> LayoutMode="Between"?

Thanks & regards,
Pete

4 Answers, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 16 Oct 2008, 06:58 AM
Hi Pete,

Unfortunately the layout mode of the vertical axis cannot be customized like the XAxis -- you can only use the YAxis.AxisMode property to control whether the vertical axis should be "Extended" or "Normal" i.e. the extended mode adds some blank space on the top of the plot area.


Kind regards,
Manuel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Pete
Top achievements
Rank 1
answered on 16 Oct 2008, 04:16 PM
Hi,

OK. Is there then any way to modify the YAxis LabelAppearance so that the step numbers are placed in the middle of the steps just like what XAxis.LayoutMode="Between" does?

I tried the following but the Position.Y does not have any effect. Position.X works as expected.

rc.PlotArea.YAxis.Appearance.LabelAppearance.Position.Auto =

false;

 

rc.PlotArea.YAxis.Appearance.LabelAppearance.Position.X = 15;

rc.PlotArea.YAxis.Appearance.LabelAppearance.Position.Y = 40;

Thanks,
Pete

0
Accepted
Giuseppe
Telerik team
answered on 17 Oct 2008, 09:06 AM
Hi Pete,

Indeed your observations are correct and we are able to reproduce the problematic behavior in our local tests. We have logged this issue in our bugtracking system and will forward it to our developers for further review. Unfortunately we cannot suggest you a workaround at the moment that will allow you to customize the Y-position of the axis item labels.

We have updated your Telerik points for the report. Sorry for the inconvenience.


Best wishes,
Manuel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Pete
Top achievements
Rank 1
answered on 17 Oct 2008, 10:39 AM
Hi,

OK, thank you for your information.

Best regards,
Pete
Tags
Chart (Obsolete)
Asked by
Pete
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Pete
Top achievements
Rank 1
Share this question
or