{# SPARKLINE BARS (#321) — a short series as a row of narrow cells, each filled from the foot to its share of `sparkline_height`. A layout table, because the Word engine sizes a td by its height and a table by its width attribute; the print engine reads the CSS twins. The gap is each bar's left padding, inline and `!important`, so the mobile rule that pads every data-table td cannot move it. The last bar takes the series' tone and the rest the rule, unless every bar is toned. The summary rides as the table's title. `place` sets auto margins only: the cell around it carries the alignment for Outlook, and a table's own `align` would be a placement with no CSS twin. sparkline(spark, place) — spark is Series.drawn(); place "", "center" or "right". #} {% macro sparkline(spark, place="") -%} {%- set tall = size.component.sparkline_height -%}{%- set wide = size.component.sparkline_bar -%}