![]() | Steema Issues DatabaseNote: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;otherwise you can use StackOverflow. Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy. |
| Summary: | Improve connecting lines in Gantt series | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | CONFIRMED --- | ||
| Severity: | enhancement | ||
| Priority: | --- | ||
| Version: | 26.181203 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
| Attachments: | screenshot | ||
Created attachment 909 [details] screenshot Improve intelligence of connecting lines in Gantt Series. See a screenshot from a customer (lines in green show the expected result). - Draw arrow heads - Add intelligence to avoid overlapping lines - Add intelligence to avoid drawing the line above the gantt bars when the line goes back. uses GanttCh; procedure TForm1.FormCreate(Sender: TObject); begin Chart1.View3D:=False; Chart1.Legend.Hide; with TGanttSeries(Chart1.AddSeries(TGanttSeries)) do begin ConnectingPen.Color:=clRed; ConnectingPen.Width:=2; AddGantt(Now+5, Now+10, 0); AddGantt(Now+5, Now+10, 1); AddGantt(Now, Now+5, 2); AddGantt(Now+10, Now+15, 2); AddGantt(Now, Now+5, 3); AddGantt(Now+10, Now+15, 3); NextTask[1]:=0; NextTask[2]:=5; NextTask[4]:=3; end; end;