Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
半栈学徒
incubator-echarts
提交
11eb4fc8
I
incubator-echarts
项目概览
半栈学徒
/
incubator-echarts
与 Fork 源项目一致
从无法访问的项目Fork
通知
5
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
I
incubator-echarts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
11eb4fc8
编写于
4月 07, 2021
作者:
P
pissang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
style: remove unused imports. fix imports from entry
上级
f69c500a
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
19 addition
and
10 deletion
+19
-10
src/component/graphic/install.ts
src/component/graphic/install.ts
+0
-1
src/component/legend/LegendModel.ts
src/component/legend/LegendModel.ts
+0
-4
src/component/legend/LegendView.ts
src/component/legend/LegendView.ts
+18
-3
src/model/Series.ts
src/model/Series.ts
+0
-1
test/runTest/client/index.html
test/runTest/client/index.html
+1
-1
未找到文件。
src/component/graphic/install.ts
浏览文件 @
11eb4fc8
...
...
@@ -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
,
...
...
src/component/legend/LegendModel.ts
浏览文件 @
11eb4fc8
...
...
@@ -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
=
{
...
...
src/component/legend/LegendView.ts
浏览文件 @
11eb4fc8
...
...
@@ -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
();
...
...
src/model/Series.ts
浏览文件 @
11eb4fc8
...
...
@@ -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
,
...
...
test/runTest/client/index.html
浏览文件 @
11eb4fc8
...
...
@@ -24,7 +24,7 @@ under the License.
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"ie=edge"
>
<link
rel=
"shortcut icon"
href=
"https://
www.echartsjs.com
/zh/images/favicon.png"
>
<link
rel=
"shortcut icon"
href=
"https://
echarts.apache.org
/zh/images/favicon.png"
>
<title>
Visual Regression Testing Tool
</title>
</head>
<body>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录