SeriesEventMarker bug
Posted: Thu May 07, 2015 9:39 am
I use a SeriesEventMarker to track values of a PointLineSeries. When I set PointLineSeries.LineVisible = false, the marker disappears. This is my XAML;
When I set SeriesEventMarker.VerticalPosition back to AtYValue, the marker appears again, but then tracking is off of course...
Please fix!
Code: Select all
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:lcu="http://www.arction.com/schemas/" x:Class="WpfApplication3.MainWindow"
Title="MainWindow" Height="600" Width="800">
<Grid>
<lcu:LightningChartUltimate x:Name="chart" Content="LightningChartUltimate">
<lcu:LightningChartUltimate.ViewXY>
<lcu:ViewXY>
<lcu:ViewXY.YAxes>
<lcu:AxisY/>
</lcu:ViewXY.YAxes>
<lcu:ViewXY.XAxes>
<lcu:AxisX ValueType="Number"/>
</lcu:ViewXY.XAxes>
<lcu:ViewXY.PointLineSeries>
<lcu:PointLineSeries x:Name="series" PointsVisible="True" LineVisible="False">
<lcu:PointLineSeries.SeriesEventMarkers>
<lcu:SeriesEventMarker XValue="5" HorizontalPosition="SnapToPoints" VerticalPosition="TrackSeries"/>
</lcu:PointLineSeries.SeriesEventMarkers>
</lcu:PointLineSeries>
</lcu:ViewXY.PointLineSeries>
</lcu:ViewXY>
</lcu:LightningChartUltimate.ViewXY>
</lcu:LightningChartUltimate>
</Grid>
</Window>
Please fix!