Hi,
I try set format label on percent type, but i dont hnow how.
DataSourse is in format
KEY VALUE
Jan Plecháč 2. pokus 0.65
Jan Plecháč 1. pokus 0.48
I need on image write 65% and don´t 0,65%
Thank you for respond and sorry for my english
I try set format label on percent type, but i dont hnow how.
DataSourse is in format
KEY VALUE
Jan Plecháč 2. pokus 0.65
Jan Plecháč 1. pokus 0.48
I need on image write 65% and don´t 0,65%
Thank you for respond and sorry for my english
4 Answers, 1 is accepted
0
Jan
Top achievements
Rank 1
answered on 15 Apr 2012, 12:07 PM
Please any help???
0
Hello,
You can customize your labels forma by using DefaultLabelValue property like this for example:
"#%" is used for a percentage of the total sum (of all items).
Alternatively you could use:
which will add "%" to your series items labels.
Further information can also be found here:
http://www.telerik.com/help/aspnet-ajax/radchart-default-label-value.html
Hope this helps.
Regards,
Peshito
the Telerik team
You can customize your labels forma by using DefaultLabelValue property like this for example:
series1.DefaultLabelValue = #%;
Alternatively you could use:
series1.DefaultLabelValue = "#Y" + "%";
Further information can also be found here:
http://www.telerik.com/help/aspnet-ajax/radchart-default-label-value.html
Hope this helps.
Regards,
Peshito
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Jan
Top achievements
Rank 1
answered on 16 Apr 2012, 12:55 PM
if i try
series1.DefaultLabelValue = #%;
then write to chart 13% but right is 33%
And series1.DefaultLabelValue = "#Y" + "%";
then write only 0.33
Please help how i easy display chart with percent :(;
i get data from DB and give chart in dictionary
please help
series1.DefaultLabelValue = #%;
then write to chart 13% but right is 33%
And series1.DefaultLabelValue = "#Y" + "%";
then write only 0.33
Please help how i easy display chart with percent :(;
i get data from DB and give chart in dictionary
please help
0
Hello Jan,
Please, take a look at the attached sample demonstrating the use of DefaultLabelValue property and adding "%" at the end of the series items labels. If this does not help in solving your issue, could you please edit the sample so the problem be reproducible.
Regards,
Peshito
the Telerik team
Please, take a look at the attached sample demonstrating the use of DefaultLabelValue property and adding "%" at the end of the series items labels. If this does not help in solving your issue, could you please edit the sample so the problem be reproducible.
Regards,
Peshito
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.