I set a rolloverModifier to a CandlestickSeries, but I can not find a API to hide RolloverMarker,I only find a article about WPF(https://www.scichart.com/documentation/v5.x/webframe.html#RolloverModifier.html), how could I hide RolloverMarker or change the style of RolloverMarker in Android?
- jiahao li asked 5 years ago
- You must login to post comments
Hi Jiahao,
To hide RolloverModifier ( like other modifiers ) you can disable it by setting IsEnabled = false:
rolloverModifier.setIsEnabled(false);
If you want to customize RolloverModifier’s tooltips you can take a look on our example from demo application. To customize drawing of circle you’ll need to override onDrawTooltipOverlay() of custom tooltip implementation. By default this method looks like this and draws simple circle:
private final Paint rolloverMarkerPaint = new Paint();
private float markerRadius;
public void onDrawTooltipOverlay(Canvas canvas, PointF xyCoordinate, int color) {
rolloverMarkerPaint.setColor(color);
canvas.drawCircle(xyCoordinate.x, xyCoordinate.y, markerRadius, rolloverMarkerPaint);
}
Hope this will help you!
Best regards,
Yura
- Yura Khariton answered 5 years ago
- You must login to post comments
Please login first to submit.