?
Solved

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

Posted on 2004-10-08
4
Medium Priority
?
1,392 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
[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
  • 2
  • 2
4 Comments
 
LVL 26

Accepted Solution

by:
EDDYKT earned 400 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
Suggested Courses
Course of the Month15 days, 14 hours left to enroll

741 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