Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: LineChartDataPoint.tooltip not properly rendered #5105

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ndonkoHenri
Copy link
Contributor

@ndonkoHenri ndonkoHenri commented Mar 20, 2025

Fixes #4967

Test Code

import flet as ft

def main(page: ft.Page):
    chart = ft.LineChart([ft.LineChartData(
        data_points=[
            ft.LineChartDataPoint(0, 0),
            ft.LineChartDataPoint(1, 0, tooltip="BUG"),
            ft.LineChartDataPoint(2, 0, tooltip=None),
        ],
        point=True,
    )])
    page.add(chart)
    page.add(ft.Text('HELLO WORLD'))

ft.app(main)

Summary by Sourcery

Bug Fixes:

  • Fixes an issue where the tooltip for LineChartDataPoint was not rendering correctly.

@ndonkoHenri ndonkoHenri changed the title fix: LineChartDataPoint.tooltip not properly rendered fix: LineChartDataPoint.tooltip not properly rendered Mar 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LineChart Custom Tooltips Not Displaying
1 participant