Sha256: 70b77759a00212d62c7515d5eae083ecd4a386b60df534225f625ef87305414b

Contents?: true

Size: 583 Bytes

Versions: 2

Compression:

Stored size: 583 Bytes

Contents

<% data = [{
    name: 'Installation',
    data: [-475, 400, -1000, 354, -856],
    threshold: 0
  }, {
    name: 'Manufacturing',
    data: [1475, 200, 1000, 654, -656],
    threshold: 0
  }, 
  {
    name: 'Sales & Distribution',
    data: [1270, 100, -1200, 554, 756],
    threshold: 0
  }] %>

<%= pb_rails("bar_graph", props: {
    axis_title: 'Number of Employees',
    chart_data: data,
    id: "bar-default",
    x_axis_categories:['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],
    title: 'Bar Graph with Stacked Columns',
    legend: true,
}) %>

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
playbook_ui_docs-13.22.0.pre.alpha.pbntr254barchartnegativenumber2640 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.html.erb
playbook_ui-13.22.0.pre.alpha.pbntr254barchartnegativenumber2640 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.html.erb