Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
iCity
EnergyDashboard
Commits
6db57cbe
Commit
6db57cbe
authored
3 years ago
by
Pithon Kabiro
Browse files
Options
Download
Email Patches
Plain Diff
Add a chart type dropdown list
parent
b8e74352
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
index.html
+13
-2
index.html
public/js/dropDownList.js
+1
-1
public/js/dropDownList.js
with
14 additions
and
3 deletions
+14
-3
index.html
+
13
-
2
View file @
6db57cbe
...
...
@@ -139,21 +139,32 @@
<div
class=
"nowrap"
>
<select
id=
"drop-down--bldg"
></select>
</div>
<br
/>
</div>
<br
/>
<div
id=
"drop-down--sensor-parent"
>
<span><strong>
Sensor
</strong></span>
<div
class=
"nowrap"
>
<select
id=
"drop-down--sensor"
></select>
</div>
<br
/>
</div>
<br
/>
<div
id=
"drop-down--sampling-rate-parent"
>
<span><strong>
Sampling rate
</strong></span>
<div
class=
"nowrap"
>
<select
id=
"drop-down--sampling-rate"
></select>
</div>
</div>
<br
/>
<div
id=
"drop-down--chart-type-parent"
>
<span><strong>
Chart type
</strong></span>
<div
class=
"nowrap"
>
<select
id=
"drop-down--chart-type"
>
<option>
--Select--
</option>
<option>
Line
</option>
<option>
Heatmap
</option>
</select>
</div>
</div>
<!-- <span><strong>Display Options</strong></span>
<div class="nowrap">
<input id="shadows" type="checkbox" />
...
...
This diff is collapsed.
Click to expand it.
public/js/dropDownList.js
+
1
-
1
View file @
6db57cbe
...
...
@@ -270,5 +270,5 @@ const runFromOptionThree = async function () {
};
document
.
querySelector
(
"
#drop-down--
sampling-rat
e
"
)
.
querySelector
(
"
#drop-down--
chart-typ
e
"
)
.
addEventListener
(
"
change
"
,
runFromOptionThree
);
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment