Page 1 of 1

1 decimal place for legend.texttyle = ltsLeftPercent

Posted: Mon Jun 27, 2016 11:07 pm
by 16577368
Is there an easy way to make the legend only show one decimal point when the TextStyle = ltsLeftPercent? By default, it shows 2.

Thank you,

Ed Dressel

Re: 1 decimal place for legend.texttyle = ltsLeftPercent

Posted: Tue Jun 28, 2016 1:41 pm
by yeray
Hi Ed,

You can use the series' PercentFormat property. Ie:

Code: Select all

Chart1[0].PercentFormat:='##0.# %';  //default '##0.## %'