Sha256: 2d5cb699ea676f39ca4d91cb739895abafd0fac4ecd8320a9e6ad786ca8ea8f7
Contents?: true
Size: 1.49 KB
Versions: 1517
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,517 entries across 1,517 versions & 2 rubygems