From b040caddc9d231317c96398a1a80c4139c890629 Mon Sep 17 00:00:00 2001 From: sabertazimi Date: Sun, 20 Jan 2019 17:30:28 +0800 Subject: [PATCH] update(data analysis): change label from 'percent' to 'count issue #2 issue sabertazimi/awesome-notes#105 --- src/containers/StatisticsBar.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/containers/StatisticsBar.jsx b/src/containers/StatisticsBar.jsx index 76a65e4..e937917 100644 --- a/src/containers/StatisticsBar.jsx +++ b/src/containers/StatisticsBar.jsx @@ -75,7 +75,7 @@ const StatisticsModal = ({ stroke: '#fff', }} label={[ - 'percent', + 'count', { formatter: (val, item) => ( `${item.point.venue}: ${val}`