Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
x649585723
incubator-echarts
提交
97156c66
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,发现更多精彩内容 >>
提交
97156c66
编写于
10月 22, 2014
作者:
K
kener
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
roamController handleColor fixed
上级
897ec09f
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
10 addition
and
5 deletion
+10
-5
doc/asset/img/doc/roamController.png
doc/asset/img/doc/roamController.png
+0
-0
src/component/roamController.js
src/component/roamController.js
+4
-4
src/config.js
src/config.js
+6
-1
未找到文件。
doc/asset/img/doc/roamController.png
查看替换文件 @
897ec09f
浏览文件 @
97156c66
13.2 KB
|
W:
|
H:
36.9 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/component/roamController.js
浏览文件 @
97156c66
...
...
@@ -95,7 +95,7 @@ define(function (require) {
r
:
r
,
// 圆环外半径
startAngle
:
-
45
,
endAngle
:
45
,
color
:
this
.
rcOption
.
handle
r
Color
,
color
:
this
.
rcOption
.
handleColor
,
text
:
'
>
'
,
textX
:
x
+
r
/
2
+
4
,
textY
:
y
-
0.5
,
...
...
@@ -106,7 +106,7 @@ define(function (require) {
textFont
:
Math
.
floor
(
r
/
2
)
+
'
px arial
'
},
highlightStyle
:
{
color
:
zrColor
.
lift
(
this
.
rcOption
.
handle
r
Color
,
-
0.2
),
color
:
zrColor
.
lift
(
this
.
rcOption
.
handleColor
,
-
0.2
),
brushType
:
'
fill
'
},
clickable
:
true
...
...
@@ -149,7 +149,7 @@ define(function (require) {
x
:
x
,
y
:
y
,
r
:
r
,
color
:
this
.
rcOption
.
handle
r
Color
,
color
:
this
.
rcOption
.
handleColor
,
text
:
text
===
'
scaleDown
'
?
'
-
'
:
'
+
'
,
textX
:
x
,
textY
:
y
-
2
,
...
...
@@ -160,7 +160,7 @@ define(function (require) {
textFont
:
Math
.
floor
(
r
)
+
'
px verdana
'
},
highlightStyle
:
{
color
:
zrColor
.
lift
(
this
.
rcOption
.
handle
r
Color
,
-
0.2
),
color
:
zrColor
.
lift
(
this
.
rcOption
.
handleColor
,
-
0.2
),
brushType
:
'
fill
'
},
clickable
:
true
...
...
src/config.js
浏览文件 @
97156c66
...
...
@@ -21,6 +21,7 @@ define(function() {
CHART_TYPE_CHORD
:
'
chord
'
,
CHART_TYPE_GAUGE
:
'
gauge
'
,
CHART_TYPE_FUNNEL
:
'
funnel
'
,
CHART_TYPE_EVENTRIVER
:
'
eventRiver
'
,
// 组件类型
COMPONENT_TYPE_TITLE
:
'
title
'
,
...
...
@@ -518,7 +519,7 @@ define(function() {
borderWidth
:
0
,
// 图例边框线宽,单位px,默认为0(无边框)
padding
:
5
,
// 图例内边距,单位px,默认各方向内边距为5,
// 接受数组分别设定上右下左边距,同css
handle
r
Color
:
'
#6495ed
'
,
handleColor
:
'
#6495ed
'
,
fillerColor
:
'
#fff
'
,
step
:
15
,
// 移动幅度
mapTypeControl
:
null
...
...
@@ -1095,6 +1096,10 @@ define(function() {
}
},
eventRiver
:
{
},
island
:
{
r
:
15
,
calculateStep
:
0.1
// 滚轮可计算步长 0.1 = 10%
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录