08-25-2005 02:56 AM
08-29-2005 02:16 PM
NicoP,
It's possible to draw a multi-colored line on a graph control, but you can't do it off of the edit screen, you will have to do it programatically. I am assuming you wish to make a vertical line that changes colors along the Y axis. Here is how you might go about it:
PlotLine (panel, PANEL_GRAPH, 10, 3, 10, 5, VAL_RED); //Set red from 3 to 5 @ x = 10
PlotLine (panel, PANEL_GRAPH, 10, 5, 10, 6, VAL_YELLOW); //Set yellow from 5 to 6 @ x = 10
PlotLine (panel, PANEL_GRAPH, 10, 6, 10, 8, VAL_GREEN);//Set green from 6 to 8 @ x = 10
09-02-2005 03:01 AM