Sha256: 9793d0dfd57c5087912e67736dfb74bf636eeffae0405b4569937332f101309b

Contents?: true

Size: 922 Bytes

Versions: 1851

Compression:

Stored size: 922 Bytes

Contents

<% data = [
  {
    name: 'Meat',
    id: 'Meat',
    color: "#0056CF",
  }, {
    name: 'Pepperoni',
    parent: 'Meat',
    value: 250,
  }, {
    name: 'Meatball',
    parent: 'Meat',
    value: 400,
  }, {
    name: "Anchovy",
    parent: 'Meat',
    value: 40,
  }, {
    name: 'Vegetarian',
    id: 'Vegetarian',
    color: "#F9BB00",
  }, {
    name: 'Onions',
    parent: 'Vegetarian',
    value: 300,
  }, {
    name: 'Pineapple',
    parent: 'Vegetarian',
    value: 90,
  }, {
    name: "Peppers",
    parent: 'Vegetarian',
    value: 80,
  }, {
    name: "Specialty",
    id: "Specialty",
    color: "#9E64E9",
  },{
    name: "Buffalo Chicken",
    parent: "Specialty",
    value: 400,
  }, {
    name: "Supreme",
    parent: "Specialty",
    value: 150,
  }
] %>

<%= pb_rails("treemap_chart", props: {
    chart_data: data,
    grouped: true,
    id: "treemap-grouped",
    title: "Grouped Toppings",
}) %>

Version data entries

1,851 entries across 1,851 versions & 2 rubygems

Version Path
playbook_ui-14.11.0.pre.rc.17 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_grouped_data.html.erb
playbook_ui-14.11.0 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_grouped_data.html.erb
playbook_ui_docs-14.11.0.pre.rc.16 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_grouped_data.html.erb
playbook_ui-14.11.0.pre.rc.16 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_grouped_data.html.erb
playbook_ui_docs-14.10.0.pre.alpha.play16825301 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_grouped_data.html.erb
playbook_ui-14.10.0.pre.alpha.play16825301 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_grouped_data.html.erb
playbook_ui_docs-14.11.0.pre.rc.15 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_grouped_data.html.erb
playbook_ui-14.11.0.pre.rc.15 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_grouped_data.html.erb
playbook_ui_docs-14.11.0.pre.rc.14 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_grouped_data.html.erb
playbook_ui-14.11.0.pre.rc.14 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_grouped_data.html.erb
playbook_ui_docs-14.11.0.pre.rc.13 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_grouped_data.html.erb
playbook_ui-14.11.0.pre.rc.13 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_grouped_data.html.erb
playbook_ui_docs-14.11.0.pre.rc.12 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_grouped_data.html.erb
playbook_ui-14.11.0.pre.rc.12 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_grouped_data.html.erb
playbook_ui_docs-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5274 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_grouped_data.html.erb
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5274 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_grouped_data.html.erb
playbook_ui_docs-14.10.0.pre.alpha.play1465attempt25272 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_grouped_data.html.erb
playbook_ui-14.10.0.pre.alpha.play1465attempt25272 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_grouped_data.html.erb
playbook_ui_docs-14.10.0.pre.alpha.play16825244 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_grouped_data.html.erb
playbook_ui-14.10.0.pre.alpha.play16825244 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_grouped_data.html.erb