I'm trying to add a drop down menu to a chart I have created on my dashboard but I can't seem to get it to work. The code for the chart on my dashboard is:
I'd like to add a drop down menu to this so that users can select the time span they would like for the search.
The code I have for the drop down menu is:
I've tried inserting this before row and after row but I still can't seem to get it to show up or work. Is there something anyone notices out of the ordinary that I could be missing?
asked 21 Dec '10, 20:31
The simplified XML uses the
So in light of that, one thing to try is changing your search to
(Note the $timeSpan$ token now living in the timechart clause)
An obvious problem with the stringreplace intention here is of course that the saved search will not function correctly outside of this one custom view. The $timeSpan$ argument will not get replaced when the search is run straight from the menu so it'll throw a search language syntax error. What you have to do then if you want that saved search to be both visible and functional, is to specify the search inline with
answered 21 Dec '10, 20:50
This is the xml that adds the time drop down menu and execute the new search when changed:
answered 28 Dec '10, 23:31
This actually works if I make a new "view" or dashboard and put this code in it. However I am having issues trying to incorporate this code with my current dashboard. At some point the view shows up as "None" in the views menu and when I click it I get an error.
I'm still looking into this but not sure why it's doing this.
answered 29 Dec '10, 15:59