Thanks for reply, I have a large random number of frequencies!
Now I found this solution:
For k:=0 to nmax
Do Case n mod 6 of
0: Chart2LineSeries.Addxy(xTranData[k],yTranData[k],'' ,clBlack);
1: Chart2LineSeries.Addxy(xTranData[k],yTranData[k],'' ,clMaroon);
2: Chart2LineSeries.Addxy(xTranData[k],yTranData[k],'' ,clRed);
3: Chart2LineSeries.Addxy(xTranData[k],yTranData[k],'' ,clLime);
4: Chart2LineSeries.Addxy(xTranData[k],yTranData[k],'' ,clGreen);
5: Chart2LineSeries.Addxy(xTranData[k],yTranData[k],'' ,clBlue);
else Chart2LineSeries.Addxy(xTranData[k],yTranData[k],'',clPurple);
end;
The only strange thing here is that the string output is not working (but here I don't need it).
Bye Stephan