Is it possible to get line breaks in chartjs tooltips?
tooltipTemplate: \"<%if (label){%><%=label%>: <%}%><%= value %>\"
This worked for me. Just simply return an array of strings as labels in tooltips.
tooltips: { callbacks: { label: function(tooltipItem, data) { let label = "Line 1"; let label2 = "Line 2"; return [label, label2]; } } }