Sha256: 85934245573659253ee248422178273e559c0c0c9d777528e942a6c1c7e4f9ed

Contents?: true

Size: 656 Bytes

Versions: 4

Compression:

Stored size: 656 Bytes

Contents

import React from "react"
import BarGraph from "../_bar_graph.jsx"

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

4 entries across 4 versions & 1 rubygems

Version Path
playbook_ui-2.9.1 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.jsx
playbook_ui-2.9.0 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.jsx
playbook_ui-2.8.9 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.jsx
playbook_ui-2.8.8 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.jsx