Hello,
Since version V5, I am using a SeriesEventMarkers (a rectangle) that can be move with mouse vertically but that must still be at left side position of the chart.
I use the following code to create the object:
series.SeriesEventMarkers.Add(Preemption);
Preemption.MouseInteraction = true;
Preemption.MoveByMouse = true;
Preemption.Label.Visible = false;
Preemption.VerticalPosition = SeriesEventMarkerVerticalPosition.YAxisBottom;
Preemption.HorizontalPosition = SeriesEventMarkerHorizontalPosition.AtXValue;
Preemption.MouseHighlight = MouseOverHighlight.None;
Preemption.Symbol.Antialiasing = false;
Preemption.Symbol.Shape = Arction.WPF.LightningChartUltimate.Shape.Rectangle;
Preemption.Symbol.GradientFill = GradientFillPoint.Solid;
Color color = new Color();
color.A = 0;
Preemption.Symbol.Color1 = color;
Preemption.Symbol.Antialiasing = false;
Preemption.Symbol.Width = 35;
Preemption.Symbol.Height = 35;
Preemption.Offset.X = 1;
Preemption.Offset.Y = -17;
When the user move the objet, I automatically move it back to the left of the graph using:
Preemption.XValue = ValueX;
Since version V6, XValue since not to be updated when I move the object and in consequence, Preemption.XValue = ValueX does nothing.
Is this a V6 bug?
Thanks.
SeriesEventMarkers and move by mouse, XValue not updated
Moderator: Queue Moderators
-
- Posts: 42
- Joined: Thu Mar 28, 2013 9:20 am
Re: SeriesEventMarkers and move by mouse, XValue not updated
Hello,
Sorry for late answer.
This is a bug in V6 and will be fixed in the next release, which hopefully will be released quite soon.
Sorry for late answer.
This is a bug in V6 and will be fixed in the next release, which hopefully will be released quite soon.
LightningChart Support Team, TK