Solved

MSChart COntrol - Set the x-axis Min and Max for a date range

Posted on 2004-10-08
4
1,365 Views
Last Modified: 2013-12-26
Hello -

I am plotting a group of data points on a MsChart line graph.  The problem I am having is that the x-axis displays the date assoicated with each data point.  When I go over a certain amount to datapoints the x-axis becomes a glob of un-readble dates.  Does anyone know how to set it to only display say every 6th date etc or do automatic scaling

Thanks,
Gigglick
0
Comment
Question by:gigglick
  • 2
  • 2
4 Comments
 
LVL 26

Accepted Solution

by:
EDDYKT earned 100 total points
ID: 12258910
?

MSChart1.Plot.Axis(VtChAxisIdX).ValueScale.Auto = True
0
 
LVL 5

Author Comment

by:gigglick
ID: 12259181
Hello -

I justtried the line of code and it didn't not change anything.

0
 
LVL 26

Expert Comment

by:EDDYKT
ID: 12259248
Or

MSChart1.Plot.Axis(VtChAxisIdX).ValueScale.Auto = True
mschart1.Refresh
0
 
LVL 5

Author Comment

by:gigglick
ID: 12259824
Sorry EDDYKT -

Your first answer was correct.  I had a line of code later tha was overriding it.
Thanks so much!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

932 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now