I wish to create a rectangle box on my chart which changes color according to time i.e from 9:40 to 10:00am its color remain green and after that it changes to blue.
GfxSelectSolidBrush( colorBlue );//for rectangle color
x = 1050;
x2 = x-180;
y = 130;
GfxRectangle(x, y - 70, x2, y);//for displaying rectangle on chart
Also if rectangle box could move up and down i.e 9:40 to 10:00am value of y should be equal to 90 and after that it becomes 130 again.
I dont know if i m asking something stupid... But if it is possible then plz help..
GfxSelectSolidBrush( colorBlue );//for rectangle color
x = 1050;
x2 = x-180;
y = 130;
GfxRectangle(x, y - 70, x2, y);//for displaying rectangle on chart
Also if rectangle box could move up and down i.e 9:40 to 10:00am value of y should be equal to 90 and after that it becomes 130 again.
I dont know if i m asking something stupid... But if it is possible then plz help..