Commit b496c335 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Fix selection of points

parent 12cb277f
......@@ -4932,8 +4932,8 @@
c3_chart_internal_fn.selectPoint = function (target, d, i) {
var $$ = this, config = $$.config,
cx = (config.axis_rotated ? $$.circleY() : $$.circleX).bind($$),
cy = (config.axis_rotated ? $$.circleX : $$.circleY()).bind($$),
cx = (config.axis_rotated ? $$.circleY : $$.circleX).bind($$),
cy = (config.axis_rotated ? $$.circleX : $$.circleY).bind($$),
r = $$.pointSelectR.bind($$);
config.data_onselected.call($$.api, d, target.node());
// add selected-circle on low layer g
......
This source diff could not be displayed because it is too large. You can view the blob instead.
c3_chart_internal_fn.selectPoint = function (target, d, i) {
var $$ = this, config = $$.config,
cx = (config.axis_rotated ? $$.circleY() : $$.circleX).bind($$),
cy = (config.axis_rotated ? $$.circleX : $$.circleY()).bind($$),
cx = (config.axis_rotated ? $$.circleY : $$.circleX).bind($$),
cy = (config.axis_rotated ? $$.circleX : $$.circleY).bind($$),
r = $$.pointSelectR.bind($$);
config.data_onselected.call($$.api, d, target.node());
// add selected-circle on low layer g
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment