mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-08 08:12:17 +01:00
Add wait for report with chart
This commit is contained in:
committed by
Constantin Graf
parent
a4d8a02b80
commit
05da595470
@@ -37,6 +37,9 @@
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
window.status = 'processing';
|
||||
</script>
|
||||
<script src="echarts.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
@@ -190,6 +193,10 @@
|
||||
]
|
||||
};
|
||||
|
||||
myChart.on('finished', () => {
|
||||
window.status = 'ready';
|
||||
})
|
||||
|
||||
// Display the chart using the configuration items and data just specified.
|
||||
myChart.setOption(option);
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user