[]
        
(Showing Draft Content)

Setting the Font Style for Data Labels

To set the font style for the data labels for example, to bold use the following code:

To write code in Visual Basic

label.Style.Font = New System.Drawing.Font("Arial", 10, System.Drawing.FontStyle.Bold)

To write code in C#

label.Style.Font = new System.Drawing.Font("Arial", 10, System.Drawing.FontStyle.Bold);

See Also

Adding a Data Label on Top of Each Bar