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 DannyP96, 05-18-2026, 02:38 PM
      1 response
      85 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      143 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      83 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      256 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      334 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X