User (Legacy) Posted October 30, 2000 Report Share Posted October 30, 2000 hi, I have two seriess (scatter) and i want to set different color(5 colors) for different point in the same series. this is my code: 'il_results holds the number of point in the graph object.OpenDataEx(COD_VALUES,2, il_results) ] object.OpenDataEx (COD_COLORS,????????, 0) for ... .. 'get ld_data1 'get ld_data2 .. object.Series(0).Yvalue(j,ld_data1) object.Series(1).Yvalue(j,ld_data2) IF x='F' THEN object.Color(???????,RGB(255, 0, 0)) ELSEIF x= 'O' THEN object.Color(???????,RGB(0,0,255)) ELSEIF xl="V" THEN object.Color(??????? ,RGB(0,255,0)) ELSEIF xl="I" THEN object.Color(???????,RGB(255,255,50)) ELSE object.Color(???????,RGB(0,0,0)) END IF Next object.CloseData(3) object.CloseData(1) I don't know what to put in this line - OpenDataEx (COD_COLORS,????????, 0) the number of colors shold be 5??? or a combination of the number of points and seriass , i try all sort of combination with no success at all. I want to set different colors only to serias number 1 (i don't care about the other serias colors bat i paint it) object.Color(???????,..) - What shold i put in this line , i try whats written in the help files of chartfx , again with no success. please help me. eli. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.