Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Change x-axis label in mschart

Posted on 2011-03-20
1
Medium Priority
?
1,749 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 19

Accepted Solution

by:
Shahan Ayyub earned 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

610 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