Change Graph Legend "Val" to a meaningful name

I have a graph displaying chilled water in and out temperature. I am using MySQL.

Below the graph, the legend is displayed as “Val”. How do I change the “Val” with a meaningful name like “chilled water in” or “chilled water out”?

Hi @mihirpatel!

It’s very straightforward: when setting up your queries, make sure you use aliases, they will become the names of your series. You can specify them in a query builder, clicking on a plus sign and selecting alias in the SELECT row
query builder
or directly in your SQL query using the keyword as after an appropriate select.
SQL query

Best regards,
Lukas

1 Like

Thanks Lukasz.

It’s changed now.