Skip to content

Commit 2de1621

Browse files
committed
fix: fix bug of import data_index
1 parent 92654ff commit 2de1621

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/vchart-extension/src/charts/compare-sankey/compare-sankey.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { DEFAULT_DATA_KEY } from './../../../../vchart/src/constant/data';
21
import type { SankeyLinkElement } from '@visactor/vlayouts/es/sankey';
32
import type { ICompareSankeyChartSpecBase, ICompareSankeySeriesSpecBase } from './interface';
43
import type { Datum, ILinkPathMarkSpec, IRectMarkSpec } from '@visactor/vchart';
@@ -11,7 +10,8 @@ import {
1110
STATE_VALUE_ENUM,
1211
AttributeLevel,
1312
getDatumOfGraphic,
14-
DEFAULT_DATA_INDEX
13+
DEFAULT_DATA_INDEX,
14+
DEFAULT_DATA_KEY
1515
} from '@visactor/vchart';
1616
import { DataView } from '@visactor/vdataset';
1717
import { CompareSankeyChartSpecTransformer } from './compare-sankey-transformer';

0 commit comments

Comments
 (0)