Example

<!-- 2 big values stacked vertically -->
{% stack  %}
    {% big_value
        data="demo_daily_orders"
        value="sum(total_sales)"
    /%}
    {% big_value
        data="demo_daily_orders"
        value="avg(avg_transaction_value)"
    /%}
{% /stack %}

Attributes

align
String
default:"stretch"
How to horizontally align items in this stack
card
Boolean
default:"false"
Display the stack contents as a single card when card mode is enabled
width
Number
Set the width of this component (in percent) relative to the page width