Sha256: eaf109c13cdf6a53400a42c6deeb117403f8aadb76b44117d9d0036a2e68a466

Contents?: true

Size: 561 Bytes

Versions: 6

Compression:

Stored size: 561 Bytes

Contents

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

const data = [{
  name: 'Number of Installations',
  data: [43934, 52503, 57177, 69658, 97031, 119931, 137133, 154175],
}]

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

export default LineGraphLegend

Version data entries

6 entries across 6 versions & 1 rubygems

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