Charts with percentages

Stimulsoft Reports.NET discussion
Post Reply
frisco434
Posts: 24
Joined: Tue Jul 20, 2010 8:30 am
Location: Toledo

Charts with percentages

Post by frisco434 »

Hey all,

Any help would be appreciated if possible. We have a report that has a chart, we have a argument as a string and a value as a value in percent(double) (e.g 5, 10 ,65.5) but we have not figured out how to make the value format with the percentage symbol. we tried setting the Vale Property in the chart design to {Format("{0:P2}", ourtable.ourcolumnname)} , and we tried setting the Format variable in Behavior->seriesLabel-> format to P2 but nothing will change the format to percentage. I guess im just asking are we doing this totally incorrect is there an easier way to do percentage charts?

Thanks for the suggestions !!!
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Charts with percentages

Post by Vladimir »

Hello,

Please set the Area.YAxis.Labels.Format property to P2.

Thank you.
frisco434
Posts: 24
Joined: Tue Jul 20, 2010 8:30 am
Location: Toledo

Charts with percentages

Post by frisco434 »

that worked thats for the help !
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Charts with percentages

Post by Andrew »

Always glad to help!
Post Reply