General Mark Tip

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
mivchart
Newbie
Newbie
Posts: 31
Joined: Thu Dec 04, 2008 12:00 am

General Mark Tip

Post by mivchart » Tue Feb 09, 2010 7:16 am

hello,

D2007 TeechartPro VCL 8.04

I try to do display in general tool tip (or hint) all values at time with line chart ?
it's very easy for the user must clicker once with the mouse cursor and displays all values at time T in same mark.

I find with OnGetMark, but whithout result.

i note the values are not plot at same time!
ex:
trend1 10:00:02 15.5
trend1 10:05:00 14.5
trend1 10:30:00 11.6
trend1 10:31:00 25.5
trend1 11:00:00 20.5
etc...
trend2 10:10:00 120
trend2 10:20:00 125
trend2 10:30:00 121
trend3 10:40:00 126
etc..

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

Re: General Mark Tip

Post by Narcís » Tue Feb 09, 2010 10:08 am

Hello mivchart,

I'm not sure about which is the exact problem. If you want to display all series marks at once you could just toggle them like this:

Code: Select all

  Series1.Marks.Visible := True;
So that you could use chart's mouse events like this:

Code: Select all

procedure TForm1.Chart1MouseMove(Sender: TObject; Shift: TShiftState; X,
  Y: Integer);
begin
  Series1.Marks.Visible := Series1.Clicked(X, Y) <> -1;
end;
If this doesn't help please give us more details about the exact problem.
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

mivchart
Newbie
Newbie
Posts: 31
Joined: Thu Dec 04, 2008 12:00 am

Re: General Mark Tip

Post by mivchart » Tue Feb 09, 2010 10:23 am

no,
In a chart you have multiple curved line (or Gantt)
Click with the vertical cursor and hop display all values in a single hint for same TOP (X is DateTime axe).

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

Re: General Mark Tip

Post by Narcís » Tue Feb 09, 2010 10:29 am

Hi mivchart,

Ok, in that case I recommend you to do something as in the interpolating example I posted here.
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

mivchart
Newbie
Newbie
Posts: 31
Joined: Thu Dec 04, 2008 12:00 am

Re: General Mark Tip

Post by mivchart » Mon Feb 15, 2010 4:30 pm

Sorry I was absent

Ok, I think it is good solution for me, but it's complexe.
why do not you propose an integrated tool in chart ?

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

Re: General Mark Tip

Post by Narcís » Mon Feb 15, 2010 5:59 pm

Hi mivchart,

Ok, I'll add your request to the wish-list to be considered for inclusion in future versions.
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

Post Reply