Highlight a Shape on a Map TeeChart Series
Hi There!
I know how to add values to a series on a chart:
...DPTeeChart1.Chart.Series[1].AddXY(iX, iY, MainReportData['Filed As'],
clRed);
But is there any way to highlight a shape on a Map TeeChart series.
Basically I need to highlight Angola if a user falls in that country.
Regards!
Anthony
I know how to add values to a series on a chart:
...DPTeeChart1.Chart.Series[1].AddXY(iX, iY, MainReportData['Filed As'],
clRed);
But is there any way to highlight a shape on a Map TeeChart series.
Basically I need to highlight Angola if a user falls in that country.
Regards!
Anthony
This discussion has been closed.
Comments
In Delphi you can use the following method to highlight a shape in a map
series...
Series1.Shapes.ByName['Germany'].Color := clRed;
Unfortunately the TMapSeries.Shapes property is not currently available in
RAP. You have three options to work around this limitation...
1. Add a new RTTI class for the TMapSeries that includes the Shapes
property and ByName routine. See ppChrt.pas for other RTTI classes already
created.
2. Create a pass-thru function that makes the call above in Delphi rather
than in RAP.
3. Create the chart in Delphi and view it in the report using a TppImage
component.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com