type SyncPlotDatum = { x_value: number, y_value: number }
var random_sync_data : SyncPlotDatum[] = [];
function generate_sync_data() {
random_sync_data.length = 0;
for (let x = 0; x < 100; x += 5 * Math.random()) {
random_sync_data.push({
x_value: x,
y_value: 10 * Math.random(),
});
}
}