forked from StudioInfinity/dyna3
Show the loss history from the last realization
This introduces a dependency on the Charming crate, which we use to plot the loss history, and the ECharts JavaScript library, which Charming depends on. Now that there's more than one canvas on the page, we have to pick out the display by ID rather than by element type in our style sheet.
This commit is contained in:
parent
679c421d04
commit
0b333ac00d
10 changed files with 660 additions and 11 deletions
|
@ -172,9 +172,17 @@ details[open]:has(li) .element-switch::after {
|
|||
color: var(--text-invalid);
|
||||
}
|
||||
|
||||
/* diagnostics */
|
||||
|
||||
#loss-history {
|
||||
margin: 10px;
|
||||
background-color: var(--display-background);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
/* display */
|
||||
|
||||
canvas {
|
||||
#display {
|
||||
float: left;
|
||||
margin-left: 20px;
|
||||
margin-top: 20px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue