Sha256: 4e86eb7cc1bc63618ccb19359e5ba31ceab83f069ebfd63aa5302284a9c8e833

Contents?: true

Size: 968 Bytes

Versions: 1865

Compression:

Stored size: 968 Bytes

Contents

import React from 'react'
import LineGraph from '../_line_graph'

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

const LineGraphDefault = (props) => (
  <div>
    <LineGraph
        axisTitle="Number of Employees"
        chartData={data}
        height="300px"
        id="line-fixed-height"
        title="Fixed Height (300px)"
        xAxisCategories={['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']}
        yAxisMin={0}
        {...props}
    />

    <br />
    <br />

    <LineGraph
        axisTitle="Number of Employees"
        chartData={data}
        height="50%"
        id="line-percentage-height"
        title="Percentage Height (50%)"
        xAxisCategories={['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']}
        yAxisMin={0}
        {...props}
    />
  </div>
)

export default LineGraphDefault

Version data entries

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

Version Path
playbook_ui_docs-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui_docs-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui_docs-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui_docs-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui_docs-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui_docs-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui_docs-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui_docs-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx