Iframe-PlotlyJs-Comp.vue
This commit is contained in:
@ -5,7 +5,7 @@ const compRef = useTemplateRef('compRef');
|
||||
|
||||
onMounted(() => {
|
||||
console.debug('[onMounted] page 加载完成');
|
||||
compRef.value!.执行画图(
|
||||
compRef.value!.添加数据(
|
||||
频谱图数据, // 实际数据点为32768
|
||||
65_536, // FFT大小为65536
|
||||
96_000, // 采样率为96000
|
||||
@ -14,7 +14,7 @@ onMounted(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<IframePlotlyJsComp ref="compRef" style="width: 1400px; height: 400px; max-width: 100%" />
|
||||
<IframePlotlyJsComp ref="compRef" style="width: 1400px; height: 600px; max-width: 100%" />
|
||||
</template>
|
||||
|
||||
<style scoped></style>
|
||||
|
Reference in New Issue
Block a user