Sha256: 0a756b472adfbf06a488c3147c5e8d754b33f35dbe97c9ef3199b1892fd214a4

Contents?: true

Size: 691 Bytes

Versions: 1070

Compression:

Stored size: 691 Bytes

Contents

import React from 'react'

import BarGraph from '../_bar_graph'

const chartData = [{
  name: 'Installation',
  data: [-475, 400, -1000, 354, -856],
  threshold: 0
}, {
  name: 'Manufacturing',
  data: [1475, 200, 1000, 654, -656],
  threshold: 0
}, 
{
  name: 'Sales & Distribution',
  data: [1270, 100, -1200, 554, 756],
  threshold: 0
}]


const BarGraphStacked = (props) => (
  <div>
    <BarGraph
        axisTitle="Number of Employees"
        chartData={chartData}
        id="bar-default"
        legend
        title="Bar Graph with Negative Numbers"
        xAxisCategories={['Jan', 'Feb', 'Mar', 'Apr', 'May']}
        {...props}
    />
  </div>
)

export default BarGraphStacked

Version data entries

1,070 entries across 1,070 versions & 2 rubygems

Version Path
playbook_ui_docs-14.11.1.pre.alpha.play1724darkmodeauditmap5437 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx
playbook_ui-14.11.1.pre.alpha.play1724darkmodeauditmap5437 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR719listdraggablesimple5432 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR719listdraggablesimple5432 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR768stickyrightcolumn5431 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR768stickyrightcolumn5431 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx
playbook_ui_docs-14.12.0.pre.rc.6 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx
playbook_ui-14.12.0.pre.rc.6 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5415 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5415 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx
playbook_ui_docs-14.11.1.pre.alpha.play1724darkmodeauditmap5413 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx
playbook_ui-14.11.1.pre.alpha.play1724darkmodeauditmap5413 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx
playbook_ui_docs-14.12.0.pre.rc.5 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx
playbook_ui-14.12.0.pre.rc.5 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx
playbook_ui_docs-14.11.1.pre.alpha.play1724darkmodeauditmap5409 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx
playbook_ui-14.11.1.pre.alpha.play1724darkmodeauditmap5409 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5400 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5400 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5392 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5392 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx