Login Page - Create Account

Support Board


Date/Time: Tue, 14 May 2024 15:26:09 +0000



DRAWSTYLE_TRANSPARENT_CIRCLE_VARIABLE_SIZE_WITH_BORDER border color?

View Count: 454

[2020-10-29 10:25:26]
User311344 - Posts: 136
Hey,

How can I set unique border color for each element of a sc.Subgraph[].Data[] array when using DRAWSTYLE_TRANSPARENT_CIRCLE_VARIABLE_SIZE_WITH_BORDER draw style?

I set the circle color with:

sc.Subgraph[i].DataColor[sc.Index] = RGB(0,0,0);

but how can I set the border color itself to make it match the circle color? Thanks

PS: Should I use sc.CombinedForegroundBackgroundColorRef() maybe to combine both colors? If not could you do that so it works like that? Thanks! (EDIT: I just checked, it doesnt work like that).
Date Time Of Last Edit: 2020-10-29 10:37:55
[2020-11-04 18:22:32]
User311344 - Posts: 136
Any info on that? Thanks
[2020-11-05 14:52:00]
John - SC Support - Posts: 31604
You cannot set a unique border color for each element, like you can for the Primary Color. But you can control the overall color of the border using the SecondaryColor member of sc.Subgraph. Refer to the information here:
ACSIL Interface Members - sc.Subgraph Array: sc.Subgraph[].SecondaryColor
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