@xavcactus,
Legend for a stripline is not possible as of now. As mentioned earlier, legends are used to represent dataSeries.
Based on the solution that you have shared, you need to update the legend items once the chart is re-rendered.
—-
Manoj Mohan
Team CanvasJS