Print Page | Close Window

Legend Position - Runtime

Printed From: TMS Software
Category: VCL Components
Forum Name: VCL Chart
Forum Discription:
Printed Date: 27 May 2020 at 1:39am

Topic: Legend Position - Runtime
Posted By: Godfrey Roy
Subject: Legend Position - Runtime
Date Posted: 20 Jun 2013 at 8:20am
Quick question, how does one update the position of the Legend in runtime in the DBAdvGDIPChartView?

Posted By: Pieter Scheldeman
Date Posted: 20 Jun 2013 at 8:37am
With the Alignment property:


You can modify the position of the legend at runtime.

Relative to the chosen Alignment, you can add Left and Top properties to shift the legend:

  AdvChartView1.Panes[0].Legend.Left := 10;
  AdvChartView1.Panes[0].Legend.Top := 100;

Kind Regards, 

Posted By: Godfrey Roy
Date Posted: 20 Jun 2013 at 9:07am
Thanks Pieter,
Found it earlier

Print Page | Close Window