I have news, the example for many lines works now, the solution was only add this dataset1 = {{{payload.chartdata2}}} in the template for multiple line, and maybe you can look this check chart ui
u will see something like this:
I hope can be useful for more people,
Best regards