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!
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
NinjaTrader
Chart styles do not dispose of dx brushes being used within OnRender
Collapse
X
-
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.Tags: None
-
Originally posted by NinjaTrader_PatrickH View PostHello 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..
Comment
-
Originally posted by NinjaTrader_PatrickH View PostI 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...
Comment
-
Originally posted by NinjaTrader_PatrickH View PostI will look into this as well. Thank you for your reports on these items.
Any Information Update on these?
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by spottysallrite, Today, 11:31 AM
|
6 responses
13 views
0 likes
|
Last Post Today, 01:53 PM | ||
Started by volIQ, Yesterday, 04:28 PM
|
2 responses
16 views
0 likes
|
Last Post
by volIQ
Today, 01:42 PM
|
||
Started by adeelshahzad, Today, 11:49 AM
|
5 responses
16 views
0 likes
|
Last Post Today, 01:27 PM | ||
Started by yaniv, Today, 12:50 PM
|
1 response
5 views
0 likes
|
Last Post Today, 01:15 PM | ||
Started by Lele2k24, Yesterday, 11:24 AM
|
10 responses
33 views
0 likes
|
Last Post Today, 01:04 PM |
Comment