Here's the general approach I am trying. I have created a chart and a map series in the GUI designer. When my plotting window is created and shown, I read data from a file. The data consists of a list of polygon vertex points. I add those to the Map series, but when the chart is displayed, no shapes are shown.
Code: Select all
Steema.TeeChart.Styles.Polygon poly = new Steema.TeeChart.Styles.Polygon(map1.Chart);
poly.Add(data[0], data[1]);
poly.Add(data[2], data[3]);
poly.Add(data[4], data[5]);
poly.Add(data[6], data[7]);
poly.Color = Color.FromArgb(128, 128, 128);
map1.Shapes.Add(poly);
Jon