Skip to content

Commit a8dda91

Browse files
committed
Merge branch 'feat/test_ossp' into pre-release/2.0.6-alpha.2
2 parents 529a9ec + 9d5dfd1 commit a8dda91

File tree

1 file changed

+3
-2
lines changed
  • packages/vmind/src/atom/specInsight

1 file changed

+3
-2
lines changed

packages/vmind/src/atom/specInsight/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable @typescript-eslint/no-explicit-any */
12
import type { SpecInsightCtx, SpecInsightOptions } from '../../types';
23
import { AtomName } from '../../types/atom';
34
import { BaseAtom } from '../base';
@@ -9,7 +10,7 @@ import { isStackChart } from '../dataInsight/utils';
910
import { Factory } from '../../core/factory';
1011
import type { BaseAtomConstructor } from '../../types';
1112
import type { DataItem } from '@visactor/generate-vchart';
12-
import VChart from '@visactor/vchart';
13+
1314
// 辅助函数:通用值比较
1415
function compareValues(a: any, b: any): number {
1516
// 如果是日期字符串,转换为时间戳比较
@@ -415,7 +416,7 @@ export class SpecInsightAtom extends BaseAtom<SpecInsightCtx, SpecInsightOptions
415416
// return [0]; // 其他数据用实线
416417
// })`
417418

418-
spec.line.style.lineDash = function (data) {
419+
spec.line.style.lineDash = function (data: any) {
419420
return data.forecast ? [5, 5] : [0];
420421
};
421422

0 commit comments

Comments
 (0)