Announcement

Collapse
No announcement yet.

How do i make the "circle" bigger ?

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

  • How do i make the "circle" bigger ?

    How do i make the "circle" bigger ?

    if (frGraphic == "T") { // does the user want to plot the alert
    offset = 0.2 * atrStudy.getValue(ATRStudy.ATR);
    drawShapeRelative(0, TB[0] + offset , Shape.CIRCLE ,null ,
    Color.blue, Shape.TOP | Shape.ONTOP | Shape.RIGHT);



    Thanks

  • #2
    Shapes cannot be resized. A better solution is to use drawTextXxx() and one of the shapes that are available in the Wingdings font. See this thread for an example using drawTextRelative
    Alex

    Comment


    • #3
      Hi Eric,

      Another thing you can do is use drawLineRelative() and pass the same x/y coordinate for both end points of the line. Then use the line thickness parameter to control the size. The result is a perfect circle with a solid color.
      Jason K.
      Project Manager
      eSignal - an Interactive Data company

      EFS KnowledgeBase
      JavaScript for EFS Video Series
      EFS Beginner Tutorial Series
      EFS Glossary
      Custom EFS Development Policy

      New User Orientation

      Comment


      • #4
        you can draw circles with..

        addLineTool(LineTool.CIRCLE, x1, y1, x2, y2, width, Color.blue, "circle1");

        give it a try.

        B
        Brad Matheny
        eSignal Solution Provider since 2000

        Comment

        Working...
        X