Login Page - Create Account

Support Board


Date/Time: Sat, 23 Nov 2024 21:50:24 +0000



Post From: How to draw rectangle using ACSIL that occupy all of bar space?

[2013-08-05 20:54:52]
TrueBalance - Posts: 4
Is it possible (using ACSIL) to draw rectangles that occupy all of the bar space?

I have tried stuff like:


tool1.BeginDateTime = sc.BaseDateTimeIn[sc.Index] - (sc.SecondsPerBar * SECONDS)/2;
tool1.EndDateTime = sc.BaseDateTimeIn[sc.Index] + (sc.SecondsPerBar * SECONDS)/2;
    

Needless to say, it doesn't work. I'd appreciate any ideas on how to accomplish this.

EDIT: I can't use "background color" for this as I will be drawing several different rectangles vertically (not shown in the attached image).
Date Time Of Last Edit: 2013-08-05 21:02:42
imagesc-draw-rect.png / V - Attached On 2013-08-05 20:54:23 UTC - Size: 69.55 KB - 732 views