Interactive Timelion/vega Graphs from User inputs on Dashboard

Hi, Is it possible to draw different graphs based on selected input controls.
eg: If i have a data which corresponds to 5 users.

  • if nothing is selected in filter I would like to show single line graph (addition of all users)
    -if user1 and user2 are selected in filters, I would like to show 2lines, with these 2 users split.


@Rajesh2 I don't think you can analyze current filters from Vega. You can only add and remove filters from Vega. You could analyze data (e.g. see if results only have one of the users, or both, or something else too), and select which graph to show based on that. Or you could always get all the data, and offer a button to the user to change the type of the graph.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.