Skip to content

autoScrollingDelta triggers _CoreTooltipRenderBox was mutated in RenderCategoryAxis.performLayout. #2400

@Macacoazul01

Description

@Macacoazul01

Bug description

If you create a chart with autoScrollingDelta and resizes the app size (like in a web page), this error happens:
════════ Exception caught by animation library ═════════════════════════════════
A _CoreTooltipRenderBox was mutated in RenderNumericAxis.performLayout.
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
A LineSeriesRenderer<_SalesData, String> was mutated in RenderNumericAxis.performLayout.
The relevant error-causing widget was:
SfCartesianChart SfCartesianChart:file:///Users/gian/Desktop/erro/lib/main.dart:42:11

Steps to reproduce

1-Build this sample app with flutter web

2-Try to resize the chrome navigator

Code sample

Code sample

erro.zip

Screenshots or Video

Screenshots / Video demonstration
Captura.mov

Stack Traces

Stack Traces

════════ Exception caught by animation library ═════════════════════════════════
A _CoreTooltipRenderBox was mutated in RenderNumericAxis.performLayout.
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
A LineSeriesRenderer<_SalesData, String> was mutated in RenderNumericAxis.performLayout.
The relevant error-causing widget was:
SfCartesianChart SfCartesianChart:file:///Users/gian/Desktop/erro/lib/main.dart:42:11

On which target platforms have you observed this bug?

Web

Flutter Doctor output

Doctor output

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.32.7, on macOS 15.5 24F74 darwin-arm64, locale
pt-BR)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 16.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.2)
[✓] VS Code (version 1.102.1)
[✓] Connected device (3 available)
[✓] Network resources

Metadata

Metadata

Assignees

No one assigned

    Labels

    chartsCharts componentopenOpen

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions