imaNNeo/fl_chart

axisTitleData missing in LineChartData

Open

#1,201 opened on Jan 8, 2023

View on GitHub
 (6 comments) (0 reactions) (0 assignees)Dart (1,964 forks)batch import
Line Chartenhancementgood first issue

Repository metrics

Stars
 (7,513 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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(),
      ),
    );
  }
}

Contributor guide