File tree Expand file tree Collapse file tree 3 files changed +58
-4
lines changed Expand file tree Collapse file tree 3 files changed +58
-4
lines changed Original file line number Diff line number Diff line change 1515
1616 < section id ="mocks-list "> </ section >
1717 < div id ="plots ">
18- < div id ="graph "> </ div >
18+ < div id ="graph " style =" width: 600px; height: 500px; " > </ div >
1919 </ div >
2020 < div id ="snapshot "> </ div >
2121
2222 < script type ="text/javascript " src ="../../dist/extras/mathjax/MathJax.js?config=TeX-AMS-MML_SVG "> </ script >
2323 < script id ="source " type ="text/javascript " src ="../../build/plotly.js "> </ script >
2424 < script type ="text/javascript " src ="../../test/image/strict-d3.js " charset ="utf-8 "> </ script >
2525 < script type ="text/javascript " src ="../../build/test_dashboard-bundle.js "> </ script >
26+ < script type ="text/javascript " src ="./test.js "> </ script >
2627</ body >
2728</ 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 = {
1616 'square-open' : '□' ,
1717 diamond : '◆' ,
1818 '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