Sha256: df9ddc8893c2f167b140bd809c54e8e76155303b0742ad5f3220c848175f1be9

Contents?: true

Size: 552 Bytes

Versions: 2177

Compression:

Stored size: 552 Bytes

Contents

 <% data = [{
      name: 'Facebook',
      value: 2498,
    },
    {
      name: 'YouTube',
      value: 2000,
    },
    {
      name: 'WhatsApp',
      value: 2000,

    },
    {
      name: 'Facebook Messenger',
      value: 1300,
    },
    {
      name: 'WeChat',
      value: 1165,
    },
    {
      name: 'Instagram',
      value: 1000,
    },
    {
      name: 'Tik Tok',
      value: 800,
    },
  ] %>

<%= pb_rails("circle_chart", props: {
    style: "pie",
    chart_data: data,
    id: "with-labels-example",
    data_labels: true
}) %>

Version data entries

2,177 entries across 2,177 versions & 2 rubygems

Version Path
playbook_ui-10.1.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.html.erb
playbook_ui-10.0.3.pre.alpha.walkthrough2 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.html.erb
playbook_ui-10.0.3.pre.alpha.walkthrough app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.html.erb
playbook_ui-10.0.1.alpha.railscusticon app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.html.erb
playbook_ui-10.0.2.pre.alpha.pre.iconfix app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.html.erb
playbook_ui-10.0.1.alpha.rtflexfix app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.html.erb
playbook_ui-10.0.0.pre.alphafonts app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.html.erb
playbook_ui-10.0.1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.html.erb
playbook_ui-10.0.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.html.erb
playbook_ui-9.19.0.pre.alpha.pre.fonts2 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.html.erb
playbook_ui-9.19.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.html.erb
playbook_ui-9.19.0.pre.alphafonts app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.html.erb
playbook_ui-9.18.0.flow.bin.alpha app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.html.erb
playbook_ui-9.18.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.html.erb
playbook_ui-9.17.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.html.erb
playbook_ui-9.17.0.pre.decouple.website2 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.html.erb
playbook_ui-9.16.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.html.erb
playbook_ui-9.15.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.html.erb
playbook_ui-9.15.0.pre.decouple.website1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.html.erb
playbook_ui-9.14.1.alpha.radio.alignment app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.html.erb