Skip to content

Commit

Permalink
add hoverable to K
Browse files Browse the repository at this point in the history
  • Loading branch information
kener committed Jan 15, 2015
1 parent 0d1ff15 commit 61bc908
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/chart/k.js
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,9 @@ define(function (require) {
clickable: this.deepQuery(
[series[seriesIndex].data[dataIndex], series[seriesIndex]], 'clickable'
),
hoverable: this.deepQuery(
[series[seriesIndex].data[dataIndex], series[seriesIndex]], 'hoverable'
),
style: {
x: x,
y: [y0, y1, y2, y3],
Expand Down
1 change: 1 addition & 0 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,7 @@ define(function() {
zlevel: 0, // 一级层叠
z: 2, // 二级层叠
clickable: true,
hoverable: true,
legendHoverLink: false,
xAxisIndex: 0,
yAxisIndex: 0,
Expand Down

0 comments on commit 61bc908

Please sign in to comment.