Pie Chart Label size


Author
Message
Khanh Nguyen
Khanh Nguyen
Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)
Group: Forum Members
Posts: 6, Visits: 1
thanks, that works!
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K

Hi Khanh,

You need to simply change the emsize:

pieSeries.DataLabelStyle.TextStyle.FontStyle.EmSize = new NLength(10, NGraphicsUnit.Point);

Regarding the other text style properties you can take a look at the following topic in the docs:

http://helpdotnetvision.nevron.com/Presentation_Graphics_AppearanceStyles_TextStyle_Text_Style.html

(the one you're looking at refers to the chart for SSRS,  not the .NET component).

 



Best Regards,
Nevron Support Team


Khanh Nguyen
Khanh Nguyen
Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)
Group: Forum Members
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."



GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search