Login Page - Create Account

Support Board


Date/Time: Fri, 19 Apr 2024 23:24:07 +0000



DRAWSTYLE_TEXT vs DRAWING_TEXT

View Count: 1937

[2018-02-15 14:58:24]
LenderDevTest - Posts: 15
Hi, I need to plot text symbols upper or lower bars. For first I tried to use Subgraphs with DrawStyle = DRAWSTYLE_TEXT, but it's unuseful!!! Because it plots ext with background!!! and it cowers the chart and makes this DrawStyle unuseful. We also can't set FontBold for text plotted by subgraphs.

Is there a way to disable filling background for DRAWSTYLE_TEXT DrawStyle?

Because of it I have to use custom drawing (UseTool function) to plot text. And if I plot one text symbol on each bar, it cases real performance problems. The chart starts lagging while scrolling. And the indicator starts calculating in counts times longer.


The indicator it sierra charts trading terminal work fast. But if we start to use UseTool() the chart and the indicators start to lag. It's a real headache. I think the work with Chart Drawing Tools were made unoptimized.
[2018-02-16 03:37:04]
Sierra Chart Engineering - Posts: 104368
We still need some time to review this.

But for the best performance with Chart Drawings set the Horizontal position based on index and not Date-Time:
https://www.sierrachart.com/index.php?page=doc/ACSILDrawingTools.html#BeginIndex
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-02-16 03:38:01
[2018-02-16 03:39:29]
Sierra Chart Engineering - Posts: 104368
Hi, I need to plot text symbols upper or lower bars. For first I tried to use Subgraphs with DrawStyle = DRAWSTYLE_TEXT, but it's unuseful!!! Because it plots ext with background!!! and it cowers the chart and makes this DrawStyle unuseful. We also can't set FontBold for text plotted by subgraphs.
We will see what we can do in regards to this.
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-02-20 17:29:08]
LenderDevTest - Posts: 15
But for the best performance with Chart Drawings set the Horizontal position based on index and not Date-Time
Thanks a lot! It works much better.
[2018-02-20 17:53:39]
Sierra Chart Engineering - Posts: 104368
Yes that is good. We are also working on new Text Draw Styles as well.
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-02-20 18:08:58]
LenderDevTest - Posts: 15
sounds good,
The scrolling is good, but the loading time wasn't changed.

Count bars: 38504
Loading time(subgraphs only): 3ms
Loading time(subgraphs + object DRAWING_TEXT on each bar): 60332ms !!!

https://paste.pics/4ea2a3ef31b46195dba53d2fbc4c5e2f
[2018-03-22 15:48:38]
User79074 - Posts: 105
Sierra, 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.
[2018-03-22 17:11:42]
Sierra Chart Engineering - Posts: 104368
This will never happen. It makes no sense whatsoever. The Y value is controllable by the programmer. We have no further comment.
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-22 17:11:55
[2018-03-22 19:12:37]
User79074 - Posts: 105
Why does this not make sense? It makes complete sense. I need to have two subgraphs that use DRAWSTYLE_TRANSPARENT_CUSTOM_VALUE_AT_Y and display stacked labels that can stick together when the user changes the chart scale. Using value only at price does cannot accomplish this.
Date Time Of Last Edit: 2018-03-22 19:18:02

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

Login

Login Page - Create Account