/** @format */

import React from 'react';
import BasicBarChart from '..';

function Demo() {
	const props = {
		option: { legend: { show: false } },
		data: {
			xData: ['2小时以下', '2-6小时', '6-12小时', '12-24小时', '24及以上'],
			yData: [[13, 8, 7, 21, 38]]
		}
	};
	return (
		<div style={{ background: '#181B1D', width: '100%', height: '100%', padding: 50 }}>
			<BasicBarChart {...props} />
		</div>
	);
}

export default Demo;
