Here is a simple example.

void __fastcall TForm1::Button3Click(TObject *Sender) { Series1->Add(100,200,clRed); } 

The compiler accepts everything without swearing, when you click on Button3 on the TChart 'a axis, marks 100 in Y and 200 in X are marked, but there is no red line. F- AddXY also tried specifying all the necessary parameters for it, no sense.

How to make him draw a red line to the point 100x200?

    1 answer 1

    It was necessary to activate the DrawBetweenPoints function