int z=1,str[9]={1,3,5,10,20,8,7,6,5},s[9]; for(int x=0;x<10;x++) { s[x]=z; Series1->AddXY(s[x],str[x],""); Series2->AddXY(s[x],str[x]+30,""); z++; }