Problem with placing a TImage on top of TeeChart
Posted: Wed Jul 20, 2005 2:20 pm
I'm developing a mapping system for placing students. The map is the "backImage" of the chart, and then I simply plot Eastings/Northings using a scatterplot.
However. I want to measure distances on the map. I placed a TIMage exactly on top of the TChart component, and then used the mouse events to do rubber banding.
HOWEVER, no matter what I do (e.g manually or programatically sending the TCHart to back) the TImage is ALWAYS behind the TChart, so although the rubber banding works when the TImage is not behind the TChart, obviously it doesn't when behind TChart!!
Is there a fix for this problem - I simply can't see a way to "Rubber band" directly on the TChart. Is this possible? (I have tried using the TChart.canvas, but nothing appears)
Help!
Barry
However. I want to measure distances on the map. I placed a TIMage exactly on top of the TChart component, and then used the mouse events to do rubber banding.
HOWEVER, no matter what I do (e.g manually or programatically sending the TCHart to back) the TImage is ALWAYS behind the TChart, so although the rubber banding works when the TImage is not behind the TChart, obviously it doesn't when behind TChart!!
Is there a fix for this problem - I simply can't see a way to "Rubber band" directly on the TChart. Is this possible? (I have tried using the TChart.canvas, but nothing appears)
Help!
Barry