Home › Forums › Chart Support › Dynamic lines in graph › Reply To: Dynamic lines in graph

#20668

@danielz,

You can store dataSeries name in ViewBags just like how you are doing it for data and read it in view ViewData["name"] = item.name;.

If this doesn’t fulfill your requirements, kindly share working project along with sample data, so that we can look into it and help you out.

—
Vishwas R
Team CanvasJS