This is a migrated thread and some comments may be shown as answers.

Custom label format

2 Answers 106 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
harlowhair
Top achievements
Rank 1
harlowhair asked on 11 Oct 2010, 12:40 PM
Hi,

I am displaying a Pie Chart which is bound to a SqlDataSource.  I can choose which lables are displayed on the chart by entering the appropriate column name in the series configuration, so can have the labels as either the item name or the value.  I would like to use both however where the item name is displayed with the value in brackets after it.  Is this possible?

Thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Peter
Telerik team
answered on 12 Oct 2010, 04:49 PM
Hi harlowhair,

To use both the item name and value for chart's labels our suggestion is to add Calculated Field to the SqlDataSource component with an expression that concatenates the item name and value. Than you can set the chart's labels to the calculated field.

Regards,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
harlowhair
Top achievements
Rank 1
answered on 13 Oct 2010, 11:04 AM
Just what I needed - thanks
Tags
General Discussions
Asked by
harlowhair
Top achievements
Rank 1
Answers by
Peter
Telerik team
harlowhair
Top achievements
Rank 1
Share this question
or