Sorry for the triple post (no edit function ?), but I found the solution :
var result = from aum in aumList where aum.Date == aDate select new { aum.AUMPart, aum.CodeShare };
foreach (var item in result.ToList())
{
pie.Add(item.AUMPart, item.CodeShare);
}
Thanks =)
Search found 6 matches
- Tue May 31, 2011 2:10 pm
- Forum: .NET
- Topic: Pie Chart and List of Object Lists
- Replies: 9
- Views: 6284
- Tue May 31, 2011 1:38 pm
- Forum: .NET
- Topic: Pie Chart and List of Object Lists
- Replies: 9
- Views: 6284
Re: Pie Chart and List of Object Lists
Just one more little question.
How can I add the ID corresponding to my Product in the Chart Legend ?
Thank you.
How can I add the ID corresponding to my Product in the Chart Legend ?
Thank you.
- Tue May 31, 2011 12:32 pm
- Forum: .NET
- Topic: Pie Chart and List of Object Lists
- Replies: 9
- Views: 6284
Re: Pie Chart and List of Object Lists
Hi Sandra,
Your recommendation was very helpful and solved my problem.
Thank you very much =)
Best regards.
Your recommendation was very helpful and solved my problem.
Thank you very much =)
Best regards.
- Mon May 30, 2011 1:23 pm
- Forum: .NET
- Topic: Pie Chart and List of Object Lists
- Replies: 9
- Views: 6284
Re: Pie Chart and List of Object Lists
Hi Sandra,
Here's the simple project I created for you. It's a little simplistic but it's more or less what I've done in my real project.
Thank you.
Here's the simple project I created for you. It's a little simplistic but it's more or less what I've done in my real project.
Thank you.
- Mon May 30, 2011 9:41 am
- Forum: .NET
- Topic: Pie Chart and List of Object Lists
- Replies: 9
- Views: 6284
Re: Pie Chart and List of Object Lists
Hi Sandra, Thank you for the answer. I tried to follow your advices but nothing is displaying in the chart. Here's the code I used : foreach (List<AUM> item in aListOfAumLists) { pie.Add(from aum in item where aum.Date == aDate select aum.AUMPart); } Is there a problem with it or am I misunderstandi...
- Thu May 26, 2011 3:06 pm
- Forum: .NET
- Topic: Pie Chart and List of Object Lists
- Replies: 9
- Views: 6284
Pie Chart and List of Object Lists
Hi, I have a little problem of understanding with the Pie Chart. I'll try to describe my problem with an example : 1°) I have one product which contains several properties which have a particular value in a specific date 2°) My ProductValueDateList contains one product's values for several date 3°) ...