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

Version Path
playbook_ui_docs-14.9.0.pre.rc.8 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-14.9.0.pre.rc.8 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui_docs-14.8.0.pre.alpha.PLAY1598floatinguiupgrade4617 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-14.8.0.pre.alpha.PLAY1598floatinguiupgrade4617 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui_docs-14.9.0.pre.rc.7 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-14.9.0.pre.rc.7 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui_docs-14.9.0.pre.rc.6 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-14.9.0.pre.rc.6 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui_docs-14.9.0.pre.rc.5 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-14.9.0.pre.rc.5 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui_docs-14.8.0.pre.alpha.pbntr661createstickyleftprop4612 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-14.8.0.pre.alpha.pbntr661createstickyleftprop4612 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui_docs-14.8.0.pre.alpha.play1648heightglobalprops4606 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-14.8.0.pre.alpha.play1648heightglobalprops4606 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui_docs-14.9.0.pre.rc.4 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-14.9.0.pre.rc.4 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui_docs-14.9.0.pre.rc.3 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-14.9.0.pre.rc.3 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui_docs-14.9.0.pre.rc.2 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-14.9.0.pre.rc.2 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb