How can I change the appearance of an individual shape that is part of a set loaded into a GeographicShapeSeries?
For example, in your UltraGeographicMap sample, it sets the colour that will be used for all the shapes in the series, but I then want to change the colour of the shape for just one member of the series, so I could make one particular country a different colour.
How do I get access to an individual shape in the series, and what properties are exposed that would let me customise it?
This is a feature that currently exists in xamGeographicMap, but is not yet available in UltraGeographicMap. My recommendation is to host a xamGeographicMap in your application and use a ShapeStyleSelector to specify which countries to color differently.
Please let me know if you have any questions regarding this implementation.
Thank you, I will look into that.
Are there any tutorials on how to host an Infragistics WPF component in a Windows Form? I have not used WPF before.
There are some examples in the WPF and Windows Forms Interoperation section of the Microsoft documentation. In summary you use the ElementHost and set the Control that you want to use. You might want to use a UserControl so that you can set up the chart in XAML and then just set the Child to the instance of your UserControl.
Is there any update to this since 18.1 has been released? I am still looking to create a true heat map with geographical regions from a shape file shown using different colours, and I would rather do it within Windows Forms than deal with WPF.
Alternatively, in 18.1 I notice there is a new UltraDataChart with ScatterPolygonSeries which also allows display of shapes from a ShapeFile. Is there a way to change the colour of those shapes individually?