Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
x649585723
incubator-echarts
提交
bb68a480
I
incubator-echarts
项目概览
x649585723
/
incubator-echarts
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
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,发现更多精彩内容 >>
提交
bb68a480
编写于
11月 10, 2020
作者:
P
pissang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix(types): fix some type issues
上级
67d6a338
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
13 addition
and
10 deletion
+13
-10
src/chart/gauge/GaugeSeries.ts
src/chart/gauge/GaugeSeries.ts
+1
-1
src/chart/heatmap/HeatmapSeries.ts
src/chart/heatmap/HeatmapSeries.ts
+3
-2
src/chart/helper/SymbolDraw.ts
src/chart/helper/SymbolDraw.ts
+1
-1
src/chart/radar/RadarSeries.ts
src/chart/radar/RadarSeries.ts
+1
-1
src/chart/treemap/TreemapSeries.ts
src/chart/treemap/TreemapSeries.ts
+2
-2
src/coord/axisCommonTypes.ts
src/coord/axisCommonTypes.ts
+2
-0
src/coord/parallel/AxisModel.ts
src/coord/parallel/AxisModel.ts
+1
-1
src/util/types.ts
src/util/types.ts
+2
-2
未找到文件。
src/chart/gauge/GaugeSeries.ts
浏览文件 @
bb68a480
...
...
@@ -131,7 +131,7 @@ export interface GaugeSeriesOption extends SeriesOption<GaugeStateOption>, Gauge
axisLine
?:
{
show
?:
boolean
roundCap
?:
boolean
lineStyle
:
Omit
<
LineStyleOption
,
'
color
'
>
&
{
lineStyle
?
:
Omit
<
LineStyleOption
,
'
color
'
>
&
{
color
:
GaugeColorStop
[]
}
},
...
...
src/chart/heatmap/HeatmapSeries.ts
浏览文件 @
bb68a480
...
...
@@ -28,7 +28,8 @@ import {
SeriesLabelOption
,
OptionDataValue
,
StatesOptionMixin
,
SeriesEncodeOptionMixin
SeriesEncodeOptionMixin
,
SeriesOnCalendarOptionMixin
}
from
'
../../util/types
'
;
import
GlobalModel
from
'
../../model/Global
'
;
import
List
from
'
../../data/List
'
;
...
...
@@ -49,7 +50,7 @@ export interface HeatmapDataItemOption extends HeatmapStateOption, StatesOptionM
}
export
interface
HeatmapSeriesOption
extends
SeriesOption
<
HeatmapStateOption
>
,
HeatmapStateOption
,
SeriesOnCartesianOptionMixin
,
SeriesOnGeoOptionMixin
,
SeriesEncodeOptionMixin
{
SeriesOnCartesianOptionMixin
,
SeriesOnGeoOptionMixin
,
Series
OnCalendarOptionMixin
,
Series
EncodeOptionMixin
{
type
?:
'
heatmap
'
coordinateSystem
?:
'
cartesian2d
'
|
'
geo
'
|
'
calendar
'
...
...
src/chart/helper/SymbolDraw.ts
浏览文件 @
bb68a480
...
...
@@ -115,7 +115,7 @@ export interface SymbolDrawSeriesScope {
blurScope
?:
BlurScope
symbolRotate
?:
number
symbolOffset
?:
number
[]
symbolOffset
?:
(
number
|
string
)
[]
labelStatesModels
:
Record
<
DisplayState
,
Model
<
LabelOption
>>
...
...
src/chart/radar/RadarSeries.ts
浏览文件 @
bb68a480
...
...
@@ -61,7 +61,7 @@ export interface RadarSeriesOption extends SeriesOption<RadarSeriesStateOption>,
radarIndex
?:
number
radarId
?:
string
data
?:
RadarSeriesStateOption
[]
data
?:
(
RadarSeriesDataItemOption
|
RadarSeriesDataValue
)
[]
}
class
RadarSeriesModel
extends
SeriesModel
<
RadarSeriesOption
>
{
...
...
src/chart/treemap/TreemapSeries.ts
浏览文件 @
bb68a480
...
...
@@ -163,12 +163,12 @@ export interface TreemapSeriesOption
*/
clipWindow
?:
'
origin
'
|
'
fullscreen
'
squareRatio
:
number
squareRatio
?
:
number
/**
* Nodes on depth from root are regarded as leaves.
* Count from zero (zero represents only view root).
*/
leafDepth
:
number
leafDepth
?
:
number
drillDownIcon
?:
string
...
...
src/coord/axisCommonTypes.ts
浏览文件 @
bb68a480
...
...
@@ -191,6 +191,8 @@ interface AxisLabelOption extends Omit<TextCommonOption, 'color'> {
// Color can be callback
color
?:
ColorString
|
((
value
?:
string
|
number
,
index
?:
number
)
=>
ColorString
)
rich
?:
Dictionary
<
TextCommonOption
>
}
interface
MinorTickOption
{
...
...
src/coord/parallel/AxisModel.ts
浏览文件 @
bb68a480
...
...
@@ -44,7 +44,7 @@ export interface ParallelAxisOption extends AxisBaseOption {
/**
* 0, 1, 2, ...
*/
dim
?:
number
[];
dim
?:
number
|
number
[];
parallelIndex
?:
number
;
areaSelectStyle
?:
{
width
?:
number
;
...
...
src/util/types.ts
浏览文件 @
bb68a480
...
...
@@ -858,7 +858,7 @@ export interface SymbolOptionMixin<T = unknown> {
symbolKeepAspect
?:
boolean
symbolOffset
?:
number
[]
symbolOffset
?:
(
string
|
number
)
[]
}
/**
...
...
@@ -953,7 +953,7 @@ export interface TextCommonOption extends ShadowOptionMixin {
lineHeight
?:
number
backgroundColor
?:
ColorString
|
{
image
:
ImageLike
image
:
ImageLike
|
string
}
borderColor
?:
string
borderWidth
?:
number
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录