Announcement

Collapse
No announcement yet.

Labels disappearing

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

  • Labels disappearing

    I have an EFS that draws lines and labels onto a chart using the functions addBand() and drawTextAbsolute() respectively. I find that sometimes the labels "disappear" from the chart. This happens a few times a day. I have the feeling (although no proof) that this happens when the server is switched on me.

    Anybody else experience this or have a suggested solution?

    Thanks.
    Standing on the shoulders of giants.

  • #2
    Hello wildfiction,

    I've seen this problem before. Not sure what causes it, but I think it may be a screen refresh issue. The solution is to redraw the text labels periodically. What I do is redraw them at BARSTATE_NEWBAR. When are the labels being drawn in your 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
      The labels and lines are only being drawn once and that is when the EFS initially loads. After that a flag is set such that that piece of code is skipped until the EFS is reloaded.
      Standing on the shoulders of giants.

      Comment

      Working...
      X