Hi,
In fact it is not an axis. It is a drawing! I separate several graphs (here 3) by using opaque zone (as in your examples).
For the moment, I separate these various opaque zones by a line from 2 pixels width.
Code: Select all
void __fastcall TForm1::AfterDrawSeries(TObject *Sender)
{
...
Chart1->Canvas->Pen->Width = 2;
Chart1->Canvas->Pen->Color = clBlack;
Chart1->Canvas->Line
(
Chart1->ChartRect.Left,
Series1->GetVertAxis->IEndPos,
Chart1->ChartRect.Right,
Series1->GetVertAxis->IEndPos
);
Chart1->Canvas->Line
(
Chart1->ChartRect.Left,
Series2->GetVertAxis->IEndPos,
Chart1->ChartRect.Right,
Series2->GetVertAxis->IEndPos
);
I would like that this "line" will be a little more complex.
I would like to make it resemble to the axis bottom (without labels)...
Please, look at my picture.
I've copied exactly what I want on the second axis.
Cordially,
Rodrigue