Open soraef opened 5 months ago
Thank you for the wonderful product. I use it all the time.
After implementing the changes, I realized that the isMinValueAtCenter flag might not be necessary. Should the minimum value be centered by default? If the current behavior is a bug, it would be better to make the minimum value centered by default instead of adding a flag. This would simplify the code and avoid unnecessary complexity.
Yes I think it is a bug and it should always be centered
I identified a bug where the behavior did not center around zero as expected, so I made corrections. However, I couldn’t get the test to pass. I'm not sure how to adjust the test code to reflect the fix, so I've left it unresolved.
Summary
This PR adds the
isMinValueAtCenter
flag to theRadarChartPainter
class to allow the minimum value to be centered in the RadarChart.Related Issues
Changes
isMinValueAtCenter
flag toRadarChartData
RadarChartPainter
methods to support centering the minimum value whenisMinValueAtCenter
is trueisMinValueAtCenter Comparison