TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
-
Sam F
- Newbie
- Posts: 45
- Joined: Wed Sep 10, 2008 12:00 am
Post
by Sam F » Fri Mar 06, 2009 8:12 am
I am using the TChartImageTool to paint a section of the background, but it would be useful to have the dashed increment lines of the axes painting over the top of the image as well. Is there some simple way to have that?
My code slice for adding an image is below, if that is useful at all. I theorised that I might have to utilise one of the OnBeforeDraw events.
Code: Select all
TChartImageTool* Image = new TChartImageTool(m_pPlanChart);
Image->ParentChart = m_pPlanChart;
Image->Picture = thisPicture;
Image->Series = thisPointSeries;
m_pPlanChart->Tools->Add(Image);
-
Yeray
- Site Admin
- Posts: 9612
- Joined: Tue Dec 05, 2006 12:00 am
- Location: Girona, Catalonia
-
Contact:
Post
by Yeray » Fri Mar 06, 2009 9:37 am
Hi Sam,
I think you should use this:
-
Sam F
- Newbie
- Posts: 45
- Joined: Wed Sep 10, 2008 12:00 am
Post
by Sam F » Mon Mar 09, 2009 12:05 am
Thanks for your help.