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

Urgent limit characters in YAxis label

1 Answer 56 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Vinay
Top achievements
Rank 1
Vinay asked on 20 Sep 2011, 07:36 AM
Hi,
Is there any way in which i can limit the number of characters in YAxis label of a chart. Say about 15 characters.

1 Answer, 1 is accepted

Sort by
0
Accepted
Rahul
Top achievements
Rank 2
answered on 30 Dec 2011, 05:13 PM
Hi Vinay,
I dont know how to limit X axis characters to 15.
But i can give you one idea. At the time of creating data for chart.
Take only 15 characters. check the following code.

string sub = AxisXValue.Substring(0, 15);

Hope it will help you.

Regards
Rahul
Tags
Chart
Asked by
Vinay
Top achievements
Rank 1
Answers by
Rahul
Top achievements
Rank 2
Share this question
or