Login Page - Create Account

Support Board


Date/Time: Thu, 25 Apr 2024 21:25:52 +0000



[Programming Help] - Background of DRAWSTYLE_VALUE_ON_HIGH

View Count: 1075

[2018-03-13 08:35:26]
User79074 - Posts: 105
This pertains to both DRAWSTYLE_VALUE_ON_HIGH or DRAWSTYLE_VALUE_ON_LOW

When adding a value say a number like 1234 using DRAWSTYLE_VALUE_ON_HIGH, there is a background behind the number being shown. And this background covers the chart bars if it is on the chart bars so they become not visible. Is there a way to make this background transparent, while the number (foreground) remains on top?

I understand you can display under the price graph, but this isn't what I want to do. I want the background to be under price graph, but the number (foreground) to be above price graph.

Thanks in advance.
[2018-03-14 05:49:04]
User79074 - Posts: 105
Bump, any help here?
[2018-03-16 06:13:48]
User79074 - Posts: 105
Sierra Chart, please respond
[2018-03-16 08:30:14]
Sierra Chart Engineering - Posts: 104368
We can add a new ACSIL draw style which will not have an opaque background.

But this can only be used from ACSIL using custom programming.
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
Date Time Of Last Edit: 2018-03-16 08:30:26
[2018-03-16 12:56:11]
User79074 - Posts: 105
Yes, that would be great! Because the subgraph drawing is much more efficient than tool drawing.

Could you also add a pixel offset for the new draw style from the High and Low?

Thank you very much!
Date Time Of Last Edit: 2018-03-16 12:57:39
[2018-03-16 18:41:41]
Sierra Chart Engineering - Posts: 104368
The pixel offset you will control. The actual Vertical axis value is going to be programmatically controllable.
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
[2018-03-17 10:43:17]
User79074 - Posts: 105
Great, thank you. Is this in 1719 prerelease?
[2018-03-20 19:49:46]
User79074 - Posts: 105
Or 1720? Sorry for all the messages, just want to get an idea
[2018-03-21 05:24:19]
User79074 - Posts: 105
I see it, must be DRAWSTYLE_TRANSPARENT_CUSTOM_VALUE_AT_Y?
[2018-03-22 12:18:38]
User79074 - Posts: 105
Sierra, have not heard from you in many days.

There seems to be a problem if the value is more than 8 digits, it starts to show garbage numbers

Please make a vertical pixel offset for DRAWSTYLE_TRANSPARENT_CUSTOM_VALUE_AT_Y. I need to stack labels and keep them together if user scales the chart with the mouse.

Can you enable font settings for size and bold?

Also, when setting DrawZeros = 1 chart gets distorted. I am unable to draw zeroes
Date Time Of Last Edit: 2018-03-22 16:03:22
[2018-03-22 18:27:13]
Sierra Chart Engineering - Posts: 104368
All relevant information about this is here:
Chart Studies: Custom Value At Y (ACSIL: DRAWSTYLE_CUSTOM_VALUE_AT_Y)
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
[2018-03-22 19:11:01]
User79074 - Posts: 105
You did not answer the main question. What about a vertical pixel offset from Y?
[2018-03-23 09:54:47]
User79074 - Posts: 105
Is it really that hard to be able to specify a pixel offset after the value is placed at Y? This would be a huge performance increase on my indicators. Using s_UseTool is such poor performance when I have thousands of labels. That is why I would like to switch to drawing with subgraph. I achieve something equivalent to a pixel offset in s_UseTool when adding newline "\n" to the string, and that has been working, but the performance is bad and keeps getting worse the more chart drawings exist on the chart.
Date Time Of Last Edit: 2018-03-23 09:56:45

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

Login

Login Page - Create Account