Announcement

Collapse
No announcement yet.

What have I done to erase user-drawn lines?

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

  • What have I done to erase user-drawn lines?

    I have some EFS code that draws a few shapes, lines and text, and erases some of them.
    Not sure since when, ie what I added, but any lines I now draw manually (with the line drawing tools and the mouse that is) don't get displayed. If I draw to the right of the current bar (having dragged the chart left) they are fine. Also the grid gets erased in the same area.

    What can do tha please?

    Thanks

  • #2
    -

    Hello Dave,

    Sounds like you may be using EFS (setBarBgColor() or setDefaultBarBgColor()) to color the background of the chart bars with the same color used for the manually drawn lines. To provide some additional clues, please post a chart image and/or the code.
    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


    • #3
      Jason, Hi Thanks.
      I've removed all setBarBgColor() and missing lines have rematerialised!

      But the lines are .blue and the setBarBgColor() is .white. So I'm not sure I completely agree with your "the same color used for the manually drawn lines" - I think I would have noticed that,
      honest!

      Is this therefore a bug. The code is too complex to post and I'm out of time tonight to produce a demo I'm afraid.

      Dave

      Comment


      • #4
        -

        Hello Dave,

        Right click on your chart, go to Chart Properties and make sure the "Draw Lines On Top of Price" option is enabled.
        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


        • #5
          Thanks Jason, more "layers" required?
          Enjoy your Independence.
          Dave

          Comment

          Working...
          X