-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Dynamically changing tooltipBgColor #1348
Dynamically changing tooltipBgColor #1348
Conversation
|
Codecov Report
@@ Coverage Diff @@
## master #1348 +/- ##
==========================================
+ Coverage 86.62% 86.64% +0.01%
==========================================
Files 45 45
Lines 3014 3017 +3
==========================================
+ Hits 2611 2614 +3
Misses 403 403
📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today! |
Ok i am starting with first 3 points. Will continue with 4th point once i get confirmation for the change i have made for the bar chart. |
I've answered |
I have done all the
this is also done. please review and close the pr. also in the meantime did get a good grasp on dart. so open to some exciting new issues that are of priority. thanks @imaNNeo |
I think you also need a rebase, |
I think you need to rebase your branch. |
You should |
…each rod in a bar chart.
…ter Charts, Added new method called getTooltipColor for which user can provide their own custom implementation to change backgroud color for each tooltip of given chart, Updated sample charts, Updated test cases, Updated bar_chart.md,line_chart.md and scatter_chart.md files for the brief description about new method, Updated version code in pubspec
…ter Charts, Added new method called getTooltipColor for which user can provide their own custom implementation to change backgroud color for each tooltip of given chart, Updated sample charts, Updated test cases, Updated bar_chart.md,line_chart.md and scatter_chart.md files for the brief description about new method, Updated version code in pubspec
…lass. reverted back to the previous version which was 0.63.0. changed default color specification in all charts md files.
…ter Charts, Added new method called getTooltipColor for which user can provide their own custom implementation to change backgroud color for each tooltip of given chart, Updated sample charts, Updated test cases, Updated bar_chart.md,line_chart.md and scatter_chart.md files for the brief description about new method, Updated version code in pubspec
…lass. reverted back to the previous version which was 0.63.0. changed default color specification in all charts md files.
…tooltip background color in handle_touches.md file
…each rod in a bar chart.
…ter Charts, Added new method called getTooltipColor for which user can provide their own custom implementation to change backgroud color for each tooltip of given chart, Updated sample charts, Updated test cases, Updated bar_chart.md,line_chart.md and scatter_chart.md files for the brief description about new method, Updated version code in pubspec
…lass. reverted back to the previous version which was 0.63.0. changed default color specification in all charts md files.
…ter Charts, Added new method called getTooltipColor for which user can provide their own custom implementation to change backgroud color for each tooltip of given chart, Updated sample charts, Updated test cases, Updated bar_chart.md,line_chart.md and scatter_chart.md files for the brief description about new method, Updated version code in pubspec
…lass. reverted back to the previous version which was 0.63.0. changed default color specification in all charts md files.
…tooltip background color in handle_touches.md file
Hi, I'm sorry I think I ruined something here :) |
@imaNNeo Hey,I am really sorry for the delay. will complete this by today. |
@apekshamehta @imaNNeo I'm interested in this feature. Thanks! |
I have tested the changes and they are working as expected let's get this merged |
This PR contains 80 wrong commits (my bad). |
Don't forget to mention this PR to have it in the history if you created a new one |
PR created here: #1595 |
Changes Made:
In the
bar_chart_data.dart
file:getTooltipColor
to the constructor ofBarTouchTooltipData
.GetBarTooltipColor
, which is a function that takes aBarChartGroupData
parameter and returns aColor
.In the
bar_chart_painter.dart
file:_bgTouchTooltipPaint.color
property using thegetTooltipColor
function from thetooltipData
object.Additionally, the
getTooltipColor
function has been utilized in thebar_chart_sample1.dart
file within thefeature/dynamic-tooltip-bgcolor
branch.Please review the changes for this pull request.