From be5302d4fd526f237759f6fbe6ee4bf8be68986f Mon Sep 17 00:00:00 2001 From: lang Date: Mon, 12 May 2014 18:41:51 +0800 Subject: [PATCH] Chord clickable --- src/chart/chord.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/chart/chord.js b/src/chart/chord.js index e45c93cff..87054bf64 100644 --- a/src/chart/chord.js +++ b/src/chart/chord.js @@ -361,6 +361,7 @@ define(function (require) { opacity: 1, color : this.getColor(group.name) }, + clickable: true, highlightStyle : { brushType : 'fill' } @@ -500,6 +501,7 @@ define(function (require) { lineWidth : chordLineStyle.width, strokeColor : chordLineStyle.color }, + clickable: true, highlightStyle : { brushType : 'both', lineWidth : chordLineStyleEmphsis.width, @@ -559,7 +561,7 @@ define(function (require) { lineCap : 'round', brushType : 'stroke', strokeColor : '#666' - } + } }; scaleShape = new LineShape(scaleShape); -- GitLab