• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1427
  • Last Modified:

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

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
gigglick
Asked:
gigglick
  • 2
  • 2
1 Solution
 
EDDYKTCommented:
?

MSChart1.Plot.Axis(VtChAxisIdX).ValueScale.Auto = True
0
 
gigglickAuthor Commented:
Hello -

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

0
 
EDDYKTCommented:
Or

MSChart1.Plot.Axis(VtChAxisIdX).ValueScale.Auto = True
mschart1.Refresh
0
 
gigglickAuthor Commented:
Sorry EDDYKT -

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

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now