diff --git a/src/component/graphic/install.ts b/src/component/graphic/install.ts index bda54f396df3595ff4b94bfb85a4c91c29dd1498..61ed438e3b17abacc4c40169dfc0685b7156bcfe 100644 --- a/src/component/graphic/install.ts +++ b/src/component/graphic/install.ts @@ -45,7 +45,6 @@ import { getECData } from '../../util/innerStore'; import { TextStyleProps } from 'zrender/src/graphic/Text'; import { isEC4CompatibleStyle, convertFromEC4CompatibleStyle } from '../../util/styleCompat'; import { EChartsExtensionInstallRegisters } from '../../extension'; -import { graphic } from '../../export/api'; const TRANSFORM_PROPS = { x: 1, diff --git a/src/component/legend/LegendModel.ts b/src/component/legend/LegendModel.ts index ca5e0946686a0b8051b7c7c213c3043d3c4be51f..ccf5ba8d3bd85bcc64a632371cc8a76472bf8faf 100644 --- a/src/component/legend/LegendModel.ts +++ b/src/component/legend/LegendModel.ts @@ -29,9 +29,6 @@ import { LabelOption, LayoutOrient, CommonTooltipOption, - ZRColor, - DecalObject, - ZRLineType, ItemStyleOption, LineStyleOption } from '../../util/types'; @@ -39,7 +36,6 @@ import { Dictionary } from 'zrender/src/core/types'; import GlobalModel from '../../model/Global'; import { ItemStyleProps } from '../../model/mixin/itemStyle'; import { LineStyleProps } from './../../model/mixin/lineStyle'; -import {SeriesModel} from '../../echarts'; import {PathStyleProps} from 'zrender/src/graphic/Path'; type LegendDefaultSelectorOptionsProps = { diff --git a/src/component/legend/LegendView.ts b/src/component/legend/LegendView.ts index 8b0a77522d91a652f751a499cc59366997c8b9e7..7d7cab4b9b9bd6769f9819ef9fa87adf81e576c3 100644 --- a/src/component/legend/LegendView.ts +++ b/src/component/legend/LegendView.ts @@ -27,7 +27,14 @@ import {setLabelStyle, createTextStyle} from '../../label/labelStyle'; import {makeBackground} from '../helper/listComponent'; import * as layoutUtil from '../../util/layout'; import ComponentView from '../../view/Component'; -import LegendModel, { LegendItemStyleOption, LegendLineStyleOption, LegendOption, LegendSelectorButtonOption, LegendSymbolParams, LegendTooltipFormatterParams } from './LegendModel'; +import LegendModel, { + LegendItemStyleOption, + LegendLineStyleOption, + LegendOption, + LegendSelectorButtonOption, + LegendSymbolParams, + LegendTooltipFormatterParams +} from './LegendModel'; import GlobalModel from '../../model/Global'; import ExtensionAPI from '../../core/ExtensionAPI'; import { @@ -39,10 +46,10 @@ import { SymbolOptionMixin } from '../../util/types'; import Model from '../../model/Model'; -import {SeriesModel} from '../../echarts'; import {LineStyleProps, LINE_STYLE_KEY_MAP} from '../../model/mixin/lineStyle'; import {ITEM_STYLE_KEY_MAP} from '../../model/mixin/itemStyle'; import {createSymbol, ECSymbol} from '../../util/symbol'; +import SeriesModel from '../../model/Series'; const curry = zrUtil.curry; const each = zrUtil.each; @@ -347,7 +354,15 @@ class LegendView extends ComponentView { symbolType = legendIconType || symbolType || 'roundRect'; const legendLineStyle = legendModel.getModel('lineStyle'); - const style = getLegendStyle(symbolType, itemModel, legendLineStyle, lineVisualStyle, itemVisualStyle, drawType, isSelected); + const style = getLegendStyle( + symbolType, + itemModel, + legendLineStyle, + lineVisualStyle, + itemVisualStyle, + drawType, + isSelected + ); const itemGroup = new Group(); diff --git a/src/model/Series.ts b/src/model/Series.ts index 2056c39aacca720fb09f305118343105264eb32a..8e90bf39df5c45e09e6a5d04112239ba4f0692d0 100644 --- a/src/model/Series.ts +++ b/src/model/Series.ts @@ -20,7 +20,6 @@ import * as zrUtil from 'zrender/src/core/util'; import env from 'zrender/src/core/env'; import type {MorphDividingMethod} from 'zrender/src/tool/morphPath'; -import {PathStyleProps} from 'zrender/src/graphic/Path'; import * as modelUtil from '../util/model'; import { DataHost, DimensionName, StageHandlerProgressParams, diff --git a/test/runTest/client/index.html b/test/runTest/client/index.html index 2d94b979c4ba2b46171f9d59c3a0d272f4c7df9c..d58bd83c180d7d190366b9c578a815284d236b33 100644 --- a/test/runTest/client/index.html +++ b/test/runTest/client/index.html @@ -24,7 +24,7 @@ under the License. - + Visual Regression Testing Tool