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-11.4.0.pre.alpha.rubytheme1 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-11.4.0 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-11.3.0.pre.alpha2 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-11.3.0.pre.alpha1 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-11.3.0 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-11.2.7 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-11.2.6 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-11.2.5 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-11.2.4 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-11.2.4.pre.alpha1 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-11.2.3 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-11.2.2 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-11.2.1 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-11.2.0 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-11.1.2 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-11.1.2.pre.alpha1 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-11.1.1 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-11.1.1.pre.alpha1 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-11.1.0 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-11.0.1 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx