Login Page - Create Account

Support Board


Date/Time: Fri, 29 Nov 2024 14:55:27 +0000



[Programming Help] - Changing Subgraph Line Width of Other Studies

View Count: 636

[2021-12-07 18:28:54]
Tony - Posts: 525
Hi,

Is it possible to change Subgraphs' line widths of other studies?
Similar to sc.SetStudySubgraphDrawStyle()

Thanks
[2022-06-18 03:05:22]
User275839 - Posts: 61
Hi,

I would like to do this as well. Was there ever an answer somewhere? Is this possible?

I have an ACSIL study within which I want to change the subgraph LineWidth property of a different study in the same chartbook.

Basically, something like sc.SetStudySubgraphDrawStyle(1, 1, 0, DRAWSTYLE_LINE), but for a study LineWidth property.

Like this:

sc.SetStudySubgraphLineWidth(1, 1, 0, 4), where the last parameter is the desired line width.
[2023-02-06 18:22:29]
Tony - Posts: 525
SC team,

Thanks so much for adding sc.SetStudySubgraphLineWidth() in v.2479! I was too excited to wait until the document is completed, and guessed:

sc.SetStudySubgraphLineWidth(int ChartNumber, int StudyID, int StudySubgraphNumber, int LineWidth);

It works very well!

Thanks again for your hard work!

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

Login

Login Page - Create Account