SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components

0 votes

There is a problem with annotation drag listeners. OnDragEnded and in fact also OnDragStarted are called all the time (just like onDragDelta) instead of only on those particular events

Steps to reproduce
just add a listener to annotation (in my case CustomAnnotation)

.withAnnotationDragListener(object : OnAnnotationDragListener {
            override fun onDragDelta(annotation: IAnnotation, x: Float, y: Float) {

            override fun onDragStarted(p0: IAnnotation?) {
            override fun onDragEnded(p0: IAnnotation?) {

Is there a solution?

Showing 1 result
This template supports the sidebar's widgets. Add one or use Full Width layout.