473,854 Members | 1,537 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3550
> 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 done by adding code in the Open event as once the report has started printing the properties can't be changed. It can be done with an MDB by opening it in design mode hidden, making the change, saving it and then opening it in preview mode. However, this obviously doesn't work in an MDE which...
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 be said to be an industry standard? Jeff
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 the X axis. This works for Y axis graph1.Axes(2).MinimumScale = 100 I have tried other indexes but no luck. Can't find any good documentation on
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 generated the RGB values, there will b a column of values for me t plot the line graph thanks alot Peteroid wrote: > What kind of 'plot' of the data do you want to do? A histogram ca > be done
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? The lines are drawn with an imageline function, any ideas? Kind regards Marc
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. What i am trying to do and what i got is as follow: Suppose that there is a table named (TPerson) in which field names are "Name"<text>", "Age"<number-byte>. I would like to get a simple graph, X-axis stands for "Name", Y-axis stands for "Age". I follow procedure by using wizard but result is...
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 want to remove the gridlines on the chart and want to remove the y axis. i am not able to get the exact object and properties of the axis . can u plz tell me, what should i do? the code is as, Private oChart As Microsoft.Office.Interop.Graph.Chart Private oaxis As...
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 code I wrote, produces a graph with MSChart (VB9) which shows a time axis on X and two somewhat different value ranges on Y and Y2. This code produces two axes with positive and negative values, if called for, and also ranges the Y and Y2 values to match the data and still remain readable. ...
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"); include ("./jpgraph/src/jpgraph_radar.php"); // Create the basic radar graph $graph = new RadarGraph(700,500,"auto");
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.