Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Small Draw bug

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

    Small Draw bug

    Hi Guys,

    I think I've found a little bug with Draw.Text, or maybe it's by design...

    If you use Draw.Text, and specify a positive yOffset value which moves the text up, the system doesn't honour if AutoScale == true, and the text can be drawn off the top of the chart, if it's the highest thing on the chart.

    Nich

    #2
    Hello NichUK,

    Thank you for your post.

    Since this is in reference to NinjaScript, I've moved this topic to our General Development forum.

    I was able to replicate this and on digging further have found this to be a known limitation.

    It can’t be fixed, since it is a pixel offset, not price offset. For example, if a panel's height is 200 and the offset is 400, there is no way to autoscale.

    Please let us know if we may be of further assistance to you.

    Comment


      #3
      OK, Thanks Kim...

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      43 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      20 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      30 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      47 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      38 views
      0 likes
      Last Post CarlTrading  
      Working...
      X