3
Vote

Can't get the how-to to work

description

First of all - thanks for the great free library. The demo app you provided works great and the charts look amazing.

I am trying to start from scratch using

https://modernuicharts.codeplex.com/documentation#howto1

but I can't get this one to work/show. Everything builds, runs, but no charts are shown. Am I missing something? The only thing I changed was the name of the view model (MainViewModel instead of TestPageViewModel)

I did the binding to datacontext using:

this.DataContext = new MainViewModel();

in the page constructor.

I added a demo I'm trying to run. The binding works fine with the ListView, but not with the charts.

Thanks!

file attachments

comments

raghavendrareddy wrote May 20, 2013 at 11:59 AM

Hi Igrali & Mandelkow,

Even I am facing the same issue..
Need help

XStone1974 wrote Nov 14, 2014 at 8:45 AM

Following costed me 4 hours of work - so I hope I can help another one not to run in the same issue:

Don't forget the getter and setter! If you forget to implement them, no charts data will be displayed!

// Don't use this:
public class TestClass
{
public string Category;
public int Number;
}

// This will work:
public class TestClass
{
public string Category { get; set; }
public int Number { get; set; }
}


ARGH!

wrote Nov 14, 2014 at 9:17 AM

kawsidw wrote Jun 1, 2015 at 10:41 AM

I've got the same issue, but I have got the getter and setter...