feat: 优化波形渲染性能与交互
All checks were successful
Package component / package (push) Successful in 5m56s

This commit is contained in:
李启源
2026-07-22 16:36:48 +08:00
parent 356f55c9fd
commit 5b0ba7413e
35 changed files with 8208 additions and 246 deletions

View File

@@ -3,7 +3,7 @@ import { computed } from 'vue'
import { resolveWaveformPointErrors } from '../../core'
import type { TrackLayout, TrackSeriesPath } from '../core/types'
import { waveformPointSeriesPath } from './seriesStyle'
import { waveformLineDasharray, waveformPointSeriesPath } from './seriesStyle'
const props = defineProps<{
track: TrackLayout
@@ -63,8 +63,10 @@ const renderedSeriesPaths = computed<RenderedSeriesPath[]>(() =>
:data-series-name="seriesPath.series.name || undefined"
:data-y-axis-index="seriesPath.yAxisIndex"
:data-line-type="seriesPath.series.lineType"
:data-line-style="seriesPath.series.lineStyle"
:d="seriesPath.path"
:stroke="seriesPath.series.color"
:stroke-dasharray="waveformLineDasharray(seriesPath.series.lineStyle)"
/>
<g