Login Page - Create Account

Support Board

Date/Time: Sun, 07 Aug 2022 16:06:25 +0000

Alignment not coming out with Text Tool and ACSIL

View Count: 835

[2014-02-17 06:17:19]
onnb - Posts: 638
I am formatting a string with padding so that it is right justified. See below what the SCString looks like before setting the tool text field.
Now when I see it on the chart, it looks like the link below. Note that the fields are no longer aligned. Does this make sense? Am I missing a setting to the tools object or something?


Upcoming Events
USD Monday 08:01 Holiday Bank Holiday
USD Wednesday 08:30 High PPI m/m
USD Wednesday 08:30 High Building Permits
USD Wednesday 14:00 High FOMC Meeting Minutes
USD Thursday 08:30 High Unemployment Claims

The tool output on the chart

Date Time Of Last Edit: 2014-02-17 06:18:02
[2014-02-17 06:31:03]
Sierra Chart Engineering - Posts: 104213
The basic reason that you see what you do is that your source code editor is probably using a fixed width font and the font setting in Sierra Chart is a variable width font.

The only way to get guaranteed alignment is to output each column separately.
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:

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

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


Login Page - Create Account