Urgent limit characters in YAxis label

2 posts, 1 answers
  1. Vinay
    Vinay avatar
    36 posts
    Member since:
    Mar 2010

    Posted 20 Sep 2011 Link to this post

    Is there any way in which i can limit the number of characters in YAxis label of a chart. Say about 15 characters.
  2. Answer
    Rahul avatar
    118 posts
    Member since:
    Feb 2011

    Posted 30 Dec 2011 Link to this post

    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.

Back to Top