TChartImageTool
Posted: 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.
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);