Contour labels

Need help in implementing some specific function to your LightningChart Ultimate powered application? Post a question and get code snippets from other LightningChart Ultimate community members.

Moderator: Arction_LasseP

Post Reply
User avatar
bcroteau
Posts: 7
Joined: Thu Oct 23, 2014 5:38 pm
Location: Canada

Contour labels

Post by bcroteau » Wed Dec 10, 2014 11:59 pm

Is there a way for contour series (IntensityGridSeries) to display values on their contour line?

We have a chart which has both a paletted series and a contour series. The contour is of a different set of values than the paletted series like this:
contours.jpg
contours.jpg (186.88 KiB) Viewed 8692 times
Ideally we'd like to have contour labels on our "major" contour lines. Is this currently possible and if not please consider this as a possible new feature.

Bill

User avatar
ArctionPasi
Posts: 1362
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: Contour labels

Post by ArctionPasi » Sun Dec 14, 2014 1:25 pm

This currently is not possible, but we'll try to do something about it in near future.
LightningChart Support Team, PT

Igor
Posts: 67
Joined: Mon Sep 28, 2015 1:14 pm

Re: Contour labels

Post by Igor » Wed Sep 12, 2018 11:23 am

In Version 8.2.1 it is possible to enable the visibility of contour line labels of IntensityMeshSeries.

Code: Select all

_intensityMesh.ContourLineLabels.Visible = true;
But it doesn't work properly.
The labels are only visible when i'm zooming out.
Is there a workaround or do I have to change an another setting?

The line color is set to transparent, so the contour lines are not visible, but it also doesn't work properly if I choose an another color.
ContourLineLabels.png
ContourLineLabels.png (85.4 KiB) Viewed 4716 times
My IntensityMeshSeries-Config:

Code: Select all

 _intensityMesh = new IntensityMeshSeries(ViewXy, ViewXy.XAxes[0], ViewXy.YAxes[0])
            {
                ContourLineType = ContourLineTypeXY.ColorLine,
                MouseInteraction = false,
                ShowNodes = false,
                WireframeType = SurfaceWireframeType.None,
                Fill = MeshDescription.ColoredAreasEnabled
                    ? IntensityFillStyle.Paletted
                    : IntensityFillStyle.None,
                ContourLineStyle = { Color = MeshDescription.LineColor },
                ContourLineLabels = { Visible = true },
                LegendBoxIndex = _chart.ChartControl.ViewXY.LegendBoxes.IndexOf(_legendBoxMesh),
                ShowInLegendBox = true,
                Title = { Text = MeshDescription.IntensityVariable },
                LegendBoxUnits = String.Empty
            };

ArctionKestutis
Posts: 367
Joined: Mon Mar 14, 2016 9:22 am

Re: Contour labels

Post by ArctionKestutis » Wed Sep 12, 2018 2:10 pm

Hi,

Contour label will not on the same location for different zoom/pan. However, it should be still present along the contour line. Our Demo App has example "Intensity mesh, static geometry". With 'Property grid' it is possible to get similar setting as your. However, only very rarely I don't see some of the labels.
You should send your application for testing to us or teach how to reproduce issue.

All the best.

Igor
Posts: 67
Joined: Mon Sep 28, 2015 1:14 pm

Re: Contour labels

Post by Igor » Mon Sep 17, 2018 8:10 am

I have send you a sample project where you can reproduce the issue.

ArctionKestutis
Posts: 367
Joined: Mon Mar 14, 2016 9:22 am

Re: Contour labels

Post by ArctionKestutis » Wed Sep 26, 2018 7:06 am

Problem could have been encountered after zooming close enough the surface so that points surface points become too far away.
Yesterday we released v8.3.2.4001, which has Contour Labels rendering fix for low density surfaces.

Post Reply