Support Board
Date/Time: Tue, 26 Nov 2024 06:47:53 +0000
[User Discussion] - Question about Chart Drawings by sc.UseTool function (ACSIL)
View Count: 1346
[2014-04-05 16:10:38] |
sampater - Posts: 244 |
SC Team, I would like automatically to draw a Horizontal Ray and a Vertical Line on the chart through the use of the sc.UseTool function, and I know how to do this. But, how can I automatically add a value of this Horizontal Ray or any text, and set alignment it by UseTool function? And, how can I automatically add a time of this Vertical Line or any text, and set alignment it by UseTool function? Is it possible? Thanks, Marek |
[2014-04-09 14:39:18] |
Al SC Developer - Posts: 434 |
Currently, setting the text is not possible, but we will enable this new functionality via the UseTool interface in ver 1118. For the vertical line, horizontal line/ray, and line drawings the text can be set by setting s_UseTool.Text member to the desired string value. For the text alignment, set the s_UseTool.TextAlignment appropriately. For the vertical line, the following s_UseTool flags can be used to show the date/time (this works today): int ShowEndPointDateTime; int ShowEndPointDate; int ShowEndPointTime; int MultiLineLabel; For the horizontal line/ray, the following s_UseTool flags can be used to show the price (this works today): int DisplayHorizontalLineValue; Date Time Of Last Edit: 2014-04-09 15:21:01
|
[2014-04-09 17:18:38] |
sampater - Posts: 244 |
Thank you very much. You are great !
|
To post a message in this thread, you need to log in with your Sierra Chart account: