Update dependency fl_chart to v1 #34
Open
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.
This PR contains the following updates:
^0.64.0→1.1.1Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
imaNNeo/fl_chart (fl_chart)
v1.1.1Compare Source
vector_mathdependency to2.2.0, #1985build_runner(dev) dependency to2.8.0mockito(dev) dependency to5.5.1very_good_analysis(dev) dependency to9.0.0v1.1.0Compare Source
gradientproperty inside ourBarChartRodStackItemto be able to render gradient (along with the possibility to render a solid color), #919sideTitleAlignmentproperty in ourAxisTitlesto allow you to control the alignment of side titles (for example show them inside the chart), #1946gradientAreaproperty toLineChartBarDatato allow you to control the scope of gradient effects, #1925labelandlabelStyleproperties in ourBarChartRodStackItemto allow you to show labels on each stack item, #598borderSidenow is a named parameter (instead of a optional positional parameter inBarChartRodStackItemconstructor. As it is a very minor breaking change, we decided to include it in this minor release (instead of doing a major release based on the semantic versioning. Sorry about that!So you just need to change this:
to this:
v1.0.0Compare Source
FEATURE (by @imaNNeo) Implement a new chart type called CandlestickChart. You can take a look at the documentation here. And I just implemented a basic example to show the Bitcoin price in 2024, you can take a look at it in our sample app here. #433, #1143

BREAKING (by @imaNNeo) Remove the deprecated
tooltipRoundedRadiusproperty -> you should usetooltipBorderRadiusinstead.BUGFIX (by @imaNNeo) Fix the BarChartData mismatch issue when changing the data, #1911
FEATURE (by @frybitsinc) Add fillGradient property in RadarDataSet
BREAKING (by @imaNNeo) Upgrade the min flutter version to
3.27.4. So please make sure that your project is not using an old flutter version, #1846IMPORTANT (by @imaNNeo) You can read more about this release and the history of fl_chart here in my blog post
v0.71.0Compare Source
BorderRadius tooltipBorderRadiusinstead of (deprecated)double tooltipRoundedRadiusinBarTouchTooltipData,LineTouchTooltipDataandScatterTouchTooltipData#1715childrenproperty in our RadarChartTitle, #1840v0.70.2Compare Source
xErrorandyErrorin the FlSpot ortoYErrorRangein BarChartRodData. Also we haveerrorIndicatorDataproperty in our LineChartData, BarChartData and ScatterChartData that is responsible to render the error bars. You can take a look at the LineChartSample 13 and BarChartSample 8 in our sample app, #1483v0.70.1Compare Source
panEnabledandscaleEnabledproperties in the TransformationController, #1818renderPriorityfeature in our ScatterSpot, #1545rotationQuarterTurnsproperty in our Axis-Based charts (such as LineChart, BarChart and ScatterChart). It allows you to rotate the chart 90 degrees (clockwise) in each turn. For example you can have Horizontal Bar Charts by settingrotationQuarterTurnsto 1 (which rotates the chart 90 degrees clockwise). It works exactly like RotatesBox widget, #113isMinValueAtCenterproperty in the RadarChart to allow the user to set the minimum value at the center of the chart, #1351, #1442TitleMetaparameter in theSideTitleWidgetinstead ofaxisSidev0.70.0Compare Source
FlTransformationConfigclass. You can now enable scaling and panning forLineChart,BarChartandScatterChartusing this classbar_chart_data_extensions_test.dart,gradient_extension_test.dartand fixed a typo inbar_chart_data.dartBarChartis not const anymore due to adding an assert to check if transformations are allowed depending on theBarChartData.alignmentproperty (read more here)v0.69.2Compare Source
v0.69.1Compare Source
durationandcurveproperties, #1618swapAnimationDurationandswapAnimationCurveproperties to usecurveanddurationinstead to keep the consistency over the project, #1618v0.69.0Compare Source
v0.68.0Compare Source
titleSunbeamLayoutinside the BarChartData to allow the user to customize the layout of the title sunbeamv0.67.0Compare Source
getTooltipColorwhich provides more customizability), checkout the full migration guide here.v0.66.2Compare Source
v0.66.1Compare Source
v0.66.0Compare Source
dotPainterproperty to ScatterSpot to allow customizing the dot painter, #568colorandradiusproperties from ScatterSpot (usedotPainterinstead), #568strokeWidthto 0.0mastertomainv0.65.0Compare Source
toY(or positivefromY) in BarChart'sminYandmaxYcalculations, #1470Configuration
📅 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 was generated by Mend Renovate. View the repository job log.