forked from beilinli/cellblender-browser-plot
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplot-main.html
More file actions
Latest commit
154 lines (137 loc) · 4.99 KB
/
Copy pathplot-main.html
File metadata and controls
154 lines (137 loc) · 4.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<!DOCTYPE html>
<htmllang="en">
<head>
<metacharset="utf-8">
<title>Main plot</title>
<scriptsrc="external/all-min.js"></script>
<linkrel='stylesheet' type = "text/css",ahref='external/all-min.css' />
<linkrel="stylesheet",type="text/css",ahref = "plot-main.css" />
</head>
<body>
<!-- left panel -->
<divid = "settings-panel" class = "side-panel">
<!-- plot range and chart display options -->
<divid = "chart-settings">
<b>Plot range</b><br/>
<b>x</b> from
<inputtype = "number" id = "x-min" class = "plot-range">
to <inputtype = "number" id = "x-max" class = "plot-range">
<br/>
<b>y</b> from <inputtype = "number" id = "y-min" class = "plot-range">
to <inputtype = "number" id = "y-max" class = "plot-range"><br/>
<b>Chart background</b>
<inputtype = "color" id = "chart-color">
<br/><br/>
<b>Show legend</b>
<inputtype = "checkbox" id = "toggle-legend" checked>
<text> </text>
<b>Show lines</b>
<inputtype = "checkbox" id = "toggle-ls" checked><br/>
<b>Point marker</b>
<selectid = "mark-type" checked>
<optionvalue = "true">All points</option>
<optionvalue = "null" selected>Sparse</option>
<optionvalue = "false">None</option>
</select>
<br/>
</div>
<!-- series display options -->
<divid = "series-view">
<!-- series list area -->
<divclass = "select-series">
<buttonid = "remove-series">Remove</button>
<buttonid = "show-all">Show</button>
<buttonid = "hide-all">Hide</button><br/><br/>
<inputtype = "text" id = "search-series"><br/>
<!-- option name and value equal series name -->
<selectmultiplesize = "7" id = "series-list">
</select><br/><br/>
<span> </span>Add series <br/>
<inputtype = "file" id = "add-series" multiple>
</div>
<divid = "set-series">
<spanclass = "one-series"> </span><br/>
<spanclass = "one-series space"></span>
<spanclass = "one-series">Upload plot data</span><br/>
<inputtype = "file" id = "series-data"><br/><br/>
<spanclass = "one-series">Name</span><inputtype = "text" id = "series-name"><br/><br/>
<spanclass = "text">Color</span><inputtype = "color" id = "series-color">
<br/><br/><spanclass = "text">Symbol</span>
<selectid = "series-symbol">
<optionname = "circle">circle</option>
<optionname = "square">square</option>
<optionname = "diamond">diamond</option>
<optionname = "triangle">triangle</option>
<optionname = "triangle-down">triangle-down</option>
</select>
<br/><br/>
<buttonid = "gen-mean">Plot mean</button>
<buttonid = "gen-hist">Histogram</button>
</div>
</div>
</div>
<divid = "inner-expand" class = "expand">
<span>⇽</span>
</div>
<divid = "spreadsheet-panel" class = "side-panel">
<divid = "sheet-search">
<b>Find by x</b><text> </text><inputtype = "number" id = "sheet-series-x"><br/>
<textclass = "sheet-search-error">No such x-value</text>
</div>
<tableid = "series-spreadsheet">
<theadid = "sheet-header">
<tr>
<thcolspan = "2" id = "sheet-title">No series selected</th></tr>
</thead>
<tbodyid = "sheet-data">
</tbody>
</table>
</div>
<divid = "outer-expand" class = "expand">
<span>⇾</span>
</div>
<!-- chart area -->
<divid = "chart-container">
<divid = "chart"></div>
</div>
<!-- edit chart title -->
<divclass = "edit-label" id = "edit-title">
Title <inputtype = "text" class = "label-text"><br/>
<!-- options in plot-main.js -->
Font <selectclass = "label-font"></select>
<span></span>
<inputtype = "color" class = "label-color">
<span></span>
<inputtype = "number" class = "label-size"><br/>
<buttonclass = 'apply-label'>Apply</button>
<buttonclass = 'cancel'>Cancel</button>
</div>
<!-- edit x-axis label -->
<divclass = "edit-label" id = "edit-x-label">
Title <inputtype = "text" class = "label-text"><br/>
Font <selectclass = "label-font"></select>
<span></span>
<inputtype = "color" class = "label-color">
<span></span>
<inputtype = "number" class = "label-size"><br/>
Tick interval <inputtype = "number" class = "tick-interval"><br/>
<buttonclass = 'apply-label'>Apply</button>
<buttonclass = 'cancel'>Cancel</button>
</div>
<!-- edit y-axis label -->
<divclass = "edit-label" id = "edit-y-label">
Title <inputtype = "text" class = "label-text"><br/>
Font <selectclass = "label-font"></select>
<span></span>
<inputtype = "color" class = "label-color">
<span></span>
<inputtype = "number" class = "label-size"><br/>
Tick interval <inputtype = "number" class = "tick-interval"><br/>
<buttonclass = 'apply-label'>Apply</button>
<buttonclass = 'cancel'>Cancel</button>
</div>
<!-- main script -->
<scriptsrc = "common-display.js"></script>
<scriptsrc = "plot-main.js"></script>
</body>
</html>