Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 06:58:33 +0000



Post From: Bar draw style variable size(=width) support

[2019-08-28 12:06:19]
User353585 - Posts: 66
Currently it seems like there's no direct way of controlling the widths of individual bars.
Or am I missing something?

These are related excerpt from the documentation :
"The sc.Subgraph[].DrawStyle for a study Subgraph sets the draw style for that entire Subgraph for every chart column the Subgraph is drawn in. Any changes to the Draw Style affect all chart column elements of the Subgraph when the chart is drawn. Therefore, it is not possible to use different Draw Styles for different elements of a single study Subgraph. If you want different Draw Styles, it is necessary to use separate Subgraphs for each Draw Style that you want to use."

Exceptions are some variable drawing styles you can assign individual sizes to individual elements :
"DRAWSTYLE_TRANSPARENT_CIRCLE_VARIABLE_SIZE (The sc.Subgraph[].Data[] array contains the Chart Region y- coordinate. The circle size in pixels is controlled through the sc.Subgraph[].Arrays[0][] array.)"
Date Time Of Last Edit: 2019-08-28 12:08:00