diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-06-27 19:01:55 -0400 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-06-27 19:01:55 -0400 |
| commit | 213c89c7ff478e3fba73b0efbfd88cc084ceb43c (patch) | |
| tree | 1f0de29c1f87dd54be7fa9ec5ae899ea037231f4 /client/applet.js | |
| parent | b7f8cfd92446c8107c75b4840c56d92304c16e78 (diff) | |
adding single pie chart
Diffstat (limited to 'client/applet.js')
| -rw-r--r-- | client/applet.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/applet.js b/client/applet.js index ebc0e3fc..5cfa6e3e 100644 --- a/client/applet.js +++ b/client/applet.js @@ -5,7 +5,7 @@ import React, { Component } from 'react' // import { Container as NameSearchContainer } from './nameSearch' import { Container as DatasetListContainer } from './datasetList' import { CitationsTable, FileTable } from './table' -import { CountriesByYear, PieCharts } from './chart' +import { CountriesByYear, PieCharts, SinglePieChart } from './chart' export default class Applet extends Component { render() { @@ -23,6 +23,8 @@ export default class Applet extends Component { return <CountriesByYear {...this.props} /> case 'piechart': return <PieCharts {...this.props} /> + case 'single_pie_chart': + return <SinglePieChart {...this.props} /> case 'citations': return <CitationsTable {...this.props} /> case 'load_file': |
