{%- for metric in metrics -%} {%- for label in labels -%} {%- if data[metric][label] | length == 1 -%} {%- with class = data[metric][label][0] -%} {%- endwith -%} {%- elif data[metric][label] | length == 2 -%} {%- with rgba, value = data[metric][label] -%} {%- endwith -%} {%- elif data[metric][label] | length == 3 -%} {%- with text_color, rgba, value = data[metric][label] -%} {%- endwith -%} {%- endif -%} {%- endfor -%} {%- endfor -%} {%- for label in labels -%} {%- endfor -%}
{%- if links -%} {%- endif -%} {{ metric | fmt_metric }} {%- if links -%} {%- endif -%}  {{ value }}{{ value }}
 {{ label }}