Multiple Selections with Perspective Tree

I’m trying to set up a Tree control in Perspective to act as a tag browser to select which tags show up on an XYChart and I want to be able to organize the tags by regions (folders).

I’d like to be able to select multiple tags from the Tree but it appears to only select one at a time. I’m not sure if I’m missing a property somewhere or if this control only allows single selection. It seems like you should be able to select multiples because the control has “selection” and “selectionData” properties which I presume are arrays corresponding with the items on the tree.

My general idea was to create a series for each tag I have on the tree control and send tag data for the selected series through a message to the chart when a “refresh” button is pressed.

I’m also interested in any suggestions if my approach is wrong. I am aware of the ability to use toggle buttons and a refresh button but the user of this system doesn’t prefer that implementation.


Terribly sorry for the delay. You’ve probably already figured it out by now, but just in case. You should be able to select multiple items by holding the ‘command’ on macOS, or ‘control’ on Windows, and clicking the individual items. Doing so should populate the selection and selectionData arrays.

I don’t see anything wrong with your approach. There may be some performance considerations, but that’s pretty much always a consideration ;).


Thanks for the reply. I ended up developing an implementation that uses about 100 toggle buttons but I think I’m going to revisit the tree view.

I prefer the tree view from an organization standpoint. Also, now that I understand how to use a json editor with the designer I can knock out this kind of work a lot faster.