Sha256: 1bf414ce15c7a887fd299c31dd9fbaf90f997fc9b450302728621ed3f6940c87

Contents?: true

Size: 1.46 KB

Versions: 1794

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,794 entries across 1,794 versions & 2 rubygems

Version Path
playbook_ui-12.12.0 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-12.11.0 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-12.10.0.pre.alpha.PLAY705phonenumberreturn372 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-12.10.0.pre.alpha.PLAY677richtexteditorts370 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-12.10.0 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-12.9.1.pre.alpha.play664tiptapinvestigation353 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-12.9.1.pre.alpha.PLAY689bugtxtinputlabel346 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-12.9.1.pre.alpha.menucleanup345 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-12.9.1.pre.alpha.menucleanup342 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-12.9.1 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-12.9.0 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-12.8.0.pre.alpha.PLAY625phonenumberdark301 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-12.8.0.pre.alpha.PLAY625phonenumberdark300 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-12.8.0.pre.alpha.PLAY649mapkitstyles299 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-12.8.0.pre.alpha.PLAY645typescriptprogresstep298 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-12.8.0.pre.alpha.PLAY645typescriptprogresstep297 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-12.8.0.pre.alpha.rubyandnpmalpharelease296 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-12.8.0.pre.alpha.rubyandnpmalpharelease295 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-12.8.0.pre.alpha.rubyandnpmalpharelease294 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb
playbook_ui-12.8.0 app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb