- Home
- Forum
- Xamarin.Forms
- Is there a way to show tooltip on line serie when select the data point?
Is there a way to show tooltip on line serie when select the data point?
Thank for using Syncfusion products.
We are able to achieve the reported Tooltip requirement with the help of ChartTrackballBehavior. Please refer the below code example which shows the tooltip in series.
CodeSnippet:
ChartTrackballBehaviorExt trackBall = new ChartTrackballBehaviorExt();
trackBall.LabelStyle = new ChartTrackballLabelStyle();
trackBall.LabelStyle.BackgroundColor = Color.Gray;
trackBall.LabelDisplayMode = TrackballLabelDisplayMode.FloatAllPoints;
trackBall.ShowLine = false;
chart.ChartBehaviors.Add(trackBall);
We have prepared a sample based on your requirement. Please download the sample in the following location.
Sample: http://www.syncfusion.com/downloads/support/forum/120717/ze/TooltipsCustomize68503948
Please let us know if you have any further assistance on this.
Thanks,
Karthikeyan V.
We will wait until we hear from you.
For iOS, there is no need to write custom renderer, instead of that custom delegate is used.
Regards,
Manivannan.E
Thanks for the update. Please let us know if you have any query.
Regards,
Manivannan.E
- 6 Replies
- 3 Participants
-
XQ Xiaopeng Qi
- Oct 7, 2015 06:05 PM UTC
- Oct 12, 2015 11:43 AM UTC