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: RadarChart crashes if all values in RadarDataSet are equal #1076

Commits on Jun 30, 2022

  1. fix: RadarChart crashes if all values in RadarDataSet are equal

    If the max and min values in a RadarDataSet are equal, the `drawTicks` method in `radar_chart_painter.dart` will enter an infinite loop.
    
    This is due to a for loop that fails to be incremented if the max and min values are equal, causing the loop to never meet its exit condition.
    
    I have replaced the for loop with one that will always exit.
    
    Resolves imaNNeo#882
    ateich committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    72322fb View commit details
    Browse the repository at this point in the history