How to show images from imagelist in TPointSeries
-
- Newbie
- Posts: 7
- Joined: Thu Oct 18, 2007 12:00 am
How to show images from imagelist in TPointSeries
I have some types of points to show in a TPointSeries on a time axes. Is there a way to show the points instead of rectangle or diamond (always the same for every point) with a different small image from a imagelist for everey type?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi PascalKlaus,
Yes, you can use TImagePointSeries for that. You'll find an example at All Features\Welcome!\Chart Styles\Other\Image Point in the new features demo, available at TeeChart's program group.
Yes, you can use TImagePointSeries for that. You'll find an example at All Features\Welcome!\Chart Styles\Other\Image Point in the new features demo, available at TeeChart's program group.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Newbie
- Posts: 7
- Joined: Thu Oct 18, 2007 12:00 am
... and with the series event GetImage I can show different images:
Thats it! Thank you.
Code: Select all
procedure TForm1.Series1GetImage(Sender: TCustomImagePointSeries;
ValueIndex: Integer; Picture: TPicture);
begin
ImageList1.GetBitmap(ValueIndex,Picture.Bitmap)
end;