Profile Picture

Pie Chart Label size

Posted By Khanh Nguyen 12 Years Ago
Author
Message
Khanh Nguyen
Posted 12 Years Ago
View Quick Profile
Forum Newbie

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
Last Active: 12 Years Ago
Posts: 6, Visits: 1
thanks, that works!

Nevron Support
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

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
Posted 12 Years Ago
View Quick Profile
Forum Newbie

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
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."






Similar Topics


Reading This Topic