Search found 3 matches

by nizarazu
Fri Nov 10, 2023 8:59 am
Forum: VCL
Topic: Synchronize two cursors (Line and Gantt)
Replies: 4
Views: 13354

Re: Synchronize two cursors (Line and Gantt)

As I want to synchronize in both way, I did this : // This procedure synchronizes two cursors. // "Source" is the original cursor, and "Dest" the cursor // that is re-positioned. Procedure CursorSynchronize( Source, Dest: TCursorTool ); begin Dest.ParentChart.AutoRepaint:=False; // stop repainting D...
by nizarazu
Fri Oct 27, 2023 8:43 am
Forum: VCL
Topic: Synchronize two cursors (Line and Gantt)
Replies: 4
Views: 13354

Re: Synchronize two cursors (Line and Gantt)

Ok, my issue was that I need to have at least the same bottom Axis to be able to make it works...

The issue now is that I'm getting this when I'm moving from the first chart (LineSeries) :
Capture d'écran 2023-10-27 104118.png
Capture d'écran 2023-10-27 104118.png (59.2 KiB) Viewed 13315 times
by nizarazu
Thu Oct 26, 2023 3:53 pm
Forum: VCL
Topic: Synchronize two cursors (Line and Gantt)
Replies: 4
Views: 13354

Synchronize two cursors (Line and Gantt)

Hello, I'm trying to synchronize two cursors on differents type of series, the first one is a TLineSeries and the second is a Gantt. Above the code I'm using : object Form1: TForm1 Left = 0 Top = 0 Caption = 'Form1' ClientHeight = 775 ClientWidth = 1071 Color = clBtnFace Font.Charset = DEFAULT_CHARS...