Skip to content

Commit

Permalink
Bump version to 0.55.0
Browse files Browse the repository at this point in the history
  • Loading branch information
imaNNeo committed Jun 17, 2022
1 parent 4f7f98c commit 2837403
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 7 deletions.
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)

0 comments on commit 2837403

Please sign in to comment.