line.index = Lines.Length;
AddLine(line.color, line.value, line.name);
//Lines[line.index].Pen.DashStyle = line.style;
Why? How an I supposed to set the line style?
=====
Related question: how am I supposed to set the plot style for a plot added with AddPlot(...)?
--EV

Comment