Sha256: 1bf414ce15c7a887fd299c31dd9fbaf90f997fc9b450302728621ed3f6940c87
Contents?: true
Size: 1.46 KB
Versions: 1517
Compression:
Stored size: 1.46 KB
Contents
<% data = [{ name: 'Installation', data: [1475] }, { name: 'Manufacturing', data: [4434] }, { name: 'Sales & Distribution', data: [3387] }, { name: 'Project Development', data: [3227] }, { name: 'Other', data: [1111] }] %> <%= pb_rails("title", props: {size: 4, text: "align | vertical_align", padding_top: "sm", padding_bottom: "sm"})%> <%= pb_rails("bar_graph", props: { axis_title: 'Number of Employees', chart_data: data, id:"legend-position-bar", y_axis_min: 0, x_axis_categories:['Jan'], title: 'Alignment of Legend', legend: true, align: 'right', vertical_align: 'top', padding_bottom: "sm", }) %> <%= pb_rails("title", props: {size: 4, text: "layout", padding_top: "sm", padding_bottom: "sm"})%> <%= pb_rails("bar_graph", props: { axis_title: 'Number of Employees', chart_data: data, id:"legend-position-bar-1", y_axis_min: 0, x_axis_categories:['Jan'], title: 'Layout of Legend', legend: true, 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("bar_graph", props: { axis_title: 'Number of Employees', chart_data: data, id:"legend-position-bar-2", y_axis_min: 0, x_axis_categories:['Jan'], title: 'Offset of Legend', legend: true, layout: "vertical", x: 100, y: 10, padding_top: "sm", }) %>
Version data entries
1,517 entries across 1,517 versions & 2 rubygems