Bind Axis

2 posts, 0 answers
  1. Márcio Fábio Althmann
    Márcio Fábio Althmann avatar
    8 posts
    Member since:
    Nov 2009

    Posted 09 Mar 2010 Link to this post

    Hello, i need bind axis x, y with property of my class, its possible?

    var lista = new List<Cliente>();
    lista.Add(new Cliente { Nome = "Márcio", Total = 100});
    lista.Add(new Cliente { Nome = "Márcio2", Total = 150});
    lista.Add(new Cliente { Nome = "Márcio3", Total = 160});
    lista.Add(new Cliente { Nome = "Márcio4", Total = 170});
    lista.Add(new Cliente { Nome = "Márcio5", Total = 180});
    grafico.ItemsSource = lista;

    In chart, is possible show Nome Property on x axis?
  2. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 10 Mar 2010 Link to this post

    Hi Márcio,

    We would suggest you to review this help article here that demonstrates how to achieve the desired functionality.

    Hope this helps.


    Greetings,
    Freddie
    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.
Back to Top