|
|
@ -42,19 +42,8 @@ const options = { |
|
|
|
|
|
|
|
|
|
|
|
const BarChart = () => ( |
|
|
|
const BarChart = () => ( |
|
|
|
<> |
|
|
|
<> |
|
|
|
{/* <div className='header'> |
|
|
|
|
|
|
|
<h1 className='title'>Vertical Bar Chart</h1> |
|
|
|
|
|
|
|
<div className='links'> |
|
|
|
|
|
|
|
<a |
|
|
|
|
|
|
|
className='btn btn-gh' |
|
|
|
|
|
|
|
href='https://github.com/reactchartjs/react-chartjs-2/blob/master/example/src/charts/VerticalBar.js' |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
Github Source |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> */} |
|
|
|
|
|
|
|
<Bar data={data} options={options} /> |
|
|
|
<Bar data={data} options={options} /> |
|
|
|
</> |
|
|
|
</> |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
export default BarChart; |
|
|
|
export default BarChart; |
|
|
|