Sha256: f6c6a10e49ae1a7a17fbad5a47aca4ca78f21e81e7e0976eb67e714c904f527a

Contents?: true

Size: 687 Bytes

Versions: 1070

Compression:

Stored size: 687 Bytes

Contents

import React from 'react'

import BarGraph from '../_bar_graph'

const chartData = [{
  name: 'Installation',
  data: [1475, 200, 3000, 654, 656],
}, 
{
  name: 'Manufacturing',
  data: [1270, 800, 200, 454, 956],
}, {
  name: 'Sales & Distribution',
  data: [975, 1600, 1500, 924, 500],
}]


const BarGraphStacked = (props) => (
  <div>
    <BarGraph
        axisTitle="Number Of Employees"
        chartData={chartData}
        id="bar-default"
        legend
        stacking="normal"
        title="Bar Graph with Stacked Columns"
        xAxisCategories={['Jan', 'Feb', 'Mar', 'Apr', 'May']}
        yAxisMin={0}
        {...props}
    />
  </div>
)

export default BarGraphStacked

Version data entries

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

Version Path
playbook_ui_docs-13.24.0.pre.alpha.play1305drycontenttag2689 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui-13.24.0.pre.alpha.play1305drycontenttag2689 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui_docs-13.24.0.pre.alpha.PBNTR261NewKitDropdown2681 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui-13.24.0.pre.alpha.PBNTR261NewKitDropdown2681 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui_docs-13.24.0.pre.alpha.PLAY1181circleiconkitfixsizingerrorglobalspacingprops2675 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui-13.24.0.pre.alpha.PLAY1181circleiconkitfixsizingerrorglobalspacingprops2675 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui_docs-13.24.0.pre.alpha.PLAY998backgroundkitremoveemptyinlinline2666 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui-13.24.0.pre.alpha.PLAY998backgroundkitremoveemptyinlinline2666 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui_docs-13.22.0.pre.alpha.pbntr254barchartnegativenumber2640 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui-13.22.0.pre.alpha.pbntr254barchartnegativenumber2640 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx