Jump to content
Software FX Community

Can I change the precision level of the % number displayed by a Pie chart?


User (Legacy)

Recommended Posts

Hello,

It seems a pie chart with PointLabels being true will always display the

percentage number with two-digit after the decimal point.

For example, 34.78%, 5.20%, ...etc.

Is there anyway to change the precision to only one-digit after decimal

point, like 34.8%, 5.2%, ...?

Thanks!

Chengwei Lin

Link to comment
Share on other sites

Please set the Decimals property for the AxisY.LabelsFormat object

chart1.AxisY.LabelsFormat.Decimals = 1;

JC

Software FX Support

"Chengwei Lin" <removethis_chengwei_lin_2@hotmail.com> wrote in message

news:gA9GcamYFHA.3688@webserver3.softwarefx.com...

> Hello,

>

> It seems a pie chart with PointLabels being true will always display the

> percentage number with two-digit after the decimal point.

> For example, 34.78%, 5.20%, ...etc.

> Is there anyway to change the precision to only one-digit after decimal

> point, like 34.8%, 5.2%, ...?

>

> Thanks!

>

> Chengwei Lin

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...