Login Page - Create Account

Support Board


Date/Time: Mon, 06 May 2024 10:48:26 +0000



[User Discussion] - Dynamic study subgrapth width.

View Count: 1083

[2014-03-13 21:56:34]
esMike - Posts: 67
I was wondering if anyone knew if there was a way to dynamically change a subgraph width.

Like with color... You use Subgraph.DataColor[sc.Index] = Custom Color;

But, what about width?
[2014-03-15 01:48:04]
vegasfoster - Posts: 444
Did you try this? sc.Subgraph[].LineWidth

http://www.sierrachart.com/index.php?l=doc/doc_ACSIL_Members_scSubgraph.html#scSubgraphLineWidth
[2016-05-05 17:34:35]
User64410 - Posts: 14
sc.Subgraph[1].LineWidth = 2

But this works only for global subgraph and not for each index.

I would like change LineWidth for each index same as DataColor? Is it possible?
[2016-10-25 11:44:30]
SkyKeeper - Posts: 39
+
how to make sc.Subgraph[1].LineWidth dynamic width?
[2016-10-27 04:15:39]
SkyKeeper - Posts: 39
Я частично решил проблему с толщиной с помощью s_UseTool MARKER, но возникла проблема с производительностью, когда приходится создавать очень много элементов.
Можно ли все таки доработать LineWidth таким образом, чтобы как DataColor можно менять для конкретного бара? Либо придумать свойство например Size для регулирования размера на графике?
И можно ли сделать так чтобы изменив толщину, элемент не перекрывал соседние бары?

[google translate]
I partially solved the problem with a thickness via s_UseTool MARKER, but there was a problem with the performance when you have to create a lot of elements.
Can I still modify LineWidth so that both DataColor can be changed for a particular bar? Or think of a property such as Size for size regulation on the chart?
And whether it is possible to do so by changing the thickness of the element does not overlap adjacent bars?
Date Time Of Last Edit: 2016-10-27 04:27:57
[2016-12-09 07:08:37]
SkyKeeper - Posts: 39
UP

simple graph does not interest me, such a schedule and I can create.

If I look around 10,000 bars, the s_UseTool MARKER solution is not suitable, the mouse almost stops moving.
Date Time Of Last Edit: 2016-12-09 07:13:03

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

Login

Login Page - Create Account