Hi,
Is there a way to "ask" a chart for the exact pixel coordinates of the axis area, i.e. the area between axes inside which the series are painted?
Best,
Michal Blazejczyk
Axis area pixel coordinates?
-
- Newbie
- Posts: 64
- Joined: Fri Jun 16, 2006 12:00 am
Axis area pixel coordinates?
Best,
Michal Blazejczyk
Lead Programmer
Genome Quebec
Michal Blazejczyk
Lead Programmer
Genome Quebec
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Michal,
There are a couple of things you can do here:
There are a couple of things you can do here:
- 1. Use ChartRect coordinates for the full chart area:
2. You can also determine the area where series are drawn by knowing its axes positions:
Code: Select all
tChart1.Chart.ChartRect.Left tChart1.Chart.ChartRect.Top tChart1.Chart.ChartRect.Right tChart1.Chart.ChartRect.Bottom
Code: Select all
tChart1.Axes.Left.StartPosition tChart1.Axes.Left.EndPosition tChart1.Axes.Left.Position
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 |