1
0
mirror of https://github.com/s00500/ESPUI.git synced 2025-06-12 09:20:39 +00:00

Graph Frontend work

- Adds graph js file
- Adds graph styles
This commit is contained in:
2019-04-15 13:49:15 +02:00
parent 36cfe78205
commit bff259008f
9 changed files with 423 additions and 30 deletions

View File

@ -1014,3 +1014,47 @@ input::-moz-focus-inner,
input::-moz-focus-outer {
border: 0;
}
/* Styles for Graph widget */
svg {
display: block;
width: 100%;
height: 100%;
}
.y-axis path,
.x-axis path {
stroke: gray;
stroke-width: 1;
fill: none;
}
.series {
stroke: steelblue;
stroke-width: 3;
fill: none;
}
.data-points circle {
stroke: steelblue;
stroke-width: 2;
fill: white;
}
.data-points text {
display: none;
}
.data-points circle:hover {
fill: steelblue;
stroke-width: 6;
}
.data-points circle:hover + text {
display: inline-block;
}
text {
text-anchor: end;
}

File diff suppressed because one or more lines are too long