Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 01:19:54 +0000



Vertical Centering Label on Line using ACSIL

View Count: 731

[2019-05-09 05:21:18]
HAB-User115006 - Posts: 38
SC version: 1915, 64-bit, Win 7

I am drawing a horizontal line using sc.UseTool(), I need to show price and label

DT_Bottom works correctly but DT_VCENTER always resets the text to the default DT_TOP, momentarily it is VCentered but on the next tick it goes back to being DT_TOP justified.

What am I missing?, I have deleted an earlier post from 3 weeks ago, I got no reply and after further debugging I think this is an SC issue. Please resolve this, THANKS...

Here is the abbreviated code:

Tool.DrawingType = DRAWING_HORIZONTALLINE;
Tool.AddAsUserDrawnDrawing = 1;
Tool.TextAlignment = DT_LEFT | DT_VCENTER;
Tool.AddMethod = UTAM_ADD_OR_ADJUST;

if (r_DailyID != 0)
Tool.LineNumber = r_DailyID;
Tool.BeginValue = sc.Close[sc.ArraySize - 1];
Tool.Text = " Test Line";
sc.UseTool(Tool);
r_DailyID = Tool.LineNumber; //Remember line number which has been automatically set
[2019-05-22 13:57:42]
Sierra Chart Engineering - Posts: 104368
We do see this problem and it will be resolved in the next release.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2019-05-26 05:35:15]
HAB-User115006 - Posts: 38
Thanks, look forward to the fix...
[2019-05-26 13:11:26]
Sierra Chart Engineering - Posts: 104368
It has already been released in 1924.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2019-06-02 07:40:33]
HAB-User115006 - Posts: 38
Confirmed it works, Thanks!

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account