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

Rad Chart X axis and Y axis label question

1 Answer 256 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
mallareddy
Top achievements
Rank 1
mallareddy asked on 12 Jun 2008, 07:23 PM
Hi all,

I have started using Rad control bar chart from last 2days. I was able to create a bar chart with x and y axis values from database datasource.

I couln't fine a way to label x and y axis. For instance i have company names on x axis and share values on y axis, i just want to label x axis as "Company Names" and Y axis as "Current Share Value". I have searched the chart wizard options but i couln't figure it out.

I have tried this for labelling x axis, but this did not work.

<

AxisLabel>

<TextBlock Text="Company Name">

</TextBlock>

<Appearance Position-AlignedPosition="Bottom">

</Appearance>

</AxisLabel>



Can anyone help me in this regard?

Thanks
Sam

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 16 Jun 2008, 12:07 PM
Hello Sam,

By default axis labels are hidden, so you simply need to show them:

<AxisLabel Visible="True">

<TextBlock Text="Company Name">

</TextBlock>

<Appearance Position-AlignedPosition="Bottom">

</Appearance>

</AxisLabel>

Hope this helps.

Best wishes,
Ves
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Chart (Obsolete)
Asked by
mallareddy
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or