Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Drawing buttons on chart hides plots
Collapse
X
-
Drawing buttons on chart hides plots
I am creating a strategy. When I am drawing buttons on the chart, it is hiding all the plots. If I comment out all the codes related to buttons, the plots become visible again. How do I draw buttons and plots at the same time? Please let me know if any additional information is needed.Tags: None
-
Thanks. But I found the source of the problem, and fixed it.
It's the OnRender method. It hides all the plots unless you call base.OnRender() inside of OnRender method.
Source:If you are using standard Plots along with custom rendering from an indicator or strategy, you will need to ensure to call the base.OnRender() method for those plots to display.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
23 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
120 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
63 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
41 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
45 views
0 likes
|
Last Post
|

Comment