c# - Object does not match target type with WinRT XAML Toolkit Chart -



c# - Object does not match target type with WinRT XAML Toolkit Chart -

as stated in title, i've got exception when seek utilize winrt xaml toolkit's chart.

here's quick snippet of code:

public observabledictionary<string, int> mydict { get; set; } ... <charting:chart grid.row="2" margin="0"> <charting:chart.series> <charting:lineseries itemssource="{binding mydict}" independentvaluebinding="{binding key}" dependentvaluebinding="{binding value}"/> </charting:chart.series> </charting:chart>

i can't find useful online , don't want forced write new class wraps 2 items in order bind list because it's quite nonsense.

any idea?

c# xaml windows-runtime windows-phone-8.1

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -