472,331 Members | 1,604 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,331 software developers and data experts.

Graph problems - axis scaling & PDF output

Hitting two problems when running a new report I've created, that
contains a chart/graph. The chart shows three series, two are shown as
lines and one as an area. The data come from three different tables,
using a query of the related tables. There are two y-axes. This is
financial info - showing total contributions to an account and the
current account value on the left axis, and a reference stock index on
the right axis.

Amazingly I've been able to get this to mostly work and look decent,
except for a couple small things:

1. out of a batch of ~70 report pages, most of the charts have the both
the right and left Y-axes scaled from 0 to 100, which is what I want.
But 6 or so have arbitrary scales that don't start at zero - they run
from say 90% to 100% of max value. On some it's scaled this way on both
axes, on others it's just the right Y-axis. Can't find anything in the
data that would explain this.

2. when I print to Acrobat Distiller (ie create a PDF from the report
generated on-screen) it displays everything in the report & chart
correctly except the "area" series on the chart. Instead of showing the
real data, it shows a flat line at about mid-Y-axes. If I print to a
printer it's all fine, just the PDF creates the error. I guess that's
potentially an Acrobat issue.

Anyone hit these kinds of things before?

Access XP, Acrobat 5.0.


Nov 13 '05 #1
2 3408
> out of a batch of ~70 report pages, most of the charts have the both
the right and left Y-axes scaled from 0 to 100, which is what I want. But 6 or so have arbitrary scales that don't start at zero

If you always want the scales to be 0 to 100, then you can set that in
the chart options. I.e. open the report in design view, double-click
the chart to bring up that horror known as Microsoft Graph,
double-click the axis in question, and find the tab that has the scale
settings. Uncheck the "auto" boxes and type in the minimum and maximum
values you want. Repeat for the other y axis, save and exit Graph.

(This is all from memory, and I haven't used Access XP yet, so adjust
as necessary.)

The pdf thing sounds like an Acrobat issue. I remember having problems
with Acrobat 5.0 using the wrong colors for charts; I don't think we
ever solved the issue, we just found a different way to do things (not
involving Acrobat). Perhaps a later version of Acrobat would help?

Martha Palotay
don't google to email

Nov 13 '05 #2
Thanks so much for replying Martha, you're right - I had them set to
autoscale for everything, and by setting the min to 0 on both axes &
unchecking autoscale for that value it cleared it up. Makes sense, one
way to override the autoscale's lower bound is to make it zero [I just
found a section in Walkenbach's book on excel charts that has an
explanation of how the autoscaling works.]

In tinkering - one thing I really just don't get is that worksheet that
sits alongside the graph, and the way values seem to be stored with the
object. When I go into design view, the worksheet is filled with data
from the last time I ran the report, I guess from the last chart
displayed. The design-view chart is displaying that data instead of
being blank. And when I go to format the axes, the autoscale values for
that chart are in all of the boxes on that tab. So when you edit
charts it seems you're working with a template/object that has a short
memory of the last thing it displayed, carried along in that mysterious
worksheet. This graph object is just baffling if you ask me!

RE: acrobat - I think you're right, an upgrade might clear it up. Been
trying to avoid that purchase but maybe it's time...and it could take
forever to dig into the source of that error.

Thanks again, I can live with the output now.


Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Jeff | last post by:
Hi I have a report with a graph on it and want to change the minimum and maximum values for the value axis when it is previewed. This can't be...
by: Jeff | last post by:
Does anyone have any suggestions about a good third party graph control. The one in Access seems confusing to use. Is there a control that could...
by: Jeff | last post by:
Hi I am manipulating MS Graph and can successfully change the minimum and maximum values for the Y axis, but can't find a way of doing this for...
by: wayne | last post by:
i want to plot a line graph. The values that I obtain are the RGB value of a TIFF image. i m plotting RGB values vs value(1,2,3..) so when...
by: monomaniac21 | last post by:
Hi all! Ive got a very simple page shown below to draw a line graph and I need some help, how do can i label each point on the X and the Y axis?...
by: savas_karaduman | last post by:
I supposed that creating graph with access would be as easy as how I could with Excel. But it seems to me that there is some tricky point here....
by: smith.mariya | last post by:
hi, i am mariya. i am working on vb.net. i have created the powerpoint addin. i have inserted the chart on the slide through vb.net code. now, i...
by: Just_a_fan | last post by:
Some folks have searched, from time to time, for a dual axis MSChart with different scales on the two Y axes. The sample, extracted from running...
by: eureka2050 | last post by:
Hi all, I am creating a radar chart containing 2 plots using jpgraph. My code is as follows:- include ("./jpgraph/src/jpgraph.php"); ...
by: tammygombez | last post by:
Hey fellow JavaFX developers, I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
by: tammygombez | last post by:
Hey everyone! I've been researching gaming laptops lately, and I must say, they can get pretty expensive. However, I've come across some great...
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.