0

I am using TChartPreviewer to print a TChart. The Margin% defaults to T35, R15, B35 & L15. How/where do I change them all to 5 please?

Regards & TIA,

Ian

Narcís Calvet
  • 7,304
  • 5
  • 27
  • 47
Ian Branch
  • 59
  • 1
  • 6

1 Answers1

1

This is explained at the Panel section in Tutorial 2 - Chart display properties, available at TeeChart's program group. You need to use the following Runtime properties: Chart1.MarginTop, Chart1.MarginLeft, Chart1.MarginRight and Chart1.MarginBottom.

for example:

  Chart1.MarginTop := 5;
Narcís Calvet
  • 7,304
  • 5
  • 27
  • 47