diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ee2b5187..28b154403 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ ## newVersion +* **IMPROVEMENT** (by @JoshMart) Remove references to deprecated `axisTitleData` property from code and docs, #1259, #1201 * **Improvement** (by @imaNNeo) Update LineChartSample6 to implement a way to show a tooltip on a single spot, #1620 ## 0.67.0 diff --git a/lib/src/chart/bar_chart/bar_chart_data.dart b/lib/src/chart/bar_chart/bar_chart_data.dart index 9a85a6328..e53170de6 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 02ffb9eb7..28ec600d3 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 a0dbe4572..9d9c7c39e 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 e98208c70..ec5766aeb 100644 --- a/repo_files/documentations/bar_chart.md +++ b/repo_files/documentations/bar_chart.md @@ -21,7 +21,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 2e953d76b..8e895dcff 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, The point is that you need to disable touches to show these tooltips manually|[]|