Canvas line-chart with multiple lines

I'm new to Kibana. I have the following data:

DateTime Temperature1 Temperature2 Temparature3
2021-10-05 09:00:00 5 2 9
2021-10-05 10:00:00 6 1 7

I want to create on a canvas a line-chart, x-axis is the DateTime, y-axis is the temperature. I want to have a line for temperature1, one for temperature2 and one for temperature3. Is this possible and how have I to do this? I don't find an option to add an extra line on the chart.

Hi @marcw ,

welcome to the Kibana community.
It is not trivial do have multiple series in Canvas charts, and it requires to change slightly the data: Canvas: how to make stacked area chart? - #2 by Catherine_Liu

Another solution would be to create the visualization with the Lens or Aggregation-based editor, save it in the Visualize Library, then import it in Canvas: Canvas | Kibana Guide [master] | Elastic

Note: in case of import from other Kibana editor mind that the time range is saved within the visualization and not in the Canvas workpad

Hi @Marco_Liberati ,

Thanks for the answer. I will try to change the structure of the index.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.