Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 06:38:37 +0000



v2547 Fonts and chart subgraph output/drawstyle

View Count: 406

[2023-09-17 12:10:06]
Acro - Posts: 441
Hi,

A question about the changes in v2547.

I understand the release notes re some text on a chart becoming tiny after this release.

However, I am also wondering about vertical and horizontal alignment of text used in the chart subgraph output/drawstyle within a study.

For a couple of studies that I use where text is inside a subgraph element in region 0, both the vertical and horizontal alignment of the text has changed in v2547.

So, where the tezt was intended to be centered within the subgraph element on the chart it is no longer centered.

Any advice on what may have changed in 2547 to affect this alignment would be appreciated.
[2023-09-17 13:46:33]
Sierra_Chart Engineering - Posts: 17190
We need to know the particular Subgraph Draw Style that is used for that text.
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
Date Time Of Last Edit: 2023-09-17 13:46:42
[2023-09-17 14:26:17]
User907968 - Posts: 823
I can't speak for the other user, but all the Custom Value at Y drawstyles seem to be aligned differently (at least vertically).
Vertical alignment seems to be bottom, where before it was center - can this now be controlled in ACSIL?

Also the same with the price axis, axis values seem bottom aligned, but crosshair values and subgraph value labels remain center aligned.


In the post about font size handling you mention "This change is going to cause a problem where Chartbooks and global configurations which hold font information, saved in newer versions of Sierra Chart supporting this change and then used in an older versions, will have the fonts appear very small."

The same seems to be true opening charts after updating to the new version, certainly the drawstyles mentioned above (and text drawings), the previouly legible text is now microscopic.
[2023-09-17 15:10:17]
Acro - Posts: 441
I echo User 907968's comments.

I believe the draw style is custom value at Y but since I did not program this study I cannot confirm.

However, I can say that all my text displays from study have become microscopic when opening my existing chartbooks in 2547.

I use a lot of those text studies to monitor various market stats derived from other studies so it will be a fair bit of work getting everything adjusted again.
- eg text that was set at font 16 and 24 beforehand is now unreadable unless it is increased substantially.

Also, with the custom studies I have from other developers I do not have the option to increqse text size in the relevant study beyond a certain number, eg 24, so those studies become very hard to read in this new version
[2023-09-17 16:15:05]
Sierra_Chart Engineering - Posts: 17190
There are two different things being described in this thread. Font sizes is completely unrelated to text positioning.

If you have a font size problem disable OpenGL. Apparently there is an issue with fonts and OpenGL. For now just do not use OpenGL. That will resolve the font issue.

Vertical alignment seems to be bottom, where before it was center - can this now be controlled in ACSIL?
Yes. There are three different Text related Draw Styles this can be controlled with. Refer to the documentation here:

ACSIL Interface Members - sc.Subgraph Array: sc.Subgraph[].DrawStyle
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
Date Time Of Last Edit: 2023-09-17 16:15:56
[2023-09-17 16:43:37]
User907968 - Posts: 823
Font sizes is completely unrelated to text positioning.

In this case they definitely seem related, why would I say that?
Not only is the font sizing corrected when OpenGL is disabled, but also the text positioning is corrected again.

Using the platform without OpenGL is not a viable option for me, therefore I will simply revert to an earlier version.


It is good to know that there are new alignment controls for various drawstyles, thanks for that, I can see those being rather useful.
[2023-09-17 16:56:38]
Sierra_Chart Engineering - Posts: 17190
Text positioning related to the Draw Styles controlling the position, is not the problem.

We will look into the OpenGL issue.
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

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

Login

Login Page - Create Account