Hi
I have an application using ScatterDataSeries and TriangulationData to generate heatmaps and contour lines. I used the HeatMapChart project of [Infragistics] Martin Trela from this post http://ko.infragistics.com/community/forums/t/81451.aspx as a reference.
Could you please expand the example adding the values on the contour lines? I tried to obtain something like the "Custom series" example for xamDataChart from the Infragistics WPF sample browser but I was not able to complete the task.
Thanks
Hi LucaMinerva,
The sample provided by Martin is using a ContourLineSeries object that originally comes from the XamGeographicMap assembly. The reason it works in the XamDataChart is because the two controls share a lot of the same basic series logic. This, however, is different than the "Custom Series" contour series that we have here.
The ContourLineSeries used in the sample does not support markers so you can't show the values in a similar way that you see them in the Custom Series documentation. In order to have markers like the Custom Series you will need to add a ScatterSeries that has the location of where you want the markers to show up. Then you could provide a custom MarkerTemplate that you can use to show the value of that point.
Hi RobI have applyed your solution. It is really hard to know where a certain contour line will pass through so my labels are not perfectly positioned. I would also have to calculate the orientation of the lines where the label connects in order to orient the label in the same direction.
Too many complications. We have opted for another charting control.Thanks anyway.
Hi Luca,
I'm sorry to hear that. Unfortunately we just don't have a proper contour line series packaged with the product. Currently Martin's workaround by using the geomap's contour line stuff or maybe modifying the contour area series example in our documentation are the only ways to get something close to a contour series.
I highly recommend submitting a new product idea for contour line series support in the XamDataChart, with markers. You can do this here: http://ideas.infragistics.com.