473,320 Members | 1,955 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,320 software developers and data experts.

Frustration in coding MS Chart in Access

Hello - I'm trying to turn on data labels that only show the series
names--not the data values, in a MS Graph (default line graph). I'm
getting a compile error "Named argument not found" on this VB
statement - "ShowSeriesName:=True"

I've tried different combinations of the code...

Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Dim objChart As Graph.Chart
Set objChart = Graph0.Object
With objChart
.ApplyDataLabels Type:=xlDataLabelsShowLabel, LegendKey:=False,
AutoText:=True, ShowSeriesName:=True, ShowCategoryName:=False,
ShowValue:=False
.DataLabel.Font.Size = 9
.DataLabel.Position = xlLabelPositionAbove
End With

....and have searched the web, but have not come across any solution to
this. My version of Access is XP, and it has the Microsoft Graph 10.0
Object Library in the references.

Is it the Line Graph? Is it the 10.0 Object Library? the code?

Has anyone simply wanted series names as data labels in MS Graph in
Access and accomplished this? If so, I would love to hear from you.
Thanks a bunch!
Jun 29 '08 #1
1 2108
Hi Phil,

Thanks for responding and posting your code. I was not customizing MS
Graph as much as you--just wanted the series names at the data points,
but now, am leaning towards just notifying users that the graph is
only good for one to several synchronous series plots. Even with
small font sizes, the graph would have been too busy. I can produce
the same data without a graph. Have a great day.

Nick
Jun 30 '08 #2

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

Similar topics

3
by: David Inada | last post by:
w3c talks about scripting and gives examples. But I could not find a coding standard for ASP/VBScript. I am trying to find any standards and tools to apply those standards to my companies...
2
by: Koen | last post by:
Hi all, Is there any example code available somewhere that graphical visualizes a simple network planning (PERT chart)? I have two tables: tblAction: ActionID (PK) Description
3
by: StBond | last post by:
Hi everyone, I am new to Access and Visual Basic so things my be getting across a bit cloudy. I only started using VB for one week. I am having a little problem with the database that I am...
0
by: spm_no | last post by:
Hi, I am using Access 2002 and am creating a scatter-chart on a form in which the X-axis is a date. I can format and display the x-axis properly as a date. However, when I close and reopen...
9
by: Patrick.O.Ige | last post by:
I have a code below and its a PIE & BAR CHART. The values now are all static but I want to be able to pull the values from a database. Can you guys give me some ideas to do this? Thanks ...
8
by: LB | last post by:
Hello everybody I'm learning how to create pie chart using OWC. I'm able now to create a pie. But I can not figure out how to do the following : - for each pie, when mousing over, I would like...
2
by: Anil | last post by:
Hello, I am using VS2005 Beta2 and I have added a Simple Line-Graph chart to a ReportViewer control. I can click on the chart and alter for example the Minimum and Maximum scale values of the...
2
by: Wayne | last post by:
How does Access determine how many data points it will use in a chart and is there any way of forcing it to use more data points? My Access chart is only showing 7 data points of the 100+ that are...
1
by: Wedgewood | last post by:
Group, I am trying to build a gantt chart in a MS Access for but I can't seem to get it to pick up the second data series. In excel, you create a stacked bar chart using fields "Key Date" and...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.