提交 97156c66 编写于 作者: K kener

roamController handleColor fixed

上级 897ec09f
doc/asset/img/doc/roamController.png

13.2 KB | W: | H:

doc/asset/img/doc/roamController.png

36.9 KB | W: | H:

doc/asset/img/doc/roamController.png
doc/asset/img/doc/roamController.png
doc/asset/img/doc/roamController.png
doc/asset/img/doc/roamController.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -95,7 +95,7 @@ define(function (require) {
r: r, // 圆环外半径
startAngle: -45,
endAngle: 45,
color: this.rcOption.handlerColor,
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.handlerColor, -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.handlerColor,
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.handlerColor, -0.2),
color: zrColor.lift(this.rcOption.handleColor, -0.2),
brushType: 'fill'
},
clickable: true
......
......@@ -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
handlerColor: '#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.
先完成此消息的编辑!
想要评论请 注册