Solved

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

Posted on 2004-10-08
4
1,379 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

839 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