-
-
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
0.12.0 #463
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Make Gradient field to List<Color> for consistency. - Update Test `data_pool.dart`
- Add gradient functionality for BackgroundBarChartRodData - Add extension for getting Rect from RRect - Fix Data pool - Fix Examples - Fix Test
- Change Alignment to Offset - Rename gradientColorStops to colorStops - Update Documentation
…_on_top Feature/position tooltip text on top
Add gradient to bar chart
…t helps you to have a different style for specific text.
…able-text-style Feature/side title customizable text style, #439
Bugfix/above bar area flickers, #440
- Prepared sample file - Added typedef for title offsets map - GetTitleOffsetsFunction - PieChartPainter: added function to provide title offsets to parent - PieChartSectionData: added titleWidget param - PieChartSectionData: added conditions to title params & changed defaults to value - PieChart: added child widget to CustomPaint to render the title widgets
- PieChart: made default duration static - Added animation to title wigets in sample chart
- removed overwriting title if badge widget is set & allowed to display both - added parameter for badge widget offset posiiton: badgePositionPercentageOffset - Added doc comments to badge widget's variables & functions - PieChart: skipped badge widgets creation if null in section
…unctions Insert sample in PieChartPage
[Pie Chart] New feature: added a badge widget in addition to title
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
color
property withcolors
in BarChartRodData, and BackgroundBarChartRodData to support gradient in BarChart, instead of solid color, Add gradient to bar chart and pie chart #166. Check BarChartSample3textStyle
property togetTextStyles
getter (it gives you the axis value, and you must return a TextStyle based on it), It helps you to have a different style for specific text, Question: Provide individual TextStyle to SideTitles item #439. Check it here LineChartSample3badgeWidget
, andbadgePositionPercentageOffset
in each PieChartSectionData to provide a widget to show in the chart, see this sample, [Pie Chart] New feature: added a badge widget in addition to title #443. Providing a widget is an important step in our library, if it works perfectly, we will aplly this solution on other parts. Then I appreciate any feedback.