Browse Source

Remove old files

pull/1753/head
Evgeny Bovykin 7 years ago
parent
commit
36f649a619
  1. 8
      spec/tooltip-spec.js
  2. 4
      src/config.js

8
spec/tooltip-spec.js

@ -163,7 +163,6 @@ describe('c3 chart tooltip', function () {
dataGroups = [ [ 'data1', 'data2', 'data3' ]]; dataGroups = [ [ 'data1', 'data2', 'data3' ]];
}); });
it('should display each data in ascending order', function() { it('should display each data in ascending order', function() {
var eventRect = d3.select('.c3-event-rect').node(), var eventRect = d3.select('.c3-event-rect').node(),
x = chart.internal.x(2), x = chart.internal.x(2),
@ -257,13 +256,6 @@ describe('c3 chart tooltip', function () {
beforeAll(function() { beforeAll(function() {
dataOrder = 'desc'; dataOrder = 'desc';
}); });
});
describe('tooltip with tooltip_order as asc', function() {
beforeAll(function() {
tooltipConfiguration = {
order: 'asc'
};
it('should display each tooltip value descending order', function() { it('should display each tooltip value descending order', function() {
var eventRect = d3.select('.c3-event-rect').node(), var eventRect = d3.select('.c3-event-rect').node(),

4
src/config.js

@ -211,7 +211,6 @@ c3_chart_internal_fn.getDefaultConfig = function () {
regions: [], regions: [],
// tooltip - show when mouseover on each data // tooltip - show when mouseover on each data
tooltip_show: true, tooltip_show: true,
tooltip_order: undefined,
tooltip_grouped: true, tooltip_grouped: true,
tooltip_order: undefined, tooltip_order: undefined,
tooltip_format_title: undefined, tooltip_format_title: undefined,
@ -235,9 +234,6 @@ c3_chart_internal_fn.getDefaultConfig = function () {
left: 0 left: 0
}, },
title_position: 'top-center', 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) { Object.keys(this.additionalConfig).forEach(function (key) {

Loading…
Cancel
Save