This discussion is archived
1 Reply Latest reply: Jun 5, 2007 6:56 AM by Frank Nimphius RSS

Creating Graph based on runtime conditions

577627 Newbie
Currently Being Moderated
Right now i am able to create Graphs based on Views. But my requirement is that, if i click on certain component, i should be able to crate another graph at runtime which will display information based on the Clicked Component of original graph.
Any help will be appreciated.

  • 1. Re: Creating Graph based on runtime conditions
    Frank Nimphius Employee ACE
    Currently Being Moderated

    I think the options are

    - create a second graph and hide it at runtime
    - create the graph on the fly in a managed bean, wich is quite a bit of code to write, that is justified if the "generated" graph is different (e.g. different model data) for each master selection.

    The first approach should be doable by detecting the selected information on the master graph and the query the detail iterator accordingly + displaying it.

    The second approach is a deep dive into the graph model APIs because you will have to code this all manually. Note that we don't have documentation for this approach yet