Sha256: a16cbee2b35d3f9be013026bc612785fa19d3415c83875eed432bdb78367f4e3

Contents?: true

Size: 513 Bytes

Versions: 1065

Compression:

Stored size: 513 Bytes

Contents

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

const chartData = [{
  name: 'Number of Installations',
  data: [1475, 200, 3000, 654, 656],
}]

const BarGraphLegend = (props) => (
  <div>
    <BarGraph
        axisTitle="Number of Employees"
        chartData={chartData}
        id="bar-test-2"
        legend
        title="Bar Graph with Legend"
        xAxisCategories={['Jan', 'Feb', 'Mar', 'Apr', 'May']}
        yAxisMin={0}
        {...props}
    />
  </div>
)

export default BarGraphLegend

Version data entries

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

Version Path
playbook_ui-7.14.0 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend.jsx
playbook_ui-7.13.0.pre.alpha1 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend.jsx
playbook_ui-7.13.0 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend.jsx
playbook_ui-7.12.1 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend.jsx
playbook_ui-7.12.0 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend.jsx