Sha256: c49d46d65a5d0ed69545b1a6b8d7d6838c1ead06084224a9c4ca1d65653f8fe3

Contents?: true

Size: 1.33 KB

Versions: 7

Compression:

Stored size: 1.33 KB

Contents

<%
  row = cell(:elements, :row).new
  block = cell(:elements, :block).new(class: 'xs-12 sm-12 md-12')
  code = cell(:elements, :code).new
%>

<!-- PRESENTATION -->
<%=raw row.open %>

  <%=raw block.open %>

    <%=raw cell(:elements, :title).new(label: 'Cells Charts: Bar Vertical') %>

    <p>A Verticalbar is a bar chart with a vertical direction.</p>

  <%=raw block.close %>

<%=raw row.close %>
<!-- / PRESENTATION -->

<hr>
<%=raw cell(:elements, :title).new(label: 'Normal Bar Vertical', size: 3) %>

<% example_row = cell(:elements, :row).new %>

<%=raw example_row.open %>

  <%=raw block.open %>

    <%=raw cell(:charts, :bar, :vertical).new(
      labels: ['01', '02', '03'],
      datasets: [
        {label: 'Interactions', data: [403, 959, 234]},
        {label: 'Downloads', data: [124, 390, 87]}
      ]
    ) %>
    
  <%=raw block.close %>

<%=raw example_row.close %>

<!-- CODE SECTION -->
<%=raw row.open %>

<%=raw block.open %>

<%=raw cell(:elements, :title).new(label: 'Code', size: 6) %>

<%=raw code.open %>

<%= erb_open_tag %>=raw cell(:charts, :bar, :vertical).new(
  labels: ['01', '02', '03'],
  datasets: [
    {label: 'Interactions', data: [403, 959, 234]},
    {label: 'Downloads', data: [124, 390, 87]}
  ]
) <%= erb_close_tag %>

<%=raw code.close %>

<%=raw block.close %>

<%=raw row.close %>
<!-- / CODE SECTION -->

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
lato_core-2.2.2 app/views/lato_core/doc/cells_charts/bar_vertical.erb
lato_core-2.2.0 app/views/lato_core/doc/cells_charts/bar_vertical.erb
lato_core-2.1.4 app/views/lato_core/doc/cells_charts/bar_vertical.erb
lato_core-2.1.3 app/views/lato_core/doc/cells_charts/bar_vertical.erb
lato_core-2.1.2 app/views/lato_core/doc/cells_charts/bar_vertical.erb
lato_core-2.1.1 app/views/lato_core/doc/cells_charts/bar_vertical.erb
lato_core-2.1 app/views/lato_core/doc/cells_charts/bar_vertical.erb