How to access legend from notification template?

Hi All, I have a doubt regarding retrieve the legend from query response in notification template.

my legend from query response as below:
abc: 5
def: 10

when i use {{index .Labels}} or range $k, $v := .Values . i still cant access “abc” or “def” legend.

1 Like