Skip to content
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

Bump version to 0.55.0 #1067

Merged
merged 1 commit into from
Jun 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
## newVersion
## 0.55.0
* **FEATURE** (by @emelinepal): Add `tooltipBorder` property in [LineTouchTooltipData], [BarTouchTooltipData], [ScatterTouchTooltipData], #692.
* **BUGFIX** (by @imaNNeoFighT): Fix tooltip issue on negative bar charts, #978.
* **IMPROVEMENT** (by @imaNNeoFighT): Use Container to draw axis-based charts border.
* **FEATURE** (by @FlorianArnould) Add the ability to select the RadarChart shape (circle or polygon), #1047.
* **BUGFIX** (by @imaNNeoFighT): Fix LineChart titles problem with single FlSpot, #1053.
* **FEATURE** (by @FlorianArnould) Add the ability to rotate the RadarChar titles, #883.
* **BREAKING** (by @FlorianArnould) [RadarChartData.getTitle](https://github.com/imaNNeoFighT/fl_chart/blob/master/repo_files/documentations/radar_chart.md#RadarChartData) have a new parameter `angle` and now returns a [RadarChartTitle](https://github.com/imaNNeoFighT/fl_chart/blob/master/repo_files/documentations/radar_chart.md#RadarChartTitle) instead of a simple `string`. (Read our [Migration Guide](https://github.com/imaNNeoFighT/fl_chart/blob/master/repo_files/documentations/migration_guides/0.50.0/MIGRATION_NEW_VERSION.md) to learn more about it)
* **BREAKING** (by @FlorianArnould) [RadarChartData.getTitle](https://github.com/imaNNeoFighT/fl_chart/blob/master/repo_files/documentations/radar_chart.md#RadarChartData) have a new parameter `angle` and now returns a [RadarChartTitle](https://github.com/imaNNeoFighT/fl_chart/blob/master/repo_files/documentations/radar_chart.md#RadarChartTitle) instead of a simple `string`. (Read our [Migration Guide](https://github.com/imaNNeoFighT/fl_chart/blob/master/repo_files/documentations/migration_guides/0.55.0/MIGRATION_00_55_00.md) to learn more about it)

## 0.51.0
* **FEATURE** (by @imaNNeoFighT): Add `SideTitleWidget` to help you use it in [SideTitles.getTitlesWidget]. It's a wrapper around your widget. It keeps your provided `child` widget close to the chart. It has `angle` and `space` properties to handle margin and rotation. There is a `axisSide` property that you should fill, it has provided to you in the MetaData object. Check the below sample:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: fl_chart
description: A powerful Flutter chart library, currently supporting Line Chart, Bar Chart and Pie Chart.
version: 0.51.0
version: 0.55.0
homepage: https://github.com/imaNNeoFighT/fl_chart

environment:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
We added the ability to customize the rotation angles of the RadarChart titles.
To do that we add to break one thing and added a new type.

<img src="https://github.com/imaNNeoFighT/fl_chart/raw/master/repo_files/documentations/migration_guides/new_version/attachments/radar_chart_sample_1.gif" width="300" >
<img src="https://github.com/imaNNeoFighT/fl_chart/raw/master/repo_files/documentations/migration_guides/0.55.0/attachments/radar_chart_sample_1.gif" width="300" >

**Breaking:**

Expand Down Expand Up @@ -51,7 +51,7 @@ If you take the provided `angle` and forward it to the [RadarChartTitle] it will
But you can now render all the titles horizontally by avoiding the [RadarChartTitle.angle] prop (`0` by default).

Apply a relative angle, for example: `RadarChartTitle(text: 'Desktop', angle: angle + 90);`
<img src="https://github.com/imaNNeoFighT/fl_chart/raw/master/repo_files/documentations/migration_guides/new_version/attachments/radar_chart_sample_2.png" width="300" >
<img src="https://github.com/imaNNeoFighT/fl_chart/raw/master/repo_files/documentations/migration_guides/0.55.0/attachments/radar_chart_sample_2.png" width="300" >

or an absolute angle, for example: `RadarChartTitle(text: 'Desktop', angle: 90);`
<img src="https://github.com/imaNNeoFighT/fl_chart/raw/master/repo_files/documentations/migration_guides/new_version/attachments/radar_chart_sample_3.png" width="300" >
<img src="https://github.com/imaNNeoFighT/fl_chart/raw/master/repo_files/documentations/migration_guides/0.55.0/attachments/radar_chart_sample_3.png" width="300" >
4 changes: 3 additions & 1 deletion repo_files/documentations/migration_guides/INDEX.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Here are fl_chart's migration guides:

#### [Migrate to 0.50.0](https://github.com/imaNNeoFighT/fl_chart/blob/master/repo_files/documentations/migration_guides/0.50.0/MIGRATION_00_50_00.md)
#### [Migrate to 0.50.0](https://github.com/imaNNeoFighT/fl_chart/blob/master/repo_files/documentations/migration_guides/0.50.0/MIGRATION_00_50_00.md)

#### [Migrate to 0.55.0](https://github.com/imaNNeoFighT/fl_chart/blob/master/repo_files/documentations/migration_guides/0.55.0/MIGRATION_00_55_00.md)