canonical / multipass

Multipass orchestrates virtual Ubuntu instances
https://multipass.run
GNU General Public License v3.0
7.52k stars 631 forks source link

Update dependency fl_chart to ^0.68.0 #3496

Closed renovate[bot] closed 2 weeks ago

renovate[bot] commented 2 months ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
fl_chart (source) dependencies minor ^0.63.0 -> ^0.68.0

[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

imaNNeo/fl_chart (fl_chart) ### [`v0.68.0`](https://togithub.com/imaNNeo/fl_chart/blob/HEAD/CHANGELOG.md#0680) [Compare Source](https://togithub.com/imaNNeo/fl_chart/compare/0.67.0...0.68.0) - **Improvement** (by [@​imaNNeo](https://togithub.com/imaNNeo)) Update LineChartSample6 to implement a way to show a tooltip on a single spot, [#​1620](https://togithub.com/imaNNeo/fl_chart/issues/1620) - **Feature** (by [@​herna](https://togithub.com/herna)) Add `titleSunbeamLayout` inside the [BarChartData](https://togithub.com/imaNNeo/fl_chart/blob/main/repo_files/documentations/bar_chart.md#barchartdata) to allow the user to customize the layout of the title sunbeam - **Improvement** (by [@​imaNNeo](https://togithub.com/imaNNeo)) Add LineChart and BarChart explanation videos on top of the respective documentation pages ([LineChart video](https://youtu.be/F3wTxTdAFaU?si=8lwlypKjt-0aJJK0), [BarChart video](https://youtu.be/vYe0RY1nCAA?si=30q\_7eNn9MDLcph4)) ### [`v0.67.0`](https://togithub.com/imaNNeo/fl_chart/blob/HEAD/CHANGELOG.md#0670) [Compare Source](https://togithub.com/imaNNeo/fl_chart/compare/0.66.2...0.67.0) - **FEATURE** (by [@​julien4215](https://togithub.com/julien4215)) Add direction property to the [HorizontalLineLabel](https://togithub.com/imaNNeo/fl_chart/blob/main/repo_files/documentations/base_chart.md#horizontallinelabel) and [VerticalLineLabel](https://togithub.com/imaNNeo/fl_chart/blob/main/repo_files/documentations/base_chart.md#verticallinelabel), [#​1574](https://togithub.com/imaNNeo/fl_chart/issues/1574) - **FEATURE** (by [@​apekshamehta](https://togithub.com/apekshamehta)) Added new method called getTooltipColor for axis charts (bar,line,scatter) to change background color of tooltip dynamically, [#​1279](https://togithub.com/imaNNeo/fl_chart/issues/1279). - **BREAKING** (by [@​apekshamehta](https://togithub.com/apekshamehta)) Removed tooltipBgColor property from Bar, Line and Scatter Charts (you can now use `getTooltipColor` which provides more customizability), checkout the [full migration guide here](https://togithub.com/imaNNeo/fl_chart/blob/main/repo_files/documentations/migration_guides/0.67.0/MIGRATION\_00\_67\_00.md). ```dart /// Migration guide: /// This is the old way: BarChartData( barTouchData: BarTouchData( touchTooltipData: BarTouchTooltipData( tooltipBgColor: Colors.blueGrey, ) ) ) /// This is the new way: BarChartData( barTouchData: BarTouchData( touchTooltipData: BarTouchTooltipData( getTooltipColor: (BarChartGroupData group) => Colors.blueGrey, ) ) ) ``` ### [`v0.66.2`](https://togithub.com/imaNNeo/fl_chart/blob/HEAD/CHANGELOG.md#0662) [Compare Source](https://togithub.com/imaNNeo/fl_chart/compare/0.66.1...0.66.2) - **BUGFIX** (by [@​stwarwas](https://togithub.com/stwarwas)) Remove dart.io to fix web platform issue, [#​1577](https://togithub.com/imaNNeo/fl_chart/issues/1577) ### [`v0.66.1`](https://togithub.com/imaNNeo/fl_chart/blob/HEAD/CHANGELOG.md#0661) [Compare Source](https://togithub.com/imaNNeo/fl_chart/compare/0.66.0...0.66.1) - **BUGFIX** (by [@​imaNNeo](https://togithub.com/imaNNeo)) Fix PieChart blackout issue, [#​1538](https://togithub.com/imaNNeo/fl_chart/issues/1538) - **BUGFIX** (by [@​imaNNeo](https://togithub.com/imaNNeo)) Fix memory leak in LineChart and BarChart, [#​1106](https://togithub.com/imaNNeo/fl_chart/issues/1106) ### [`v0.66.0`](https://togithub.com/imaNNeo/fl_chart/blob/HEAD/CHANGELOG.md#0660) [Compare Source](https://togithub.com/imaNNeo/fl_chart/compare/0.65.0...0.66.0) - **IMPROVEMENT** (by [@​imaNNeo](https://togithub.com/imaNNeo)) Add Flutter sdk constraints to the pubspec.yaml to force the user/developer to upgrade the Flutter version to 3.16.0 (latest), [#​1509](https://togithub.com/imaNNeo/fl_chart/issues/1509) - **IMPROVEMENT** (by [@​imaNNeo](https://togithub.com/imaNNeo)) Add `dotPainter` property to ScatterSpot to allow customizing the dot painter, [#​568](https://togithub.com/imaNNeo/fl_chart/issues/568) - **BREAKING** (by [@​imaNNeo](https://togithub.com/imaNNeo)) Remove `color` and `radius` properties from ScatterSpot (use `dotPainter` instead), [#​568](https://togithub.com/imaNNeo/fl_chart/issues/568) - **BREAKING** (by [@​imaNNeo](https://togithub.com/imaNNeo)) Change the default value of FlDotCirclePainter.`strokeWidth` to 0.0 ```dart /// Migration guide: /// This is the old way: ScatterSpot( 2, 5, color: Colors.red, radius: 12, ) /// This is the new way: ScatterSpot( 2, 8, dotPainter: FlDotCirclePainter( color: Colors.red, radius: 22, ), ), ``` - **BUGFIX** (by [@​imaNNeo](https://togithub.com/imaNNeo)) Fix barChart tooltip for values below or above the 0 point, [#​1462](https://togithub.com/imaNNeo/fl_chart/issues/1462) - **BUGFIX** (by [@​imaNNeo](https://togithub.com/imaNNeo)) Fix pieChart drawing single section on iPhone, [#​1515](https://togithub.com/imaNNeo/fl_chart/issues/1515) - **IMPROVEMENT** (by [@​imaNNeo](https://togithub.com/imaNNeo)) Add gradient property to the [HorizontalLine](https://togithub.com/imaNNeo/fl_chart/blob/main/repo_files/documentations/base_chart.md#horizontalline) and [VerticalLine](https://togithub.com/imaNNeo/fl_chart/blob/main/repo_files/documentations/base_chart.md#verticalline), [#​1525](https://togithub.com/imaNNeo/fl_chart/issues/1525) - **FEATURE** (by [@​raldhafiri](https://togithub.com/raldhafiri)) Add gradient property to the [PieChartSectionData](https://togithub.com/imaNNeo/fl_chart/blob/main/repo_files/documentations/pie_chart.md#piechartsectiondata), [#​1511](https://togithub.com/imaNNeo/fl_chart/issues/1511) - **IMPROVEMENT** (by [@​imaNNeo](https://togithub.com/imaNNeo)) Rename default branch `master` to `main` - **IMPROVEMENT** (by [@​imaNNeo](https://togithub.com/imaNNeo)) Update flutter sdk constraints to remove the upper bound limit (Read more [here](https://dart.dev/go/flutter-upper-bound-deprecation)). ### [`v0.65.0`](https://togithub.com/imaNNeo/fl_chart/blob/HEAD/CHANGELOG.md#0650) [Compare Source](https://togithub.com/imaNNeo/fl_chart/compare/0.64.0...0.65.0) - **FEATURE** (by [@​Dartek12](https://togithub.com/Dartek12)) Added gradient to [FlLine](https://togithub.com/imaNNeo/fl_chart/blob/main/repo_files/documentations/base_chart.md#FlLine), [#​1197](https://togithub.com/imaNNeo/fl_chart/issues/1197) - **BUGFIX** (by [@​imaNNeo](https://togithub.com/imaNNeo)) Fix bar line shadow crash when we have only one (or zero) spot, [#​1466](https://togithub.com/imaNNeo/fl_chart/issues/1466) - **BUGFIX** (by [@​imaNNeo](https://togithub.com/imaNNeo)) Fix having negative `toY` (or positive `fromY`) in BarChart's `minY` and `maxY` calculations, [#​1470](https://togithub.com/imaNNeo/fl_chart/issues/1470) - **BUGFIX** (by [@​bobatsar](https://togithub.com/bobatsar)) Fix bars drawn outside of diagram - **FEATURE** (by [@​k0psutin](https://togithub.com/k0psutin)) Add dashed border to BarChartRodData, [#​1144](https://togithub.com/imaNNeo/fl_chart/issues/1144) - **FEATURE** (by [@​imaNNeo](https://togithub.com/imaNNeo)) Allow to show single point line in LineChart, [#​1438](https://togithub.com/imaNNeo/fl_chart/issues/1438) ### [`v0.64.0`](https://togithub.com/imaNNeo/fl_chart/blob/HEAD/CHANGELOG.md#0640) [Compare Source](https://togithub.com/imaNNeo/fl_chart/compare/0.63.0...0.64.0) - **BUGFIX** (by [@​Anas35](https://togithub.com/Anas35)) Fix Tooltip not displaying when value from BackgroundBarChartRodData is less than zero. [#​1345](https://togithub.com/imaNNeo/fl_chart/issues/1345). - **BUGFIX** (by [@​imaNNeo](https://togithub.com/imaNNeo)) Fix Negative BarChartRodStackItem are not drawn correctly bug, [#​1347](https://togithub.com/imaNNeo/fl_chart/issues/1347) - **BUGFIX** (by [@​imaNNeo](https://togithub.com/imaNNeo)) Fix bar_chart_helper minY calculation bug, [#​1388](https://togithub.com/imaNNeo/fl_chart/issues/1388) - **IMPROVEMENT** (by [@​imaNNeo](https://togithub.com/imaNNeo)) Consider fraction digits when formatting chart side titles, [#​1267](https://togithub.com/imaNNeo/fl_chart/issues/1267)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.81%. Comparing base (62c4fc6) to head (c3ba7c9).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3496 +/- ## ========================================== - Coverage 88.82% 88.81% -0.01% ========================================== Files 253 253 Lines 14121 14121 ========================================== - Hits 12543 12542 -1 - Misses 1578 1579 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.