From b4b59bd6fa9f5a73eff439553012838459305855 Mon Sep 17 00:00:00 2001 From: kkh975 Date: Wed, 19 Aug 2020 12:02:38 +0900 Subject: [PATCH 1/6] 'max' wrong include --- src/dataProcessing/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dataProcessing/index.js b/src/dataProcessing/index.js index ba78d2c..abd3ec6 100644 --- a/src/dataProcessing/index.js +++ b/src/dataProcessing/index.js @@ -1,5 +1,5 @@ export min from './min'; -export max from './min'; +export max from './max'; export mean from './mean'; export avg from './mean'; export midRange from './midRange'; From faa06d220981eb2710ea2dc8f7ce22493b6ac581 Mon Sep 17 00:00:00 2001 From: kkh975 Date: Wed, 19 Aug 2020 12:19:07 +0900 Subject: [PATCH 2/6] height wrong assign --- src/SparklinesNormalBand.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SparklinesNormalBand.js b/src/SparklinesNormalBand.js index c443fd0..571653f 100644 --- a/src/SparklinesNormalBand.js +++ b/src/SparklinesNormalBand.js @@ -23,7 +23,7 @@ export default class SparklinesNormalBand extends React.Component { return ( ) } From 33624fdd87c2cb36127fdc0d107fc8d1c06ec6fe Mon Sep 17 00:00:00 2001 From: kkh975 Date: Tue, 1 Sep 2020 16:49:43 +0900 Subject: [PATCH 3/6] Update SparklinesLine.js --- src/SparklinesLine.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SparklinesLine.js b/src/SparklinesLine.js index 42f6d7a..82b0ef5 100644 --- a/src/SparklinesLine.js +++ b/src/SparklinesLine.js @@ -44,6 +44,8 @@ export default class SparklinesLine extends React.Component { }; const tooltips = points.map((p, i) => { + console.log('tooltip', i, p); + return ( Date: Tue, 1 Sep 2020 16:50:09 +0900 Subject: [PATCH 4/6] Update SparklinesNormalBand.js --- src/SparklinesNormalBand.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/SparklinesNormalBand.js b/src/SparklinesNormalBand.js index 571653f..9b65771 100644 --- a/src/SparklinesNormalBand.js +++ b/src/SparklinesNormalBand.js @@ -21,6 +21,9 @@ export default class SparklinesNormalBand extends React.Component { const dataMean = mean(ypoints); const dataStdev = stdev(ypoints); + console.log(ypoints) + console.log(dataStdev) + return ( Date: Tue, 1 Sep 2020 16:53:34 +0900 Subject: [PATCH 5/6] Update SparklinesNormalBand.js --- src/SparklinesNormalBand.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/SparklinesNormalBand.js b/src/SparklinesNormalBand.js index 9b65771..571653f 100644 --- a/src/SparklinesNormalBand.js +++ b/src/SparklinesNormalBand.js @@ -21,9 +21,6 @@ export default class SparklinesNormalBand extends React.Component { const dataMean = mean(ypoints); const dataStdev = stdev(ypoints); - console.log(ypoints) - console.log(dataStdev) - return ( Date: Tue, 1 Sep 2020 16:54:01 +0900 Subject: [PATCH 6/6] Update SparklinesLine.js --- src/SparklinesLine.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/SparklinesLine.js b/src/SparklinesLine.js index 82b0ef5..4c16a56 100644 --- a/src/SparklinesLine.js +++ b/src/SparklinesLine.js @@ -43,9 +43,7 @@ export default class SparklinesLine extends React.Component { pointerEvents: 'auto', }; - const tooltips = points.map((p, i) => { - console.log('tooltip', i, p); - + const tooltips = points.map((p, i) => { return (