From 36f649a619d38940e804c05a60e4cb97026f26c9 Mon Sep 17 00:00:00 2001 From: Evgeny Bovykin Date: Wed, 18 Apr 2018 21:53:13 +0300 Subject: [PATCH] Remove old files --- spec/tooltip-spec.js | 8 -------- src/config.js | 4 ---- 2 files changed, 12 deletions(-) diff --git a/spec/tooltip-spec.js b/spec/tooltip-spec.js index 68d314c..01d0b44 100644 --- a/spec/tooltip-spec.js +++ b/spec/tooltip-spec.js @@ -163,7 +163,6 @@ describe('c3 chart tooltip', function () { dataGroups = [ [ 'data1', 'data2', 'data3' ]]; }); - it('should display each data in ascending order', function() { var eventRect = d3.select('.c3-event-rect').node(), x = chart.internal.x(2), @@ -257,13 +256,6 @@ describe('c3 chart tooltip', function () { beforeAll(function() { dataOrder = 'desc'; }); - }); - - describe('tooltip with tooltip_order as asc', function() { - beforeAll(function() { - tooltipConfiguration = { - order: 'asc' - }; it('should display each tooltip value descending order', function() { var eventRect = d3.select('.c3-event-rect').node(), diff --git a/src/config.js b/src/config.js index 4329f31..54b010f 100644 --- a/src/config.js +++ b/src/config.js @@ -211,7 +211,6 @@ c3_chart_internal_fn.getDefaultConfig = function () { regions: [], // tooltip - show when mouseover on each data tooltip_show: true, - tooltip_order: undefined, tooltip_grouped: true, tooltip_order: undefined, tooltip_format_title: undefined, @@ -235,9 +234,6 @@ c3_chart_internal_fn.getDefaultConfig = function () { left: 0 }, title_position: 'top-center', - //TouchEvent configuration - touch_tap_radius : 20, //touch movement must be less than this to be a 'tap' - touch_tap_delay : 500, //clicks are suppressed for this many ms after a tap }; Object.keys(this.additionalConfig).forEach(function (key) {