ComboBox/PullDown Menu/Select List for Attribute Selection
|Assignee:||Pat Stickney||% Done:|
|Required by:||ProvPlan, Providence, RI|
A really useful feature for non-programmer administrators would be a configurable combo box/pull down menu/select list of attributes/indicators tool that you could add to a visualization. Basically, this would be another UI option for attribute selection.
The ideal implementation would require/allow the admin to select:
1) the tool(s) to which the menu selection would apply,
2) the layers/axes within the tool(s) to which the menu selection would apply,
3) the data source(s) to pull the attributes from, and
4) the attributes to include in the menu.
I realize this could be tricky to implement and don't know if you could do it globally or by attaching it to a particular/individual tool.
Although the API already allows for this (at least that is my understanding), this feature would be great because the menu(s) would be integrated within the visualization and thus allow more flexibility in terms of layout, and it would allow non-programmers an easy way to provide more intuitive access to attribute selection (particularly in dashboard-ish visualizations).
#2 Updated by Andy Dufilie about 6 years ago
Create a new tool called AttributeMenuTool containing a combo box and the following control panel
[combo box to select a tool]
[combo box to select an attribute from tool.getSelectableAttributeNames()]
[ColumnListComponent containing the attribute columns that appear in the combo box of the AttributeMenuTool]
#3 Updated by Rebecca Lee about 6 years ago
If it helps, I've attached a session state we're using for a "report" in the datahub. Reports should be very simple for people to use, but it is rather complicated for a novice user to navigate the hierarchy of the attribute selector and change the height attribute (and the sort attribute, if they want it to look nice). Here is a link to a similar report so you can have a feel for the constraints we're working with: http://tinyurl.com/7tnj9er
#7 Updated by Rebecca Lee about 6 years ago
Thanks, we will use it a ton! Will I be able to see the implementation here: http://demo.oicweave.org:8080/weave.html?file=obesity.xml tomorrow?