diff --git a/src/data.js b/src/data.js index 531ab69..f77b729 100644 --- a/src/data.js +++ b/src/data.js @@ -47,7 +47,7 @@ c3_chart_internal_fn.hasMultipleX = function (xs) { return this.d3.set(Object.keys(xs).map(function (id) { return xs[id]; })).size() > 1; }; c3_chart_internal_fn.isMultipleX = function () { - return notEmpty(this.config.data_xs) || !this.config.data_xSort || this.hasType('scatter'); + return notEmpty(this.config.data_xs) || !this.config.data_xSort;// || this.hasType('scatter'); }; c3_chart_internal_fn.addName = function (data) { var $$ = this, name; diff --git a/src/grid.js b/src/grid.js index 9a06432..050de23 100644 --- a/src/grid.js +++ b/src/grid.js @@ -174,7 +174,7 @@ c3_chart_internal_fn.showXGridFocus = function (selectedData) { xx = $$.xx.bind($$); if (! config.tooltip_show) { return; } // Hide when scatter plot exists - if ($$.hasType('scatter') || $$.hasArcType()) { return; } + if (/*$$.hasType('scatter') || */$$.hasArcType()) { return; } focusEl .style("visibility", "visible") .data([dataToShow[0]])