• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

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.
    Patrick H.NinjaTrader Customer Service

    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.
          Patrick H.NinjaTrader Customer Service

          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.
              Patrick H.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by frankduc, Today, 08:12 AM
              2 responses
              8 views
              0 likes
              Last Post frankduc  
              Started by jertrade, Today, 08:10 AM
              2 responses
              4 views
              0 likes
              Last Post NinjaTrader_Jim  
              Started by iq200, Today, 08:05 AM
              2 responses
              8 views
              0 likes
              Last Post NinjaTrader_PatrickG  
              Started by frantic, Today, 06:37 AM
              1 response
              9 views
              0 likes
              Last Post NinjaTrader_PatrickG  
              Started by bouncetherubble, Yesterday, 06:56 PM
              1 response
              15 views
              0 likes
              Last Post NinjaTrader_ChristopherS  
              Working...
              X