AdvChart only one pane always visible

Hello!

How can i set all panes visible?
I added two panes each with one series, but i only see one series an one x-y axis.
Even if i export with SaveAllPanesToBitmap i only see one series.


I use Delphi XE5 and AdvChart 3.2.1.4 SEPTEMBER, 2014

Hi, 


You need to set the HeightType of all panes to htAuto

  AdvChartView1.Panes[0].HeightType := htAuto;
  AdvChartView1.Panes[1].HeightType := htAuto;

Kind Regards, 
Pieter

This sample code initializes the chartview with 2 visible panes under each other:


procedure TForm4.Button1Click(Sender: TObject);
begin
  advchartview1.BeginUpdate;
  advchartview1.Panes.Clear;
  advchartview1.Panes.Add;
  advchartview1.Panes.Add;

  advchartview1.Panes[0].Visible := true;
  advchartview1.Panes[0].Height := 100;
  advchartview1.Panes[0].HeightType := htAuto;

  advchartview1.Panes[1].Visible := true;
  advchartview1.Panes[1].Height := 100;
  advchartview1.Panes[1].HeightType := htAuto;

  advchartview1.Panes[0].Series.Add;
  advchartview1.Panes[1].Series.Add;

  advchartview1.EndUpdate;
end;

Yes now it's visible. Thank you for quick reply.