Sha256: 91ac0d3496e2267f91d5d46f846fed20e54aa48a480f75f6ecce4505c1270e09

Contents?: true

Size: 620 Bytes

Versions: 1887

Compression:

Stored size: 620 Bytes

Contents

import React from 'react'

import BarGraph from '../_bar_graph'

const chartData = [{
  name: 'Number of Installations',
  data: [1475, 200, 3000, 654, 656],
}, {
  type: 'spline',
  name: 'Trend Line',
  data: [1975, 600, 2500, 924, 500],
  color: '#F9BB00',
}]

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

export default BarGraphSpline

Version data entries

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

Version Path
playbook_ui-10.17.0 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_spline.jsx
playbook_ui-10.16.0 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_spline.jsx
playbook_ui-10.15.1 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_spline.jsx
playbook_ui-10.15.1.pre.alpha.rubocop.deps app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_spline.jsx
playbook_ui-10.15.0 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_spline.jsx
playbook_ui-10.14.1.pre.alpha2 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_spline.jsx
playbook_ui-10.14.1.pre.alpha1 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_spline.jsx