Announcement

Collapse
No announcement yet.

How to set line width in EFS?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to set line width in EFS?

    How to set the line width in EFS? I only found setDefaultBarThickness() which makes all lines of same width. How to set each line respectively?

  • #2
    Clearpicks:

    There is a second parameter (optional) to setDefaultBarThickness() that you use to specify the return value (line) you wish to modify.

    Example: If your script returns 3 values and, thus, draw 3 lines, the following would change the thickness of each line separately:

    function preMain() {

    setDefaultBarThickness(3,0); //1st line, line-width is 3
    setDefaultBarThickness(5,1); //2nd line, line-width is 5
    setDefaultBarThickness(1,2); //3rd line, line-width is 1

    }

    Chris

    Comment

    Working...
    X