Group: Forum Members
Last Active: 12 Years Ago
Posts: 6,
Visits: 1
|
How do I change the Pie Chart Label font size?
I was able to change the color, i tried this:
pie.DataLabelStyle.TextStyle.FontStyle = New NFontStyle(ddlFont.SelectedValue, ddlItemFontSize.SelectedValue) pie.DataLabelStyle.TextStyle.FillStyle = New NColorFillStyle(cpLabelColor.SelectedColor)
i was able to change the color, but not the font style/size?
on the same note, how do you turn of the outline box? I found the following mention for but how do you do that in code?
"In order to change the data label style (from Text Style), you will also have to change the default Appearance options. From Chart > Chart Areas > Appearance, uncheck Automatic and Outline Data Labels."
|