473,396 Members | 1,706 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Microsoft Graph Chart - Adding labels in Datasheet

Hi,

My database is in SQL Server with Access as front end.

I have a Microsoft Graph Chart for which the data is picked up with a query from the SQL Server.

In the DataSheet the first row is picked up as the label which is the first record in the database.

If I insert a row in the datasheet and then add a label its updating the chart correctly.

But because the data is dynamic when the chart / the report is run, the data gets refreshed from the database and the labels are removed from the datasheet, hence the chart displayed the graph only from the 2nd record assuming the first row in the datasheet as the labels. And hence the legend labels show the first record as labels.

Pls assist as the how I can add the labels in the datasheet so it wont change even when the data is refreshed.

Thanks & Regards,
Ruth.
May 22 '07 #1
2 4881
MMcCarthy
14,534 Expert Mod 8TB
Hi,

My database is in SQL Server with Access as front end.

I have a Microsoft Graph Chart for which the data is picked up with a query from the SQL Server.

In the DataSheet the first row is picked up as the label which is the first record in the database.

If I insert a row in the datasheet and then add a label its updating the chart correctly.

But because the data is dynamic when the chart / the report is run, the data gets refreshed from the database and the labels are removed from the datasheet, hence the chart displayed the graph only from the 2nd record assuming the first row in the datasheet as the labels. And hence the legend labels show the first record as labels.

Pls assist as the how I can add the labels in the datasheet so it wont change even when the data is refreshed.

Thanks & Regards,
Ruth.
What is the SQL of the query you are using?
May 25 '07 #2
What is the SQL of the query you are using?
Thanks for the reply.

Its just a normal sql statement.
Any select statement, first record is taken as the labels in the Chart.

I actually solved it by inserting an empty record as the first record.
For Legend since its static I created an image.

Thanks again,
Regards,
Ruth.
Jun 1 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
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...
2
by: mark | last post by:
I've got an 83-page report which contains an Microsoft Graph 8 Chart, but the report takes FOREVER to format, probably because the row source is a bit complex: TRANSFORM...
22
by: PeteCresswell | last post by:
I've been to http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mschrt/html/vbobjtitleobject.asp, but still don't have a clue. For example, I've got a chart object namde...
1
by: PeteCresswell | last post by:
The following code is working for everything but the column formatting on lines 9191 and 9192. It doesn't trap out - just doesn't "take". "fChart" is a pointer to the open form that has the...
1
by: rzito | last post by:
I am having a issue when I try to programmatically apply the X axis to my chart as I am trying to chart against a double number (ie: 45.89) should be part of the X axis, I keep getting an error...
2
by: Maddy | last post by:
I manage a small organisation of around 100 employees, with different specialisations. It becomes difficult to check how many persons of each specialisation are available at any time, based on...
4
by: The Frog | last post by:
Hi Everyone, Just a quick one, does anyone have a good reference or suggestion for info on integrating MS Graph with Access via VBA code? I have read some conflicting information and just...
3
by: Phil Stanton | last post by:
Has anybody got any samples of programming a chart. I am trying to use a query to create an XY scatter graph and need to add labels (Names and boats) to the points on the graph. Rob Bovey does it...
0
by: Phil Stanton | last post by:
I am using a scatter chart on a form to show a map and points of interest that I want labelled. After a struggle I have loaded the map, loaded the point and from a recordset, copied and pasted...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
agi2029
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,...

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.