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

Bind zu Dictionary

1 Answer 49 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Ralf
Top achievements
Rank 1
Ralf asked on 20 Apr 2011, 02:00 PM
Hello,

my ItemsSouce is a Dictonary (Dictionary<DateTime, Dictionary<Enum, long>).

With this i want display data by a StackedBar100. My DateTime should be the XCategory and the nested Dictionary the stacked values. My ItemsSource is binded via MVVM.

How can i bind this?

Thanks in advance

Ralf

1 Answer, 1 is accepted

Sort by
0
Vladimir Milev
Telerik team
answered on 25 Apr 2011, 02:50 PM
Hi Ralf,

You can data bind your chart using manual series mappings. Just bind the appropriate data point members to your KeyValuePair's "Value" and "Key" properties.

Best wishes,
Vladimir Milev
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
Tags
Chart
Asked by
Ralf
Top achievements
Rank 1
Answers by
Vladimir Milev
Telerik team
Share this question
or