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

axisTitleData missing in LineChartData #1201

Open
M123-dev opened this issue Jan 8, 2023 · 6 comments
Open

axisTitleData missing in LineChartData #1201

M123-dev opened this issue Jan 8, 2023 · 6 comments
Labels
enhancement New feature or request good first issue Good for newcomers Line Chart

Comments

@M123-dev
Copy link

M123-dev commented Jan 8, 2023

In the doc for the LineChartData
as well as in the doc comment for it, the axisTitleData is mentioned.

But LineChartData has no axisTitleData, which probably should be there.

Code to reprouce

class Test extends StatelessWidget {
  const Test({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return LineChart(
      LineChartData(
        axisTitleData: AxisTitles(),
      ),
    );
  }
}
@imaNNeo
Copy link
Owner

imaNNeo commented Jan 15, 2023

You're right. We forgot to update the docs.

@imaNNeo imaNNeo added enhancement New feature or request good first issue Good for newcomers Line Chart labels Jan 15, 2023
@M123-dev
Copy link
Author

So there is no axisTitleData anymore?

@imaNNeo
Copy link
Owner

imaNNeo commented Jan 15, 2023

We restructured SideTitles. Please read 0.50.0 release note.
And also check the migration guide.

@M123-dev
Copy link
Author

Thanks for this quick answer @imaNNeoFighT 👍🏻

abdulahmad586 added a commit to abdulahmad586/fl_chart that referenced this issue Jun 3, 2023
Line chart data does not have axisTitleData, this is in response to this thread imaNNeo#1201
@abdulahmad586
Copy link
Contributor

In that case I will be updating the docs to remove axisTitleData. I have created a pull request.

@imaNNeo
Copy link
Owner

imaNNeo commented Jun 8, 2023

Great! Thank you.

imaNNeo pushed a commit that referenced this issue Jun 8, 2023
Line chart data does not have axisTitleData, this is in response to this thread #1201
MagdyYacoub1 pushed a commit to MagdyYacoub1/fl_chart that referenced this issue Jun 12, 2023
Line chart data does not have axisTitleData, this is in response to this thread imaNNeo#1201
Gentlemen726 added a commit to Gentlemen726/flutter-graph-project that referenced this issue Mar 11, 2024
Line chart data does not have axisTitleData, this is in response to this thread imaNNeo/fl_chart#1201
OlehSv pushed a commit to Oleh-Sv/fl_chart that referenced this issue May 14, 2024
Line chart data does not have axisTitleData, this is in response to this thread imaNNeo#1201
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers Line Chart
Projects
None yet
Development

No branches or pull requests

3 participants