Dynamically change GraphSource through PopulateGraphSource method

2 posts, 0 answers
  1. Saher
    Saher avatar
    20 posts
    Member since:
    Jul 2013

    Posted 16 Jul 2013 Link to this post

    Hello,

    I am facing an issue where my graph is tree layout and looks fine initially. However, if I choose to change GraphSource upon user input/ clicks using PopulateGraphSource like in the OrgChart example, I get all the nodes stacked on top of each other with no links and all in corner.

    I tried resetting graphSource by creating a new one  
    this.graphSource = new GraphSource();

    I also tried to use the Clear method for GraphSource. Neither did solve the problem, I keep having the same issue.

    I am using
    ObservableCollection<Node> hierarchicalDataSource;
    to fill up my GraphSource object.

    All I do is create a new one and then call
    PopulateGraphSource();
    method.


  2. Hristo
    Admin
    Hristo avatar
    352 posts

    Posted 19 Jul 2013 Link to this post

    Hi Saher,

    Could you please send us a sample project we could investigate? This would be the best way to assist you with the issue. Otherwise there are many possible scenarios we could miss that are causing the issues you are facing.

    I am changing the tread type to general feedback so you could be able to attach zip files.

    Regards,
    Hristo
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
Back to Top