Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing y axis range and intervals

Status
Not open for further replies.

LARiot

Programmer
Feb 7, 2007
232
Is there anyway to modify the y axis range and interval on a report.

In case this effects the answer the class is MSGraph.Chart.8 used in Access 2003.

Thanks.
 
I create a similar chart in Excel. Turn on the macro recorder and manually set the properties you would like to later automate. Turn off the macro recorder and find the generated code. You can copy and paste the code into your report. You must then modify the code to reference the chart control on your report.

Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
Actually turns out you can do this by right clicking on the chart selecting Chart Object | Edit. Right click on the axis itself select format axis. Choose the Scale tab from the top and modify records accordingly.
 
Actually turns out you can do this by right clicking on the chart selecting Chart Object | Edit. Right click on the axis itself select format axis. Choose the Scale tab from the top and modify accordingly.
 
I assumed you were looking to do this dynamically with some code at run-time. I should have asked first... ;-)

Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
No worries, thanks for answering. It's much appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top