Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
730
Font Bold on series labels
posted

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

Parents
No Data
Reply
  • 80
    posted

     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);

Children
No Data