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 CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      328 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      210 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      196 views
      1 like
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      285 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      241 views
      0 likes
      Last Post CarlTrading  
      Working...
      X