SeriesEventMarkers - XValue wrong location

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
SESruss
Posts: 22
Joined: Wed Mar 12, 2014 6:36 pm

SeriesEventMarkers - XValue wrong location

Post by SESruss » Wed Apr 08, 2015 12:30 pm

Image

As you can see from the pic the Y position is correct but the X is not. I've looked at my code and checked that the SeriesEventMarker.XValue is being set to the correct value and that it is not being set somewhere else and have found nothing wrong. Have you ever come across something like this?

Code: Select all

Dim marker As New SeriesEventMarker(Mchart.ViewXY.PointLineSeries(i))

                                    marker.Label.Text = data.TirePlotData(pos).Series(k).PointLabel
                                    marker.Label.Color = PointLabelColor

                                    marker.XValue = data.TirePlotData(pos).Series(k).Xpoint
                                    marker.YValue = data.TirePlotData(pos).Series(k).Ypoint

                                    SetLabelLocation(marker)
                                    Mchart.ViewXY.PointLineSeries(i).SeriesEventMarkers.Add(marker)
Last edited by SESruss on Wed Apr 08, 2015 4:36 pm, edited 1 time in total.

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

Re: SeriesEventMarkers - XValue wrong location

Post by ArctionPasi » Wed Apr 08, 2015 3:30 pm

Would you please post a picture here in this forum, instead of external service link that requires signing in?
LightningChart Support Team, PT

SESruss
Posts: 22
Joined: Wed Mar 12, 2014 6:36 pm

Re: SeriesEventMarkers - XValue wrong location

Post by SESruss » Wed Apr 08, 2015 4:37 pm

Okay that might be a little more helpful.

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

Re: SeriesEventMarkers - XValue wrong location

Post by ArctionPasi » Wed Apr 08, 2015 6:13 pm

Thanks. Are those points in the line SeriesEventMarkers or are they just line points?

Really hard to tell because marker creating or initialization code is not visible.

Does marker.SnapToPoints = false do any difference?
LightningChart Support Team, PT

Post Reply