File tree 3 files changed +58
-4
lines changed
3 files changed +58
-4
lines changed Original file line number Diff line number Diff line change 15
15
16
16
< section id ="mocks-list "> </ section >
17
17
< div id ="plots ">
18
- < div id ="graph "> </ div >
18
+ < div id ="graph " style =" width: 600px; height: 500px; " > </ div >
19
19
</ div >
20
20
< div id ="snapshot "> </ div >
21
21
22
22
< script type ="text/javascript " src ="../../dist/extras/mathjax/MathJax.js?config=TeX-AMS-MML_SVG "> </ script >
23
23
< script id ="source " type ="text/javascript " src ="../../build/plotly.js "> </ script >
24
24
< script type ="text/javascript " src ="../../test/image/strict-d3.js " charset ="utf-8 "> </ script >
25
25
< script type ="text/javascript " src ="../../build/test_dashboard-bundle.js "> </ script >
26
+ < script type ="text/javascript " src ="./test.js "> </ script >
26
27
</ body >
27
28
</ html >
Original file line number Diff line number Diff line change
1
+ var trace1 = {
2
+ x : [ 1 , 2 , 3 , 4 ] ,
3
+ y : [ 10 , 15 , 13 , 17 ] ,
4
+ mode : 'markers' ,
5
+ type : 'scattergl' ,
6
+ marker :{ size :30 , color : 'red' , symbol : 'asterisk' }
7
+ } ;
8
+
9
+ var data = [ trace1 ] ;
10
+
11
+ var layout = {
12
+ title :'Line and Scatter Plot' ,
13
+ height : 400 ,
14
+ width : 480
15
+ } ;
16
+
17
+ Plotly . newPlot ( 'graph' , data , layout ) ;
Original file line number Diff line number Diff line change @@ -16,6 +16,42 @@ module.exports = {
16
16
'square-open' : '□' ,
17
17
diamond : '◆' ,
18
18
'diamond-open' : '◇' ,
19
- cross : '+' ,
20
- x : '❌'
21
- } ;
19
+ cross : '➕' ,
20
+ x : '❌' ,
21
+ 'triangle-up' : '▲' ,
22
+ 'triangle-up-open' : '△' ,
23
+ 'triangle-down' : '▼' ,
24
+ 'triangle-down-open' : '▽' ,
25
+ 'triangle-left' : '◄' ,
26
+ 'triangle-left-open' : '◁' ,
27
+ 'triangle-right' : '►' ,
28
+ 'triangle-right-open' : '▷' ,
29
+ 'triangle-ne' : '◥' ,
30
+ 'triangle-ne-open' : '◹' ,
31
+ 'triangle-nw' : '◤' ,
32
+ 'triangle-nw-open' : '◸' ,
33
+ 'triangle-se' : '◢' ,
34
+ 'triangle-se-open' : '◿' ,
35
+ 'triangle-sw' : '◣' ,
36
+ 'triangle-sw-open' : '◺' ,
37
+ 'pentagon' : '⬟' ,
38
+ 'pentagon-open' : '⬠' ,
39
+ 'hexagon' : '⬢' ,
40
+ 'hexagon-open' : '⬡' ,
41
+ 'hexagon2' : '⬣' ,
42
+ 'star' : '★' ,
43
+ 'star-open' : '☆' ,
44
+ 'hexagram' : '✶' ,
45
+ 'diamond-tall' : '♦' ,
46
+ 'diamond-tall-open' : '♢' ,
47
+ 'hourglass' : '⧗' ,
48
+ 'hourglass-open' : '⧖' ,
49
+ 'bowtie' : '⧓' ,
50
+ 'bowtie-open' : '⋈' ,
51
+ 'circle-cross' : '⊕' ,
52
+ 'circle-x' : '⊗' ,
53
+ 'square-cross' : '⊞' ,
54
+ 'square-x' : '⊠' ,
55
+ 'cross-thin' : '+' ,
56
+ 'asterisk' : '✱'
57
+ } ;
You can’t perform that action at this time.
0 commit comments