From 66fa62a4f3f11a74cee3ac45577a75b05f12ebbf Mon Sep 17 00:00:00 2001 From: Joshua Martinetti Date: Thu, 29 Feb 2024 20:08:28 -0600 Subject: [PATCH 1/2] Remove remaining references to axisTitleData from repo --- lib/src/chart/bar_chart/bar_chart_data.dart | 3 +-- lib/src/chart/line_chart/line_chart_data.dart | 3 +-- lib/src/chart/scatter_chart/scatter_chart_data.dart | 3 +-- repo_files/documentations/bar_chart.md | 1 - repo_files/documentations/scatter_chart.md | 1 - 5 files changed, 3 insertions(+), 8 deletions(-) diff --git a/lib/src/chart/bar_chart/bar_chart_data.dart b/lib/src/chart/bar_chart/bar_chart_data.dart index 7597e5714..a388b500d 100644 --- a/lib/src/chart/bar_chart/bar_chart_data.dart +++ b/lib/src/chart/bar_chart/bar_chart_data.dart @@ -20,8 +20,7 @@ class BarChartData extends AxisChartData with EquatableMixin { /// /// It draws some titles on left, top, right, bottom sides per each axis number, /// you can modify [titlesData] to have your custom titles, - /// also you can define the axis title (one text per axis) for each side - /// using [axisTitleData], you can restrict the y axis using [minX], and [maxY] values. + /// you can restrict the y axis using [minX], and [maxY] values. /// /// It draws a color as a background behind everything you can set it using [backgroundColor], /// then a grid over it, you can customize it using [gridData], diff --git a/lib/src/chart/line_chart/line_chart_data.dart b/lib/src/chart/line_chart/line_chart_data.dart index b09a1b029..3fec3100f 100644 --- a/lib/src/chart/line_chart/line_chart_data.dart +++ b/lib/src/chart/line_chart/line_chart_data.dart @@ -19,8 +19,7 @@ class LineChartData extends AxisChartData with EquatableMixin { /// /// It draws some titles on left, top, right, bottom sides per each axis number, /// you can modify [titlesData] to have your custom titles, - /// also you can define the axis title (one text per axis) for each side - /// using [axisTitleData], you can restrict the y axis using [minY] and [maxY] value, + /// you can restrict the y axis using [minY] and [maxY] value, /// and restrict x axis using [minX] and [maxX]. /// /// It draws a color as a background behind everything you can set it using [backgroundColor], diff --git a/lib/src/chart/scatter_chart/scatter_chart_data.dart b/lib/src/chart/scatter_chart/scatter_chart_data.dart index 5bb9c9d81..c360acad8 100644 --- a/lib/src/chart/scatter_chart/scatter_chart_data.dart +++ b/lib/src/chart/scatter_chart/scatter_chart_data.dart @@ -18,8 +18,7 @@ class ScatterChartData extends AxisChartData with EquatableMixin { /// /// It draws some titles on left, top, right, bottom sides per each axis number, /// you can modify [titlesData] to have your custom titles, - /// also you can define the axis title (one text per axis) for each side - /// using [axisTitleData], you can restrict the y axis using [minY] and [maxY] value, + /// you can restrict the y axis using [minY] and [maxY] value, /// and restrict x axis using [minX] and [maxX]. /// /// It draws a color as a background behind everything you can set it using [backgroundColor], diff --git a/repo_files/documentations/bar_chart.md b/repo_files/documentations/bar_chart.md index 37478cf53..e8bcab08d 100644 --- a/repo_files/documentations/bar_chart.md +++ b/repo_files/documentations/bar_chart.md @@ -23,7 +23,6 @@ When you change the chart's state, it animates to the new state internally (usin |groupsSpace| space between groups, it applies only when the [alignment](#BarChartAlignment) is `BarChartAlignment.start`, `BarChartAlignment.center` or `BarChartAlignment.end`|16| |alignment| a [BarChartAlignment](#BarChartAlignment) that determines the alignment of the barGroups, inspired by [Flutter MainAxisAlignment](https://docs.flutter.io/flutter/rendering/MainAxisAlignment-class.html)| BarChartAlignment.spaceBetween| |titlesData| check the [FlTitlesData](base_chart.md#FlTitlesData)|FlTitlesData()| -|axisTitleData| check the [FlAxisTitleData](base_chart.md#FlAxisTitleData)| FlAxisTitleData()| |rangeAnnotations| show range annotations behind the chart, check [RangeAnnotations](base_chart.md#RangeAnnotations) | RangeAnnotations()| |backgroundColor| a background color which is drawn behind the chart| null | |barTouchData| [BarTouchData](#bartouchdata-read-about-touch-handling) holds the touch interactivity details|BarTouchData()| diff --git a/repo_files/documentations/scatter_chart.md b/repo_files/documentations/scatter_chart.md index 084ee49ff..308661e0f 100644 --- a/repo_files/documentations/scatter_chart.md +++ b/repo_files/documentations/scatter_chart.md @@ -21,7 +21,6 @@ When you change the chart's state, it animates to the new state internally (usin |:---------------|:---------------|:-------| |scatterSpots| list of [ScatterSpot ](#ScatterSpot ) to show the scatter spots on the chart|[]| |titlesData| check the [FlTitlesData](base_chart.md#FlTitlesData)| FlTitlesData()| -|axisTitleData| check the [FlAxisTitleData](base_chart.md#FlAxisTitleData)| FlAxisTitleData()| |scatterTouchData| [ScatterTouchData](#scattertouchdata-read-about-touch-handling) holds the touch interactivity details| ScatterTouchData()| |showingTooltipIndicators| indices of showing tooltip|[]| From 84818eda441d7a6fc73e30228a61d46710b28961 Mon Sep 17 00:00:00 2001 From: Joshua Martinetti Date: Thu, 29 Feb 2024 20:27:49 -0600 Subject: [PATCH 2/2] Add change summary --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b175315be..9eebe0fcc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## newVersion +* **IMPROVEMENT** (by @JoshMart) Remove references to deprecated `axisTitleData` property from code and docs, #1259, #1201 + + ## 0.66.2 * **BUGFIX** (by @stwarwas) Remove dart.io to fix web platform issue, #1577