Timeline charts

Ideas and wishes for TeeChart
Post Reply
LC
Newbie
Newbie
Posts: 8
Joined: Fri Jun 29, 2007 12:00 am
Contact:

Timeline charts

Post by LC » Mon Aug 20, 2007 2:20 pm

Would LOVE to have a timeline chart something like the following:

http://www.smartdraw.com/examples/previ ... y_Timeline

Ideally, you would be able to include it on the same time axis as other charts and each of the annotations would be clickable links. Would be nice to be able to associate data with the current Gantt charts as well. That way, tasks could be linked to their detail.

-LC

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Aug 20, 2007 2:29 pm

Hi LC,

Thanks for your suggestion. It's an interesting idea and I've added it to our wish-list to be considered for inclusion in future releases.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

mivtee
Newbie
Newbie
Posts: 19
Joined: Wed Jan 15, 2014 12:00 am

Re: Timeline charts

Post by mivtee » Wed Jun 25, 2014 3:36 pm

Hello,

is it possible now to create a timeline?

Yeray
Site Admin
Site Admin
Posts: 8738
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Timeline charts

Post by Yeray » Thu Jun 26, 2014 8:30 am

Hello,

I'm afraid there isn't a series to directly draw this, but it wouldn't be difficult to use the existing series to achieve a very similar result. Ie:

Code: Select all

uses CandleCh, DateUtils;

procedure TForm1.FormCreate(Sender: TObject);
var i: Integer;
    tmpDate: TDateTime;
begin
  Chart1.View3D:=false;
  Chart1.Legend.Visible:=false;
  tmpDate:=Today;

  with Chart1.AddSeries(TVolumeSeries) as TVolumeSeries do
  begin
    Marks.Visible:=true;
    XValues.DateTime:=true;

    for i:=0 to 9 do
    begin
      AddXY(tmpDate, 10*((i mod 3)+1),'this is a long label'+sLineBreak+'with number '+IntToStr(i));
      tmpDate:=IncDay(tmpDate, 3);
    end;
  end;

  Chart1.Axes.Left.SetMinMax(0,40);
  Chart1.Axes.Left.Grid.Visible:=false;

  Chart1.Axes.Bottom.Grid.Visible:=false;
  Chart1.Axes.Bottom.LabelStyle:=talValue;
  Chart1.Axes.Bottom.LabelsAngle:=90;
  Chart1.Axes.Bottom.Increment:=1;
  Chart1.Axes.Bottom.MinimumOffset:=50;
  Chart1.Axes.Bottom.MaximumOffset:=50;
end;
Timeline.png
Timeline.png (18.16 KiB) Viewed 3347 times
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply