Support Board
Date/Time: Thu, 13 Feb 2025 19:54:24 +0000
ACSIL usetool to modify tool color
View Count: 690
[2020-12-17 21:32:48] |
onnb - Posts: 662 |
We are using ACSIL to modify drawings made by the user. Referring here to the parallel line and parallel ray tools. We can modify the position (using start and end index). But I'm seeing that the color changes are not applied - is this expected? |
[2020-12-18 19:12:06] |
|
How are you changing the color? Are you using: s_UseTool::LevelColor[] 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 |
[2020-12-18 19:47:07] |
onnb - Posts: 662 |
We are trying to manipulate 3 lines The first line we are trying to manipulate through s_UseTool::Color The second line which we expected to change UseTool::SecondaryColor but its not there (there is no value) And a third line that is configured at the 50% between them through s_UseTool::LevelColor Something like this int index = 0; s_UseTool chart_drawing; while (sc.GetUserDrawnChartDrawing(sc.ChartNumber, DRAWING_UNKNOWN, chart_drawing, index++)) { if (chart_drawing.DrawingType == DRAWING_PARALLEL_LINES) { chart_drawing.Color = line_color; chart_drawing.LevelColor[0] = line_color; chart_drawing.LevelColor[1] = line_color; chart_drawing.LevelColor[2] = line_color; chart_drawing.LevelColor[3] = line_color; chart_drawing.SecondaryColor = fill_color; sc.UseTool(chart_drawing); } } Date Time Of Last Edit: 2020-12-18 19:51:40
|
[2020-12-23 05:27:27] |
|
As we look into this, we do see how the control of colors and other appearance properties in ACSIL for the levels of a Chart Drawing need to be better managed and organized. So we do not really have any easy solution to this right now. We need more time to think about it. 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 |
To post a message in this thread, you need to log in with your Sierra Chart account: