Sha256: 2d5cb699ea676f39ca4d91cb739895abafd0fac4ecd8320a9e6ad786ca8ea8f7

Contents?: true

Size: 1.49 KB

Versions: 1546

Compression:

Stored size: 1.49 KB

Contents

<% data = [{
    name: 'Waiting for Calls',
    value: 41,
  },
  {
    name: 'On Call',
    value: 49,
  },
  {
    name: 'After call',
    value: 10,
  }
] %>

<% data_1 = [{
    name: 'Bugs',
    value: 8,
  },
  {
    name: 'Chores',
    value: 1,
  },
  {
    name: 'Stories',
    value: 12,
  }
] %>

<% data_2 = [{
    name: 'Queued',
    value: 7,
  },
  {
    name: 'In Progress',
    value: 6,

  },
  {
    name: 'Validation',
    value: 3,
  },
  {
    name: 'Done',
    value: 6,
  },
] %>


<%= pb_rails("title", props: {size: 4, text: "align | vertical_align", padding_top: "sm", padding_bottom: "sm"})%>

<%= pb_rails("circle_chart", props: {
    style: "pie",
    chart_data: data,
    legend: true,
    id: "legend-position-circle",
    title: 'Alignment of Legend',
    align: 'right',
    vertical_align: 'top',
    padding_bottom: "sm",
}) %>

<%= pb_rails("title", props: {size: 4, text: "layout", padding_top: "sm", padding_bottom: "sm"})%>

<%= pb_rails("circle_chart", props: {
    style: "pie",
    chart_data: data_1,
    legend: true,
    id: "legend-position-circle-1",
    title: 'Layout of Legend',
    layout: 'vertical',
    padding_top: "sm",
    padding_bottom: "sm",
}) %>

<%= pb_rails("title", props: {size: 4, text: "x | y", padding_top: "sm", padding_bottom: "sm"})%>

<%= pb_rails("circle_chart", props: {
    style: "pie",
    chart_data: data_2,
    legend: true,
    title: 'Offset of Legend',
    id: "legend-position-circle-2",
    x: 100,
    y: 10,
    padding_top: "sm",
}) %>

Version data entries

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

Version Path
playbook_ui-11.20.0.pre.alpha.passthrough1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.html.erb
playbook_ui-11.20.0.pre.alpha.railsdialog1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.html.erb
playbook_ui-11.20.0.pre.alpha.focus1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.html.erb
playbook_ui-11.20.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.html.erb
playbook_ui-11.19.0.pre.alpha.map1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.html.erb
playbook_ui-11.19.0.pre.alpha.pagpassthrough1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.html.erb
playbook_ui-11.19.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.html.erb
playbook_ui-11.18.0.pre.alpha.pagutility1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.html.erb
playbook_ui-11.19.0.pre.typeahead1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.html.erb
playbook_ui-11.18.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.html.erb
playbook_ui-11.17.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.html.erb
playbook_ui-11.15.0.pre.alpha.dependencies1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.html.erb
playbook_ui-11.16.0.pre.alpha.paginationrails1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.html.erb
playbook_ui-11.16.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.html.erb
playbook_ui-11.16.0.pre.alpha.reactupgrade1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.html.erb
playbook_ui-11.15.0.pre.alpha.table1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.html.erb
playbook_ui-11.16.0.pre.alpha.pagination.rails1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.html.erb
playbook_ui-11.15.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.html.erb
playbook_ui-11.14.0 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.html.erb
playbook_ui-11.13.0.pre.alpha.fontawesome1 app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.html.erb