Moon: thanks very much for creating a concrete example for me. It is great to know that I can get the InterpreterContext in my code to interact with almost anything I want.
This approach seems really promising to me, and it works for both setting keys and values. However, I encountered an issue when I try to configure the groups. It seems it doesn't really work for groups. Is this a bug or I did something wrong? I just used the code below to set the groups: graph.put("groups", Array(Group(1, "col2"))) Best, Zhong On Tue, Jan 19, 2016 at 12:15 PM, moon soo Lee <m...@apache.org> wrote: > Hi Zhong, > > I've made simple example that programmatically configure graph with > dynamic form. please check following link. > > http://s.apache.org/57E > > Theoretically, Angular Display System can do, but you'll need to build > everything from scratch. i.e. form, column selection, drag n drop, pivot, > graph, etc. > > Thanks, > moon > > On Tue, Jan 19, 2016 at 1:30 AM Zhong Wang <wangzhong....@gmail.com> > wrote: > >> Hi all, >> >> I am building an application on Zeppelin using dynamic forms to generate >> graphs. The change of some of the forms may change the number of columns of >> the output table, which requires the visualization to be reconfigured. >> Every time when I change these forms, I need to specify graph >> configurations, such as keys, groupby and values, to correct the graph. >> This is quite inconvenient. >> >> Is there anyway I can set the graph configurations programmatically based >> on the structure of my output data? Can Angular Display System achieve that? >> >> Thanks! >> >> Zhong >> >