Sha256: dd1869fba780883b7767583f03c0915d4cb316b35ca9cf7125b1c80f71bb4f8b
Contents?: true
Size: 1.84 KB
Versions: 1853
Compression:
Stored size: 1.84 KB
Contents
<% data = [{ name: 'Installation', data: [43934, 52503, 57177, 69658, 97031, 119931, 137133, 154175] }, { name: 'Manufacturing', data: [24916, 24064, 29742, 29851, 32490, 30282, 38121, 40434] }, { name: 'Sales & Distribution', data: [11744, 17722, 16005, 19771, 20185, 24377, 32147, 39387] }, { name: 'Project Development', data: [nil, nil, 7988, 12169, 15112, 22452, 34400, 34227] }, { name: 'Other', data: [12908, 5948, 8105, 11248, 8989, 11816, 18274, 18111] }] %> <%= pb_rails("title", props: {size: 4, text: "align | vertical_align", padding_top: "sm", padding_bottom: "sm"})%> <%= pb_rails("line_graph", props: { id: "legend-position-line", gradient: false, chart_data: data, x_axis_categories:['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug'], title: 'Alignment of Legend', axis_title: 'Number of Employees', 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("line_graph", props: { id: "legend-position-line-1", gradient: false, chart_data: data, x_axis_categories:['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug'], title: 'Layout of Legend', axis_title: 'Number of Employees', 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("line_graph", props: { id: "legend-position-line-2", gradient: false, chart_data: data, x_axis_categories:['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug'], title: 'Offset of Legend', axis_title: 'Number of Employees', legend: true, layout: "vertical", x: 100, y: 10, padding_top: "sm", }) %>
Version data entries
1,853 entries across 1,853 versions & 2 rubygems