Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Chart styles do not dispose of dx brushes being used within OnRender

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

    Chart styles do not dispose of dx brushes being used within OnRender

    in all the default chart styles, non of them dispose of the dx brushes being used within OnRender.. Is there a reason this is ok not to do in a chart style?


    Last edited by NinjaTrader_PatrickG; 01-19-2017, 10:52 AM.
    -=Edge=-
    NinjaTrader Ecosystem Vendor - High Tech Trading Analysis

    #2
    Hello Edge,

    Thank you for your post.

    I am checking with development. However, I would assume the same as you and the disposal would need to be handled in the object's OnRender.

    I will follow up with you when I have further details.

    Comment


      #3
      Originally posted by NinjaTrader_PatrickH View Post
      Hello Edge,

      Thank you for your post.

      I am checking with development. However, I would assume the same as you and the disposal would need to be handled in the object's OnRender.

      I will follow up with you when I have further details.

      Thanks.. if that is the case, please ask about the drawing tools as well..


      -=Edge=-
      NinjaTrader Ecosystem Vendor - High Tech Trading Analysis

      Comment


        #4
        Originally posted by NinjaTrader_PatrickH View Post
        I am checking with development. However, I would assume the same as you and the disposal would need to be handled in the object's OnRender.

        Also just noticed that in all your ChartStyles that you turn off Antialias in OnRender to draw, and then turn it back on before the exit of OnRender. .

        But all of the DrawingTools also turn off Antialias, and then never turn it back on..

        Would there be a reason for this as well?

        I'm in the process of trying to finalize some custom Bars, ChartStyles, and DrawingTools.. Trying to follow best practices as outlined in the help guide.. and just trying to clear up some confusion on my part, as what I'm reading isn't exactly what I'm seeing...


        -=Edge=-
        NinjaTrader Ecosystem Vendor - High Tech Trading Analysis

        Comment


          #5
          Hello Edge,

          I will look into this as well. Thank you for your reports on these items.

          Comment


            #6
            Originally posted by NinjaTrader_PatrickH View Post
            I will look into this as well. Thank you for your reports on these items.

            Any Information Update on these?



            -=Edge=-
            NinjaTrader Ecosystem Vendor - High Tech Trading Analysis

            Comment


              #7
              Hello Edge,

              Thank you for your note.

              Yes, we are looking to correct these on our end and appreciate you bringing them to light.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by TheMarlin801, 10-13-2020, 01:40 AM
              20 responses
              3,913 views
              0 likes
              Last Post Bidder
              by Bidder
               
              Started by timmbbo, 07-05-2023, 10:21 PM
              3 responses
              150 views
              0 likes
              Last Post grayfrog  
              Started by Lumbeezl, 01-11-2022, 06:50 PM
              30 responses
              804 views
              1 like
              Last Post grayfrog  
              Started by xiinteractive, 04-09-2024, 08:08 AM
              3 responses
              11 views
              0 likes
              Last Post NinjaTrader_Erick  
              Started by Johnny Santiago, 10-11-2019, 09:21 AM
              95 responses
              6,194 views
              0 likes
              Last Post xiinteractive  
              Working...
              X