I'm trying to plot a number of curves in one pane, using a loop. When I do this, I add the curves by the following line of code:
LineItem^ curve = trueDriftPane->AddCurve("curveName",curveList,*plotColors[index],SymbolType::Diamond);
where plotColors is an array<Color^>^ with a series of colors, such that each plot gets its own color.
When I do this, the legend shows a different color for each curve, but the curves on the plot itself are all red.
How can I give each curve that is created in a loop its own color in a graph?
Thanks for any help!