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 GwFutures1988, Today, 02:48 PM
              1 response
              5 views
              0 likes
              Last Post NinjaTrader_Clayton  
              Started by ScottWalsh, 04-16-2024, 04:29 PM
              6 responses
              32 views
              0 likes
              Last Post ScottWalsh  
              Started by frankthearm, Today, 09:08 AM
              10 responses
              36 views
              0 likes
              Last Post frankthearm  
              Started by mmenigma, Today, 02:22 PM
              1 response
              4 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Started by NRITV, Today, 01:15 PM
              2 responses
              10 views
              0 likes
              Last Post NRITV
              by NRITV
               
              Working...
              X