Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

AdvChart only one pane always visible

 Post Reply Post Reply
Author
Cucnik Sara View Drop Down
Member
Member
Avatar

Joined: 31 Jan 2013
Posts: 43
Post Options Post Options   Quote Cucnik Sara Quote  Post ReplyReply Direct Link To This Post Topic: AdvChart only one pane always visible
    Posted: 15 Mar 2016 at 9:16am
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

Back to Top
Pieter Scheldeman View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 3403
Post Options Post Options   Quote Pieter Scheldeman Quote  Post ReplyReply Direct Link To This Post Posted: 15 Mar 2016 at 10:48am
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
Back to Top
Bruno Fierens View Drop Down
TMS Support
TMS Support
Avatar

Joined: 11 May 2010
Posts: 8390
Post Options Post Options   Quote Bruno Fierens Quote  Post ReplyReply Direct Link To This Post Posted: 15 Mar 2016 at 10:49am
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;
Back to Top
Cucnik Sara View Drop Down
Member
Member
Avatar

Joined: 31 Jan 2013
Posts: 43
Post Options Post Options   Quote Cucnik Sara Quote  Post ReplyReply Direct Link To This Post Posted: 16 Mar 2016 at 8:04am
Yes now it's visible. Thank you for quick reply.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down