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-13.29.0.pre.alpha.testingcollapsibleissue3052 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui-13.29.0 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui_docs-13.28.0.pre.alpha.PBNTR297gradientoverlay3029 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui-13.28.0.pre.alpha.PBNTR297gradientoverlay3029 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui_docs-13.28.0.pre.alpha.pbntr312tableheaderflexremoval3019 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui-13.28.0.pre.alpha.pbntr312tableheaderflexremoval3019 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui_docs-13.28.0.pre.alpha.dialogturbostreameventlistener3017 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui-13.28.0.pre.alpha.dialogturbostreameventlistener3017 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui_docs-13.28.0.pre.alpha.PLAY1338alpha3001 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui-13.28.0.pre.alpha.PLAY1338alpha3001 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui_docs-13.28.0.pre.alpha.PLAY1343fixTooltiprunwayissue2987 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui-13.28.0.pre.alpha.PLAY1343fixTooltiprunwayissue2987 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui_docs-13.28.0.pre.alpha.PLAY1343fixTooltiprunwayissue2986 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui-13.28.0.pre.alpha.PLAY1343fixTooltiprunwayissue2986 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui_docs-13.28.0.pre.alpha.PLAY1343fixTooltiprunwayissue2984 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui-13.28.0.pre.alpha.PLAY1343fixTooltiprunwayissue2984 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui_docs-13.27.0 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui-13.27.0 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui_docs-13.26.0.pre.alpha.PBNTR291Dropdownrailsv22840 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx
playbook_ui-13.26.0.pre.alpha.PBNTR291Dropdownrailsv22840 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx