Sha256: 06950816fae28d78892f830eba2a1d39a2ce0a323c742229786823d944b4b994

Contents?: true

Size: 384 Bytes

Versions: 2119

Compression:

Stored size: 384 Bytes

Contents

<% data1 = [
  {
    name: 'Data Used',
    value: 32,
  }
]%>

<%= pb_rails("gauge", props: {
  id: "gauge-units1",
  chart_data: data1,
  title: "Data Usage",
  suffix: "GB"
}) %>

<% data2 = [
  {
    name: 'Sales to Date',
    value: 65,
  }
]%>

<%= pb_rails("gauge", props: {
  id: "gauge-units2",
  chart_data: data2,
  title: "Sales Goal",
  prefix: "$",
  suffix: "k",

}) %>

Version data entries

2,119 entries across 2,119 versions & 2 rubygems

Version Path
playbook_ui-7.8.2 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.html.erb
playbook_ui-7.8.1 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.html.erb
playbook_ui-7.8.0 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.html.erb
playbook_ui-7.7.0.pre.alpha1 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.html.erb
playbook_ui-7.7.0 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.html.erb
playbook_ui-7.6.2.pre.alpha1 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.html.erb
playbook_ui-7.6.2 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.html.erb
playbook_ui-7.6.1.pre.alpha1 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.html.erb
playbook_ui-7.6.1 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.html.erb
playbook_ui-7.6.0 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.html.erb
playbook_ui-7.5.1 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.html.erb
playbook_ui-7.5.0 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.html.erb
playbook_ui-7.4.2 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.html.erb
playbook_ui-7.4.1 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.html.erb
playbook_ui-7.4.0.pre.alpha6 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.html.erb
playbook_ui-7.4.0.pre.alpha5 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.html.erb
playbook_ui-7.4.0 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.html.erb
playbook_ui-7.4.0.pre.test4 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.html.erb
playbook_ui-7.4.0.pre.test3 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.html.erb
playbook_ui-7.4.0.pre.test2 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.html.erb