Sha256: b18babad1b56dce84c8f0a14a8acc7af9c79a2f704d09328476c10b72d1aaf9a

Contents?: true

Size: 667 Bytes

Versions: 7

Compression:

Stored size: 667 Bytes

Contents

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

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 Dashboards = () => (
  <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 Dashboards

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
playbook_ui-4.5.2 app/views/playbook/samples/dashboards/dashboards.jsx
playbook_ui-4.5.1 app/views/playbook/samples/dashboards/dashboards.jsx
playbook_ui-4.5.0 app/views/playbook/samples/dashboards/dashboards.jsx
playbook_ui-4.4.1 app/views/playbook/samples/dashboards/dashboards.jsx
playbook_ui-4.4.0 app/views/playbook/samples/dashboards/dashboards.jsx
playbook_ui-4.3.1 app/views/playbook/samples/dashboards/dashboards.jsx
playbook_ui-4.3.0 app/views/playbook/samples/dashboards/dashboards.jsx