=============
``big_value``
=============
.. image:: img/smaller/big-value.png
**Description**
This is a variation of ``simple_percentage`` tile. It has slightly different
footer (four possible values instead of just two; values are displayed on the
right side of the label instead of below), and the main value (``big_value``)
is little bit bigger.
**Content**
::
data = {
"title": "
",
"description": "",
"big-value": "",
"upper-left-label": "",
"upper-left-value": "",
"lower-left-label": "",
"lower-left-value": "",
"upper-right-label": "",
"upper-right-value": "",
"lower-right-label": "",
"lower-right-value": ""
}
where:
.. describe:: title, description
Title and description (subtitle) for the tile.
.. describe:: big_value
Main value, which treated as a string, so it can contain symbols like ``%`` etc.
.. describe:: upper-left-value, lower-left-value, upper-right-value, lower-right-value
Smaller, bottom-left and bottom-right values.
.. describe:: upper-left-label, lower-left-label, upper-right-label, lower-right-label
Labels for above values.
Example::
curl http://localhost:7272/api/v0.1//push
-X POST
-d "tile=big_value"
-d "key="
-d 'data={"title": "Tickets",
"description": "number of blockers",
"big-value": "314",
"upper-left-label": "critical:",
"upper-left-value": "1020",
"lower-left-label": "major:",
"lower-left-value": "8609",
"upper-right-label": "minor:",
"upper-right-value": "7532",
"lower-right-label": "all:",
"lower-right-value": "19 853"}'
**Configuration**
::
value = {
"big_value_color": "",
"fading_background":
}
where:
.. describe:: big_value_color
Background color for ``big_value`` in a hexadecimal form or color name (e.g.
``#94C140`` or ``green``).
.. describe:: fading_background
Turns on/off background pulsation for ``big_value`` (may be useful for
alerts etc.).
.. versionadded:: 1.3.0
Example::
curl http://localhost:7272/api/v0.1//tileconfig/
-X POST
-d 'value={"big_value_color": "green", "fading_background": true}'