Sha256: 3cf04bcaa6554e8c14c08d297b898620cfc624b474f702a85169010a342dc79e

Contents?: true

Size: 945 Bytes

Versions: 54

Compression:

Stored size: 945 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}
        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

54 entries across 54 versions & 1 rubygems

Version Path
playbook_ui-10.3.0 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-10.2.1.alpha.sisensefix app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-10.2.1 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-10.2.0 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-10.1.0 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-10.0.3.pre.alpha.walkthrough2 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-10.0.3.pre.alpha.walkthrough app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-10.0.1.alpha.railscusticon app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-10.0.2.pre.alpha.pre.iconfix app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-10.0.1.alpha.rtflexfix app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-10.0.0.pre.alphafonts app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-10.0.1 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-10.0.0 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
playbook_ui-9.19.0.pre.alpha.pre.fonts2 app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx