Skip to content

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
@ndonkoHenri ndonkoHenri added this to the Flet v0.28.0 milestone Mar 29, 2025
@FeodorFitsner FeodorFitsner merged commit 1222cff into main Apr 2, 2025
3 checks passed
@FeodorFitsner FeodorFitsner deleted the ndonkoHenri/fix-chart-tooltip branch April 2, 2025 16:46
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

3 participants