Show string values in time series graph

Hello, any advice to show string values in a time series graph?. is there any functio to convert to values?

this is what I’m using in influx

SELECT distinct(“temp_string”) FROM “snmp” WHERE $timeFilter GROUP BY time($__interval) fill(null)

it just show only in table format