In Xamarin we had the "Show" method for the tooltip.
How can I do this in Maui?
Currently we don’t have support in MAUI chart to show tooltip from code behind. We have already logged a feature request for this in our feedback portal, which you can find by visiting the following link:
At this time, we do not have a specific timeline for when this feature will be implemented as our development priorities are determined by customer demand. If you would like to show your support for this feature, we encourage you to add your vote on the above link.
If you have any additional specifications or suggestions for this feature request, please feel free to leave them in the comments section of the feedback link. This will help us to understand how you would like to use it and how we can improve it.
I have updated to the current version to use the released feature.
When I click on my list to display on the graph, the exact point does not appear.
Maybe the problem is with the float value? Format with 5 decimal places.
I noticed that when using balltrack the value is shown on the graph with 17 decimal places. Could it be that the graph is not respecting past values?
We would like to inform you that we have reviewed your image. We suspect that there is a missing 'ValueToPoint' in that code. We have prepared a sample with a button click to show the tooltip. The code snippet and sample are provided below. We hope this helps you.
private void Button_Clicked(object sender, EventArgs e)
var item = series.ItemsSource as ObservableCollection<Model>;
var lastPoint = item;
float chartPointX = chart.ValueToPoint(chart.XAxes, lastPoint.ValueX);
float chartPointY = chart.ValueToPoint(chart.YAxes,lastPoint.ValueY);
tooltip.Show(chartPointX, chartPointY, true);
If you need any further assistance, please let us know.