-
public interface MarkerVisibilityChangeListenerAllows for listening to Marker visibility changes.
-
-
Method Summary
Modifier and Type Method Description UnitonMarkerShown(Marker marker, List<Marker.EntryModel> markerEntryModels)Called when the linked Marker is shown. UnitonMarkerMoved(Marker marker, List<Marker.EntryModel> markerEntryModels)Called when the linked Marker moves (that is, when there’s a change in which chart entries it highlights). UnitonMarkerHidden(Marker marker)Called when the linked Marker is hidden. UnitonMarkerVisibilityChanged(Boolean isVisible, Marker marker)Called when the linked Markerʼs visibility changes. -
-
Method Detail
-
onMarkerShown
Unit onMarkerShown(Marker marker, List<Marker.EntryModel> markerEntryModels)
Called when the linked Marker is shown.
- Parameters:
marker- the linked Marker, which has been shown.markerEntryModels- a list of Marker.EntryModels, which contain information about the marked chart entries.
-
onMarkerMoved
Unit onMarkerMoved(Marker marker, List<Marker.EntryModel> markerEntryModels)
Called when the linked Marker moves (that is, when there’s a change in which chart entries it highlights).
- Parameters:
marker- the linked Marker, which moved.markerEntryModels- a list of Marker.EntryModels, which contain information about the marked chart entries.
-
onMarkerHidden
Unit onMarkerHidden(Marker marker)
Called when the linked Marker is hidden.
- Parameters:
marker- the linked Marker, which has been hidden.
-
onMarkerVisibilityChanged
@Deprecated(message = Use `onMarkerShown` and `onMarkerHidden` instead., level = DeprecationLevel.ERROR) Unit onMarkerVisibilityChanged(Boolean isVisible, Marker marker)
Called when the linked Markerʼs visibility changes.
-
-
-
-