File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
test-dashboard/toolpanel-dashboard Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ function createPlot (divId) {
31
31
graphDiv . style . verticalAlign = 'top' ;
32
32
33
33
toolDiv . className = 'toolDiv' ;
34
+ toolDiv . style . width = '500px' ;
34
35
35
36
containerDiv . appendChild ( toolDiv ) ;
36
37
containerDiv . appendChild ( graphDiv ) ;
@@ -54,14 +55,15 @@ function createPlot (divId) {
54
55
55
56
graphDiv . toolPanel = toolPanel = new ToolPanel ( Plotly , graphDiv , {
56
57
standalone : true ,
57
- popoverContainer : containerDiv
58
+ popoverContainer : containerDiv ,
59
+ menuStyle : 'minimal' ,
60
+ orientation : 'horizontal'
58
61
} ) ;
59
62
60
63
window . toolPanel = graphDiv . toolPanel ;
61
64
62
65
graphDiv . toolPanel . makeMenu ( {
63
- toolMenuContainer : toolDiv ,
64
- menuStyle : 'narrow'
66
+ toolMenuContainer : toolDiv
65
67
} ) ;
66
68
67
69
toolPanel . createMenuMultiButton ( [
You can’t perform that action at this time.
0 commit comments