Solved

Change x-axis label in mschart

Posted on 2011-03-20
1
1,582 Views
Last Modified: 2012-06-27
Hi,

I created Line chart using MSChart in Visual studio 2010.
Displayed Quater data in x-axis as below.


      |
1000      _
      |
      |
900      _
      |
      |            Here my graph displays correctly.
800      _
      |
      |
600      _
      |
      |
400      _
      |
      |
200      _
      |
      |
0      -------|---------|--------|--------|-------|---------|--------|--------|-------|-------|------
           03/2006   06/2006  09/2006  12/2006  03/2007  06/2007  09/2007  12/2007  3/2008  6/2008      etc.,



i need to show only years in x-axis label and remaing quaters should be point in between years, as below.


      |
1000      |
      _
990      |
      |
980      _
      |
      |
970      _
      |
      |
960      _
      |
      |
950      _
      |
      |            Here my graph displays.
940      _
      |
      |
930      _
      |
      |
920      _
      |
      |
910      _
      |
      |
900-----|---|---|---|---|---|---|---|---|---|---|---|---|---
      |
      2006               2007           2008             2009   etc.,


There should not be any change in graph.
 
could you please help me.


0
Comment
Question by:kravindra
1 Comment
 
LVL 19

Accepted Solution

by:
Shahan Ayyub earned 500 total points
ID: 36276929
Hi!

You should check AxisLabel OR LabelStyle.Format properties.
Have a look at this link:
http://msdn.microsoft.com/en-us/library/dd456628.aspx
0

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question