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

change font size for data labels

ken
Hi,
How do you change the font for the data labels on your bar graph
report/chart? I have 24 series, and when I change the font of the data
label for one series that does not change them all...
Also in design view I only have 3 series displayed...so I need a way to
change all of them at once...

If anyone knows how to do this I would really appreciate a hint.

Thanks

Feb 13 '06 #1
1 7822
Br
ken wrote:
Hi,
How do you change the font for the data labels on your bar graph
report/chart? I have 24 series, and when I change the font of the data
label for one series that does not change them all...
Also in design view I only have 3 series displayed...so I need a way
to change all of them at once...

If anyone knows how to do this I would really appreciate a hint.

Thanks


You need to reference the chart object
Note, that you will likely need to loop through each axis and then data
point.

I've done something similar to change the point colours...

This is off the top of my head so it likely won't work... reference the MS
Graph object in the module window so you can browse the object model and see
the help on it (not installed by default thought, it's on your Office CD).

For i = 1 to
Me![MyGraph].Object.Application.Chart.Axis(1).DataLabels.Count -1
Me![MyGraph].Object.Application.Chart.Axis(1).DataLabel(i).Fon t.Size = ?
Next

Hope that points you inthe right direction.
--
regards,

Br@dley
Feb 15 '06 #2

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

Similar topics

2
by: cs168 | last post by:
Hi I am new in ASP programming so I do use the very basic and simple way to do all my stuff. Now I do really got stuck at how can I loop thru the calculation for all my selection.. My full code is as...
4
by: Iwan Petrow | last post by:
Hi, I have a window form with controls (labels, buttons...). I want the user to have possibility to change the font (name and size) of the controls. But when the font is changed the size of the...
1
by: VR | last post by:
I designed an ASP.NET page and in the IDE design view the page looks just fine. It also looks fine when I view it in the browser on my development PC. When I look at the same page, using the...
2
by: steven | last post by:
Hello, I'm having some difficulties with labels. Suppose I have 2 labels, with a random text in the default font (Microsoft Sans Serif). I want to place them next to each other, with minimal...
1
by: Saso Zagoranski | last post by:
Hi, I've developed a Winforms application for a few people. It's a very basic Form with a few textboxes, comboboxes, buttons, labels and one PictureView. With 1024x768 screen resolution the...
0
by: benfly08 | last post by:
Hi, guys. I'm developing a web application for Sales Department people in my company. I used my 1024X768 resolution and "Medium" IE text size to test my Layout and it worked fine. However, some...
10
by: apparker | last post by:
I'm creating a new GUI for a program and it is for a medical exam. There are so many different things to ask someone during a history it wastes too much space to make checkboxes for everything so I...
2
by: Mike Borrowdale | last post by:
-- Hi, my application simulates a panel of scientific instruments. Digital readouts are provided by label components embedded in a TableLayoutPanel with the rows and columns set to...
6
by: Miro | last post by:
Is there a way to / or a mathematical formula to see if a font size is 'too big' for a label. I have a label that is docked to 'fill' a form, and I want to resize that font based on the width...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
jinu1996
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...
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...

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.