feat(chart): 增加炮号并优化 Tooltip 展示
All checks were successful
Package component / package (push) Successful in 4m5s

新增 WaveformSeries.shotNo 字段,Tooltip 展示炮号及坐标信息,并同步示例与测试。
This commit is contained in:
李启源
2026-08-17 10:14:44 +08:00
parent 54477ecbbd
commit 3692e21dbc
14 changed files with 110 additions and 64 deletions

View File

@@ -19,6 +19,7 @@ const chartData: WaveformData = {
series: [
{
id: 'voltage',
shotNo: '13300',
name: '电压',
unit: 'V',
color: '#1677ff',
@@ -33,6 +34,7 @@ const chartData: WaveformData = {
},
{
id: 'current',
shotNo: '13300',
name: '电流',
unit: 'mA',
color: '#d4380d',