Skip to content

Tooltips bug on Maui .net10 #2044

@nk-alex

Description

@nk-alex

Describe the bug
Just started a new application for .net MAUI targetting Windows, using .net 10. I've created some charts. The information is showing as expected, but once I move the mouse over, it starts spamming tooltips. If I disable tooltips, axes and chart seem to duplicate?. Since it's hard to describe, I'm going to add a gif.

To Reproduce

<Border Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" BackgroundColor="WhiteSmoke" StrokeShape="RoundRectangle 30">
  <Grid>
    <lvc:PieChart Series="{Binding PaymentMethodSeries}"
                  Margin="0"
                  BackgroundColor="Transparent"
                  DrawMargin="{Binding DrawingMargin}"
                  LegendPosition="Left"
                  LegendTextSize="12"
                  LegendTextPaint="{Binding LegendTextPaint}"
                  HeightRequest="200"
                  EasingFunction="{Binding Source={x:Static lvcore:EasingFunctions.BounceOut}}"
                  AnimationsSpeed="00:00:01.000"/>
    <ActivityIndicator IsRunning="True" BackgroundColor="White" IsVisible="{Binding LoadingPaymentMethodSeries}"/>
  </Grid>
</Border>

<Border Grid.Row="2" Grid.Column="2" Grid.ColumnSpan="2" BackgroundColor="WhiteSmoke" StrokeShape="RoundRectangle 30">
  <Grid>
    <lvc:CartesianChart Series="{Binding HourlyBillingSerie}"
                        Margin="0"
                        BackgroundColor="Transparent"
                        ZoomMode="None"
                        ZoomingSpeed="1"
                        XAxes="{Binding HourlyBillingXAxis}"
                        YAxes="{Binding HourlyBillingYAxis}"
                        DrawMargin="{Binding DrawingMargin}"
                        LegendPosition="Hidden"
                        HeightRequest="200"
                        EasingFunction="{Binding Source={x:Static lvcore:EasingFunctions.BounceOut}}"
                        AnimationsSpeed="00:00:01.000"/>
    <ActivityIndicator IsRunning="True" BackgroundColor="White" IsVisible="{Binding LoadingHourlyBillingSeries}"/>
  </Grid>
</Border>

<Border Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="4" BackgroundColor="WhiteSmoke" StrokeShape="RoundRectangle 30">
  <Grid>
    <lvc:CartesianChart Series="{Binding DailyBillingSeries}"
                        Margin="0"
                        BackgroundColor="Transparent"
                        ZoomMode="None"
                        ZoomingSpeed="1"
                        XAxes="{Binding DailyBillingXAxis}"
                        YAxes="{Binding DailyBillingYAxis}"
                        DrawMargin="{Binding DrawingMargin}"
                        LegendPosition="Hidden"
                        TooltipPosition="Hidden"
                        HeightRequest="200"
                        EasingFunction="{Binding Source={x:Static lvcore:EasingFunctions.BounceOut}}"
                        AnimationsSpeed="00:00:01.000"/>
    <ActivityIndicator IsRunning="True" BackgroundColor="White" IsVisible="{Binding LoadingDailyBillingSeries}"/>
  </Grid>
</Border>

Expected behavior
Tooltips to dissapear

Screenshots

Image

(The bottom chart has TooltipPosition="Hidden")

Desktop (please complete the following information):

  • Windows 11
  • net10.0-windows10.0.19041.0
  • LiveChartsCore.SkiaSharpView.Maui 2.0.0-rc6.1
  • Microsoft.Maui.Controls 10.0.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions