Closed xvrh closed 7 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 87.52%. Comparing base (
34a6af0
) to head (526c16a
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
There are some minor changes. Please fix them, then It is ready to be merged!
Thanks for your quick response and action! I hope to see more from you xD
This PR is to replace this one: https://github.com/imaNNeo/fl_chart/pull/1348.
All credits goes to @apekshamehta
Original description:
Changes Made:
In the bar_chart_data.dart file:
Added a new parameter getTooltipColor to the constructor of BarTouchTooltipData. Defined a new type GetBarTooltipColor, which is a function that takes a BarChartGroupData parameter and returns a Color. In the bar_chart_painter.dart file:
Assigned the tooltip color to the _bgTouchTooltipPaint.color property using the getTooltipColor function from the tooltipData object. Additionally, the getTooltipColor function has been utilized in the bar_chart_sample1.dart file within the feature/dynamic-tooltip-bgcolor branch.
Please review the changes for this pull request.