Legend Position - Runtime


Quick question, how does one update the position of the Legend in runtime in the DBAdvGDIPChartView?

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, 

Thanks Pieter,

Found it earlier