R
RobcPettit
Hi, Im not sure how to word this question, hopefully it will be understandable. I'm adding lines to a chart. No problems doing this. I have a method that assigns the line a color. To do this i use 'line ln = new line();'. Then ln.linestyle.color = color.blue; This works great. If i have say, twenty lines the i have to declare new lines, ln1....ln20. the ln1.linestyle........ln20.linestyle. Which is ok, just alot of typing. Is it possible to dothis with a loop. I've tried using a string, string test = ln + i, then test.line..... But of course I get a compile error. Im a diy csharper, so my knowledge is books and internet. So im not sure which area this comes under.
Regards Robert
Regards Robert