Add Method to add new Visualization
Opened this issue · 0 comments
pchlupacek commented
Is your feature request related to a problem? Please describe.
If the dashboard header is hidden, there is no way to add the new visualisation, b/c also the Add visualisation button is hidden. Having method that triggers adding visualisation programatically allows to trigger that action from custom UI.
Describe the solution you'd like
Add method to RealView "addVisualisation". If possible, I would like to be able to specify which visualisation to add.
Describe alternatives you've considered
There is a undocumented access to simulate click:
revealView._dashboardView._headerView.__addSplitButton.mainClicked();