0

I am trying to create a single bold DataLabel on a chart using SpreadsheetGear. I can set the number to be Green using the code below:

DataLabels(0).NumberFormat = "[Green]###,###,##0"

But when I attempt to set a property of the Font nothing appears to happen. I have tried the below with no success.

DataLabels(0).Font.Bold = True
Joe
  • 3
  • 2

1 Answers1

0

The code you have should work. If you have other code that is manipulating the series that the data labels belong to, try putting the line

DataLabels(0).Font.Bold = True

after any such code.

Daniel
  • 5,602
  • 4
  • 33
  • 36
  • 1
    Thanks, I moved that code to the end of my chart generation and it does indeed work as expected. – Joe Feb 21 '14 at 14:09