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 CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
475 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
315 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 12:02 AM
|
||
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
253 views
1 like
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
340 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
305 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|

Comment