I have a WPF application where I am using SciChart to display data placed in an XyDataSeries, which is contained in a FastLineRenderableSeries.
I also have a ListView that displays the same data.
I want to place a marker on the data point selected by the user from the ListView. I would like to use the inverted triangle as the marker.
I know how to identify the item in the data series, but how do place a marker on that single point in the data series?
In my application I am hiding some of the line chart by changing the visibility. When changing the visibility the markers is not hiding from the chart. Its happening only the mouse pointer is inside the chart before the visibility change. I have created a sample application and created the video recording also. Please check the attached file for example code and video. On the video you can saw that 2 line visibility is changed and line are hidden from the chart and the markers not hiding from the chart.
I was wondering about the possibilities to show markers. I dug a while in the examples and played with default interactions, which use dragging to update the position of the marker.
On mobile devices this conflicts a little with the pan interaction to move the chart. I saw there’s also the possibility to pan using the axes area. There’s also the possibility to just tap on the chart, which doesn’t conflict with other interactions, to show a marker, but I couldn’t find how to do this. At least there doesn’t seem to be built in support for it? How should this be done?
Additionally I would like once a marker appears to either be able to update only by tapping again at other place on the chart (simple solution) or temporarily disabling the panning such that this gesture only moves the marker and not the chart (preferred, but probably less simple solution). So tapping on the chart would enter “marker mode” which disables zooming and panning and some other gesture – e.g. using an external button on the chart, would leave “marker mode” and enter zoom/pan mode again.
Any ideas how to achieve this? Thanks in advance!
P.S. I’m also using a real time chart, though this probably doesn’t make a difference concerning this.
I just started trying SciChart recently. I would like to know whether it is possible to add markers as in the picture. Basically, one can add as many markers as he wants (like marker 1, 2, 3, 4 in the picture) on line series. X and Y values of these marker will be shown somewhere on the chart (it can be freely moved around too). Also all the markers can be dragged along the series to different locations. One can also double click a marker to enter X value to move the marker to new location.