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 Hwop38, 05-04-2026, 07:02 PM
|
0 responses
154 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
306 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
244 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
345 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
176 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|

Comment