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...