Drow a Grid/Text on AdvChartView

Hello,

I want to draw the chart and the grid .
It is easy to draw it on the form .
However , I want to print to PDF with vector line,
so I want to write a grid on the AdvChartView .
Is it possible?

best regards

Likes....


[Caution]
These are the pictures that I drew using the photoshop.

Hi, 


You can draw the grid using the OnDrawChart

procedure TForm1.AdvChartView1DrawChart(Sender: TObject; ARect: TRect;
  ACanvas: TCanvas);
begin
  ACanvas.MoveTo(0, 0);
  ACanvas.LineTo(100, 100);
end;

Kind Regards, 
Pieter
I see,Thank you!It is a great feature!!
Then please teach me.

How to print it with chart?
I can not print a grid, The chart is not a problem.

by the way, I am using the following code.
  with printer do
  begin
    BeginDoc;
    AdvChartView1.PrintAllPanes(Printer.Canvas,Rect(0, 0, printer.PageWidth, printer.PageHeight));
    EndDoc;
  end;

best regards

You simply draw the grid on the printer canvas after printing the chart on the printer canvas.


Kind Regards, 
Pieter
Thank you so much. I did it.