Skip to content

Font Bold on series labels

New Discussion
snail
snail asked on Aug 19, 2008 9:44 AM

To make the series labels bold I wrote

 

Me.Chart.Axis.X.Labels.SeriesLabels.Font.Style.Bold = True

but this isn’t working. Where am I going wrong? Some help please

Thanks

 

Sign In to post a reply

Replies

  • 0
    Steve
    Steve answered on Aug 19, 2008 9:44 AM

     Font.Style is Read Only.

    I do not know what the VB equivalent is, but in C# you have to do something like:

    Me.Chart.Axis.X.Labels.SeriesLabels.Font = new System.Drawing.Font("Verdana", 9, System.Drawing.FontStyle.Bold);

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
snail
Favorites
0
Replies
1
Created On
Aug 19, 2008
Last Post
18 years, 2 months ago

Suggested Discussions

Created by

Created on

Aug 19, 2008 9:44 AM

Last activity on

Feb 25, 2026 9:18 AM