summaryrefslogtreecommitdiff
path: root/client/chart
diff options
context:
space:
mode:
authoradamhrv <adam@ahprojects.com>2019-04-10 23:06:19 +0200
committeradamhrv <adam@ahprojects.com>2019-04-10 23:06:19 +0200
commit06f36622561838e14c93fde0cebaad47bc867d73 (patch)
treed8cfd1c523c931cac80706e7cb9dc37c5c40930f /client/chart
parent4aea03e39835e66ea3297929378a17742d8e104b (diff)
add citation count
Diffstat (limited to 'client/chart')
-rw-r--r--client/chart/pie.charts.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/chart/pie.charts.js b/client/chart/pie.charts.js
index 84e85c3a..c3b94b7b 100644
--- a/client/chart/pie.charts.js
+++ b/client/chart/pie.charts.js
@@ -87,7 +87,7 @@ class PieCharts extends Component {
height: countryRows.length < 4 ? 316 : 336,
}}
/>
- <span className='chartCaption'>{paper.name}{' dataset citations by country'}</span>
+ <span className='chartCaption'>{citations.length + ' verified ' + paper.name + ' dataset citations by country'}</span>
</div>
<div>
<C3Chart
@@ -107,7 +107,7 @@ class PieCharts extends Component {
height: 316,
}}
/>
- <span className='chartCaption'>{paper.name}{' dataset citations by organization type'}</span>
+ <span className='chartCaption'>{citations.length + ' verified ' + paper.name + ' dataset citations by organization type'}</span>
</div>
</div>
)