Sha256: b09bd92487565cfbc60e5ddd11ce2fbf66ff3ecbf6d67337186ba133cc2007b3

Contents?: true

Size: 654 Bytes

Versions: 21

Compression:

Stored size: 654 Bytes

Contents

import React from 'react'
import { BarGraph } from '../../'

const chartData = [{
  name: 'Installation',
  data: [154175],
}, {
  name: 'Manufacturing',
  data: [40434],
}, {
  name: 'Sales & Distribution',
  data: [39387],
}, {
  name: 'Project Development',
  data: [34227],
}, {
  name: 'Other',
  data: [18111],
}]

const BarGraphDefault = () => (
  <div>
    <BarGraph
        axisTitle="Number of Employees"
        chartData={chartData}
        id="bar-test"
        pointStart={2012}
        subTitle="Source: thesolarfoundation.com"
        title="Solar Employment Growth by Sector, 2010-2016"
    />
  </div>
)

export default BarGraphDefault

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
playbook_ui-3.2.0 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.jsx