Sha256: 68905410506dd067195196ddb61075b55b25da5c64fe560ecd6fb67302fe8888
Contents?: true
Size: 841 Bytes
Versions: 1978
Compression:
Stored size: 841 Bytes
Contents
import React from 'react' import BarGraph from '../_bar_graph' const chartData = [{ name: 'Installation', data: [1475, 200, 3000, 654, 656], }, { name: 'Manufacturing', data: [4434, 524, 2320, 440, 500], }, { name: 'Sales & Distribution', data: [3387, 743, 1344, 434, 440], }, { name: 'Project Development', data: [3227, 878, 999, 780, 1000], }, { name: 'Other', data: [1111, 677, 3245, 500, 200], }] const BarGraphDefault = (props) => ( <div> <BarGraph axisTitle="Number of Employees" chartData={chartData} id="bar-default" subTitle="Source: thesolarfoundation.com" title="Solar Employment Growth by Sector, 2010-2016" xAxisCategories={['Jan', 'Feb', 'Mar', 'Apr', 'May']} yAxisMin={0} {...props} /> </div> ) export default BarGraphDefault
Version data entries
1,978 entries across 1,978 versions & 2 rubygems