I'm looking to be able to modify the height of a subpanel (not the panel with the main instrument series) programmatically via ChartControl. Has anyone figured out the ChartControl magic to make this happen? Ideally, I'd like to be able to hide/show the subpanel entirely, but that's probably a long shot so I'm looking to just collapse/expand the subpanel by changing the Y dimension. Thanks much for any help you can provide.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Resize subpanel with ChartControl
Collapse
X
-
Resize subpanel with ChartControl
Hi guys,
I'm looking to be able to modify the height of a subpanel (not the panel with the main instrument series) programmatically via ChartControl. Has anyone figured out the ChartControl magic to make this happen? Ideally, I'd like to be able to hide/show the subpanel entirely, but that's probably a long shot so I'm looking to just collapse/expand the subpanel by changing the Y dimension. Thanks much for any help you can provide.Tags: None
-
Hello jbenton,
Thanks for writing in today.
I have looked into this matter for you, and unfortunately, there is no supported way to change a panel's height from a NinjaScript.
You may use Chart Control to have your indicator plot to another panel, but the actual panel's height cannot be modified.
For instances where users have used Chart Control to plot to another panel, I recommend reading the thread below:
Please let me know if you have any further questions.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
559 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
324 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
546 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
547 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment