@@ -560,7 +560,7 @@ const Frequency = () => {
560560 return leftPos + ( rightPos - leftPos ) * progress ;
561561 } ;
562562
563- const targetFrequencyRange = [ 1000000 , 140000000 ] ;
563+ const targetFrequencyRange = [ 1900000 , 140000000 ] ;
564564 // const targetFrequencyRange: any = [];
565565
566566 // 如果是第一个类型组,添加频率标记
@@ -581,17 +581,17 @@ const Frequency = () => {
581581 . style ( 'pointer-events' , 'none' ) ;
582582
583583 // 添加标记线
584- // [startX, endX].forEach((x) => {
585- // frequencyMarkerGroup
586- // .append('line')
587- // .attr('x1', x) // 从顶部开始
588- // .attr('y1', 0) // 从顶部开始
589- // .attr('x2', x) // 到底部结束
590- // .attr('y2', totalHeight - margin.bottom) // 到底部结束
591- // .attr('stroke', 'green')
592- // .attr('stroke-width', 1 )
593- // .style('pointer-events', 'none');
594- // });
584+ [ startX , endX ] . forEach ( ( x ) => {
585+ frequencyMarkerGroup
586+ . append ( 'line' )
587+ . attr ( 'x1' , x ) // 从顶部开始
588+ . attr ( 'y1' , 0 ) // 从顶部开始
589+ . attr ( 'x2' , x ) // 到底部结束
590+ . attr ( 'y2' , totalHeight - margin . bottom ) // 到底部结束
591+ . attr ( 'stroke' , 'green' )
592+ . attr ( 'stroke-width' , 0.5 )
593+ . style ( 'pointer-events' , 'none' ) ;
594+ } ) ;
595595
596596 // 添加频率标签
597597 // [
0 commit comments