hello
i have a graph with 2 lines.
const Data1_1 = [["2022-05-10 00:00:01",17],["2022-05-10 00:04:58",17],["2022-05-10 00:09:57",17],["2022-05-10 00:14:57",17],["2022-05-10 00:19:58",17]];
const Data1_2 = [["2022-05-10 00:00:01",0],["2022-05-10 00:04:58",0],["2022-05-10 00:09:57",0],["2022-05-10 00:14:57",0],["2022-05-10 00:19:58",0]];
the numbers are synonyms for texts.
e.g. 1st line
0 = waiting
1 = loading
2 = works
17 = sleep
etc.
2. line_
0 = -
1 = cold
2 = warm
3 = wet
how can i display the values in toooltip as texts. so instead of
scode: 0
sscode = 2
i want
scode: waiting
sscode: warm
Thanks for help