- ago
Hello, I have a c# chart with a couple of panes created via SetPaneDrawingOptions.
I know that I can resize a regular chart's pane (no code). Like the volume pane via the mouse.
How can I resize a pane on a chart with the c# code panes?
0
83
7 Replies

Reply

Bookmark

Sort
Cone8
 ( 5.88% )
- ago
#1
See: SetPaneDrawingOptions
0
- ago
#2
To clarify - resize with the mouse, after it's set with the code. Like it's possible to resize the volume pane with the mouse.
0
Cone8
 ( 5.88% )
- ago
#3
You clarified, but it's still not clear to me what you're after.
You can adjust the pane height in code or manually with the mouse. What more is there to it?
0
- ago
#4
Once I set the pane in code, it's not possible to adjust it with the mouse, as far as I can tell. I can resize the volume pane with a mouse, not the one created with code.

How can I resize a pane, created with c#, with the mouse?
0
- ago
#5
QUOTE:
Once I set the pane in code, it's not possible to adjust it with the mouse,

That's not true. I created a pane with the code below and can easily resize it with the mouse. There's some other problem.
CODE:
      vossPredictor = new VossPredictor(decorrelated,vossPeriod,paramVossPredict.AsInt);       vossPredictor.Description = "Voss predictor";       vossBandPass = new BandPass(decorrelated,vossPeriod,0.25);       vossBandPass.Description = "Voss bandpass"; //bandpass filter       PlotIndicator(vossPredictor,WLColor.BlueViolet, PlotStyle.Line, false, "predictorPane");       PlotIndicator(vossBandPass,WLColor.IndianRed, PlotStyle.Line, false, "predictorPane");       SetPaneDrawingOptions("predictorPane", 60, -2);
0
Glitch8
 ( 9.28% )
- ago
#6
I can't duplicate the issue jheffez, I can resize all of the panes created in C# code. Can you post your Strategy code that exhibits the issue?
0
- ago
#7
The code had
CODE:
cds.PaneSeparatorWidth = 0

I switched from 0 to 1 and it works.
Thank you.
1

Reply

Bookmark

Sort