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-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui_docs-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui_docs-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui_docs-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui_docs-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui_docs-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui_docs-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui_docs-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx