Sha256: 709b20c820d517d7483a5439f786d75696f623c4821e7244e234c357413d0ee0

Contents?: true

Size: 584 Bytes

Versions: 795

Compression:

Stored size: 584 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 Negative Numbers',
    legend: true,
}) %>

Version data entries

795 entries across 795 versions & 2 rubygems

Version Path
playbook_ui-13.25.0.pre.alpha.PBNTR272Dropdownkitv42769 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.html.erb
playbook_ui_docs-13.25.0.pre.alpha.barchartfix2766 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.html.erb
playbook_ui-13.25.0.pre.alpha.barchartfix2766 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.html.erb
playbook_ui_docs-13.25.0.pre.alpha.PLAY761globalpaddingpropsbuttons2713 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.html.erb
playbook_ui-13.25.0.pre.alpha.PLAY761globalpaddingpropsbuttons2713 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.html.erb
playbook_ui_docs-13.25.0 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.html.erb
playbook_ui-13.25.0 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.html.erb
playbook_ui_docs-13.24.0.pre.alpha.play1305drycontenttag2689 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.html.erb
playbook_ui-13.24.0.pre.alpha.play1305drycontenttag2689 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.html.erb
playbook_ui_docs-13.24.0.pre.alpha.PBNTR261NewKitDropdown2681 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.html.erb
playbook_ui-13.24.0.pre.alpha.PBNTR261NewKitDropdown2681 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.html.erb
playbook_ui_docs-13.24.0.pre.alpha.PLAY1181circleiconkitfixsizingerrorglobalspacingprops2675 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.html.erb
playbook_ui-13.24.0.pre.alpha.PLAY1181circleiconkitfixsizingerrorglobalspacingprops2675 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.html.erb
playbook_ui_docs-13.24.0.pre.alpha.PLAY998backgroundkitremoveemptyinlinline2666 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.html.erb
playbook_ui-13.24.0.pre.alpha.PLAY998backgroundkitremoveemptyinlinline2666 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.html.erb