SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

0
0

I would like to add labels to contour lines as shown in this previous post.

https://www.scichart.com/questions/wpf/is-it-possible-to-do-contour-plots

I have created the heat map with contours, and now I want to programmatically add labels. To this end. I have created a contour series in my view model

        var contourSeries = new FastUniformContourRenderableSeries
        {
            DataSeries = dataSeries,
            ZMin = 0.0,
            ZMax = 50.0,
            ZStep = 4.0
        };

This is the same series as I have already plotted. I have looked through this object, trying to find the plotted contour lines, so I can calculate positions to put labels, but I have not found the data. Can you tell me how to extract the plotted contour curve data?

Version
5.4.0.12119
  • You must to post comments
0
0

Hello Stephen,

Thank you for your inquiry. I am sorry for the late reply.
Unfortunately, ContourSeries API doesn’t support drawing contour labels currently. Neither there is a way to obtain contour data from a series.
Could you please specify which data do they need?

You can also create a new feature request and let people vote for it. Here is how to do this:
https://www.youtube.com/watch?v=cWa6bRCCAFE

  • You must to post comments
0
0

I was under a deadline to find the answer. Although I tried SciChart first, I ended up using OxyPlot. It provided both a heat map and contour plot with log-log axis, and the contours already had labels. The labels could be configured to have a transparent background. The code is available on Github

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.

SciChart WPF v6 BETA released! Note pricing/licensing changes are coming. Contact us to beat the rise!Read more
+