Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 02:36:32 +0000



[Programming Help] - DRAWSTYLE_TRANSPARENT_TEXT_WITH_ALIGNMENT - TA_LEFT

View Count: 154

[2024-07-01 14:46:36]
User462086 - Posts: 196
From the documentation: "Text alignment can be optionally controlled through the sc.Subgraph[].Arrays[0][] array. Can be one of: TA_LEFT..."

ACSIL Interface Members - sc.Subgraph Array: sc.Subgraph[].DrawStyle

After trying "sc.Subgraph[sg].Arrays[0][sc.ArraySize-1] = TA_LEFT", and even setting all bar indexes to TA_LEFT, the text still plots center aligned.

How is this done?
[2024-07-01 16:13:46]
Sierra_Chart Engineering - Posts: 17154
Make sure you are running the latest Sierra Chart version.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-07-02 07:46:17]
User462086 - Posts: 196
After specifying a vertical alignment as well, it now works as expected (v2652):

sc.Subgraph[sg].Arrays[0][sc.ArraySize-1] = TA_LEFT|TA_BOTTOM;

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

Login

Login Page - Create Account