SeriesEventMarker bug

Found a possible bug in LightningChart? Report it here.

Moderator: Arction_LasseP

Post Reply
jrvdboom
Posts: 61
Joined: Thu Apr 10, 2014 1:50 pm

SeriesEventMarker bug

Post by jrvdboom » 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;

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>
When I set SeriesEventMarker.VerticalPosition back to AtYValue, the marker appears again, but then tracking is off of course...

Please fix!

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

Re: SeriesEventMarker bug

Post by ArctionPasi » Thu May 07, 2015 9:49 am

Markers track the rendering data. Line must be visible. Set your line color transparent.

This is a feature, not a bug.
LightningChart Support Team, PT

Post Reply