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

Remove remaining axisTitleData references #1596

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 1 addition & 2 deletions lib/src/chart/bar_chart/bar_chart_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down
3 changes: 1 addition & 2 deletions lib/src/chart/line_chart/line_chart_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down
3 changes: 1 addition & 2 deletions lib/src/chart/scatter_chart/scatter_chart_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down
1 change: 0 additions & 1 deletion repo_files/documentations/bar_chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()|
Expand Down
1 change: 0 additions & 1 deletion repo_files/documentations/scatter_chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -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|[]|

Expand Down