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

Pie Chart Item labels display System.Byte[]

1 Answer 58 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Fadhli
Top achievements
Rank 1
Fadhli asked on 21 Oct 2011, 04:50 AM
Hi,

I'm working with the pie chart in Telerik reporting. I've bind the dara source and assign the values. My pie chart turn out quite well, however the item labels shows System.Byte for all label.

FYI, I've already set the DataLabelsColumn  and the DataYColumns property in ChartSeries Collection Editor to the value from my query. So the pie chart looks like its getting the value but my item label only shows System.Byte[] for all.

Could anyone please clarify..

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 25 Oct 2011, 04:54 PM
Hello Fadhli,

What is the DataLabelsColumn data field type? Generally arrays can be represented in different ways and the default ToString() will return the type's name. Thus our suggestion is to expose string data field or utilize CalculatedFields and user functions to convert the array type to a string type.

Best wishes,
Peter
the Telerik team

Q2’11 SP1 of Telerik Reporting is available for download (see what's new). Get it today.

Tags
General Discussions
Asked by
Fadhli
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or